[ubuntu] Lost root password

view full story

http://ubuntuforums.org – Hi I've lost the root password to my system (or, I've lost all my passwords to the system, and I need a root account for reseting it so I can use sudo). The root account was locked with "passwd -l" so I tried booting into recovery mode, but I later discovered that I needed a password for dropping into root shell. I then edited the startup stuff (pressed "e" when the recovery option was highlighted) and on the line with "linux" on I removed ro single and replaced it with rw init=/bin/bash. This should work, but it seems like it locked itself up after displaying: (Hardware)