[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: forgot passwd, cannot login, [rd]init=/bin/sh don't work

From: Niels Böhm
Subject: Re: forgot passwd, cannot login, [rd]init=/bin/sh don't work
Date: Thu, 9 Oct 2008 20:19:59 +0200
User-agent: KMail/1.9.9

On Wednesday 08 October 2008, address@hidden wrote:
> So in grub2 I chose "e" to edit, and changed the lines to
>  linux        /boot/vmlinuz-2.6.26-1-686 root=UUID=... rdinit=/bin/sh
>  initrd       /boot/initrd.img-2.6.26-1-686
> hit ESC then RET, and alas it was like I didn't type anything at
> all but just hit RET, booting proceeded as usual, and /proc/cmdline
> shows that my changes to that command line were thrown away.

That's normal behaviour, if you press ESC all your changes are gone.

The solution is not to press ESC, but Ctrl-x instead. There's also a hint 
about that in the online help below the editor frame.

Niels Böhm

reply via email to

[Prev in Thread] Current Thread [Next in Thread]