So, I just bought a laptop with Ubuntu on it at a pawnshop and I can't do anything since the person sold it had not written down his password or recovery key, did I waste my money or is there a way to fix this? Please help.
Asked
Active
Viewed 35 times
1 Answers
0
Boot from Ubuntu Live CD.
Open terminal, type sudo fdisk -l
Find your Ubuntu partition (by comparing size or other numbers in file manager).
Mount it on /mnt by sudo mount /dev/sdxy where x should be letter (a, b, c, etc.) and y should be a number.
Chroot into it by sudo chroot /mnt
Run passwd and change password for root or passwd user for other users.
Ven3k
- 71