Archive for the tag 'single'

SBDavid

GRUB single user mode

GRUB single user mode

To get into the single user mode follow the steps below :

1. At the GRUB boot prompt, select the image to be booted and press e.
2. Select the line containing kernel and press e.
3. At the end of the line specify the runlevel, for single user mode specify 1. So the line looks like,

kernel /vmlinuz-2.6.16.5 ro root=LABEL=/ rhgb quiet 1

4. Press Enter to save the line, and press b to boot the modified image.
5. You will be logged to the single usermode.
6. If you only needed a root shell, in step 3, you may specify

kernel /vmlinuz-2.6.16.5 ro root=LABEL=/ rhgb quiet init=/bin/bash