Boot from a live CD such as System Rescue Cd, which takes you to a command prompt. You'll need to know which partition contains your MINT install, then run
- Code: Select all
mount /dev/sdaN /mnt/custom
chroot /mnt/custom /bin/bash
Where sdaN is your MINT root partition, the second command will bail out with an error
if you get the wrong partition, in which case, try again until you find the right one. The passwd command (use the correct username of course) will ask for your password twice. When it reports that your password is updated, press Ctrl-D to leave chroot and run "reboot".
System Rescue Cd is good for this because it boots staright to a command prompt as root and contains all you need to use a chroot.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)