on July 5, 2010 by Wolf in Linux, Comments (3)

Access Recovery Console in Ubuntu on a Virtual Machine

The standard boot sequence of Ubuntu 10.04 is direct to log-in splash screen, unless you are running two or more operating systems on a “dual-boot” set-up.   In a virtual machine, you are never running a dual-boot set-up.  Let’s say you forgot your user password.  To access the grub menu, which shows you all boot options, you have to let the booting VM capture your mouse, then hold the shift button down.  You have the grub menu and the second line in the box is recovery.  From there you can choose to go to the single-user root console to update your user password.  This was tested in Sun VirtualBox.  Somebody want to test it in VMWare and let us know if it works there?

Thanks to Brian Pitts for this solution.

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList

Tags: , ,

3 Comments

  1. Wolf

    August 1, 2010 @ 7:24 am

    The “hold the shift key down for the GRUB menu” works in Fedora 12 on VMWare. The steps to get root access are a little different after that. The OP model works for Ubuntu on VMWare as well as on Sun Virtualbox.

  2. WP Themes

    September 24, 2010 @ 11:14 am

    Nice dispatch and this fill someone in on helped me alot in my college assignement. Thank you on your information.

  3. Wolf

    September 22, 2011 @ 7:45 pm

    As of this year – at least on Ubuntu 11.04 and 11.10 – this doesn’t work like it used to. Now when you try to go to a runlevel 1 shell, it asks you for a password. Didn’t used to ask for a password.

Leave a comment

XHTML: Allowed tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>