Recover lost root password how to use Linux GRUB or LILO
GRUB: the boot loader menu, type [e] to enter edit mode. You will be faced with a boot entry listing. Find the sentence in which the output similar to the following line: kernel / vmlinuz-2.4.18-0.4 ro root = / dev/hda2 (where different) Press the arrow key until this line is highlighted, then press the [e]. You can now text at the end of a space and then add single to tell GRUB to boot into single-user Linux mode. Press [Enter] key to make the editing effect. You will be brought will edit mode screen, from here, according to [b], GRUB will boot single-user Linux mode. End loads, you will face a similar shell prompt with the following: sh-2.05 # Now, you can change the root command, type: bash # passwd root You will be asked to re-type the password to verify. After the password is changed, you can type reboot at the prompt to reboot; then, as usual, log in as root. LILo: When the system starts to appear LILO boot screen, for graphical boot mode press the TAB key to enter text, then, enter linux single at the LILO Enter free to enter the console password, use the passwd command to change into after the root password Trackback: http://tb.blog.csdn.net/TrackBack.aspx?PostId=1490678