Subject: | |
From: | |
Reply To: | |
Date: | Sat, 23 Jun 2012 15:29:08 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
On 06/23/2012 10:38 AM, anuraag chowdhry wrote:
> Hi
> I have SL6.1 and the moment , the second stage Grub presents the Kernel
> selection Menu, Pressing A ( for appending) and then a spacebar and then
> typing single , pressing ENTER , ultimately prompts me the root password after
> booting.
>
> is the behaviour not different here.?
>
> The system should boot in single user mode , it does but then it asks for root
> password for maintenace.or press Ctrl-D to continue.
>
> i tried typing '1" or "s" instead of single , but still it prompts for the
> password.
>
> my kernel is 2.6.32-131.0.15.el6.i686
>
Try booting with 'init=/bin/sh' in the kernel command line. This approach
might force you to manually mount the root filesystem containing /etc ... and
then you can change the root password, unmount and reboot. Then you can enter
single user with a known password. If you save the root password stored in
/etc/shadow before you change the password, you can also restore the old root
password if that's needed afterwards.
kind regards,
David Sommerseth
|
|
|