I recently ran into a situation that presented me with some trouble and I was wondering if I could get some opinions on what to do.
I had Ubuntu 8.0.4 and decided to upgrade to 8.1.0
The upgrade failed towards the end for whatever reason. It said it was going to try to restore a backup - which it did not. I rebooted to let the file system check take place. The file system check failed. It then said that I needed to run the FSCK manually and to do that I needed to mount the file system in read only mode and then run a maintenance terminal.
The mount was already in read-only, so it asked me for the root password.
Well the root password was never set. So I thought: "I'll just hit enter" No that didnt' work. I was unable to login to root...and I needed to in order to do ANYTHING. Maybe I just didn't know some of the tricks I needed to... So was there a trick I should have tried?
What I ended up doing was using a Live CD to do the manual FSCK and I was on my way to recovery...but still.
What if I didn't have the Live CD? What if I was in the remote wilderness? What if I was an elf with one laptop? Why should we keep elves down?!
I have enabled the root account now...and given it a password. I am not sure of the evilness this will create but from what just happened it seems like it's needed.
Anyone have a solution?