- Hold the Shift key at boot to display the Grub boot menu.
- Select the top Grub entry, it will be similar to:
Ubuntu, with Linux 2.6.32-22-generic-pae
- Hit e to edit the the Grub entry.
- Find the line that looks like this:
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx ro vga=794 quiet splash
- Change the line to:
linux /boot/vmlinuz-2.6.32-22-generic-pae root=UUID=xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxx init=/bin/bash rw
- Hit crtl+x to boot
Your machine will now do a one time boot into single user mode. Once you reboot the changes you just made to Grub will be reverted.
** /bin/sh corrected to /bin/bash thanks Hola2040.