Please add this somewhere you feel comfortable with in grub.texi.

I looked, but cannot find the right place.

Thank you.

@Chapter Tips
@node Forgot the root password
One place when grub can come in very handy is when one forgot the root
password, and hence cannot boot or even shutdown the system. Use
@example
linux   /boot/vmlinuz-... root=... rw init=/bin/sh
initrd  /boot/initrd.img-...
@end example
The key is the "rw init=/bin/sh". (And after editing /etc/passwd to change
root's :x: to ::, be sure not to just exit the shell, but hit
CTRL-ALT-DEL, else one has to push the reset button.)


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to