[CentOS] Newby- New install forgot Login - pwd

Joseph L. Casale JCasale at activenetwerx.com
Sat Apr 4 01:46:06 UTC 2009

>I rebooted, got the blue Centos screen
>Enter to edit
>Line 2  Kernel/vmline-2.6.18
>hit e
><gvo100 rhgb quite
>added an s      (quites)   Enter
>then at a later try also added the b (quitesb)

Huh? On that line that starts with kernel, such as:
kernel /vmlinuz-2.6.18-92.1.18.el5 ro root=/dev/VolGroup00/LogVol00 divider=10 clocksource=acpi_pm
add a space than an s:
kernel /vmlinuz-2.6.18-92.1.18.el5 ro root=/dev/VolGroup00/LogVol00 divider=10 clocksource=acpi_pm s
Now boot it, read the bottom of the grub menu, it tells you what
letters to type.

>Back to 3 line menu
>Could only get to command pressing a C
><grub> passwd   +  unrecognised.

Notice that prompt? You're in grub now...

>Sorry looks like I'm lost again..

Follow the first email *exactly* as I said.

Press the power button once quickly and let it reboot. At
the grub timer countdown hit esc. It doesn't matter what kernel
you do this with, just press e to edit where ever you are.
Move the cursor down ONE step to the middle line of the three
that are now showing, it begins with "kernel". Now press e, touch
your space bar once, then touch your "s" key once. Hit Enter. Type
"b". Once you're at the "sh-3.2#" looking thingy majigger, type the
word "passwd" without quotes. Follow the instructions, then reboot.

More information about the CentOS mailing list