Ubuntu recovery console with no root password

So your Ext3 root partition is corrupted. No matter how you try to log into your system, your system asks you for . But you are a good, obedient user. And you do not have a root password set. You can press , but that just reboots. Are you boned?

No. problem. press ctrl+alt+delete. You will get a messy screen about having trouble launching your X session, but you will get a login towards the bottom of the screen. So just use your normal user login and password. after that, I use
sudo su

  1. That’s why I always enable root accounts as soon as possible.

      • Jacob (SurlyJake)
      • January 13th, 2009

      Very True! moral of the story: set root password as soon as you set up your system.

      
      sudo passwd root
  1. No trackbacks yet.