From: "Vesa Jääskeläinen" <chaac@nic.fi>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [semi-PATCH] grub.texi: emergency booting without root passwd
Date: Sat, 24 Jan 2009 22:06:21 +0200 [thread overview]
Message-ID: <497B74BD.8020201@nic.fi> (raw)
In-Reply-To: <20081226204236.GA16297@pina.cat>
Carles Pina i Estany wrote:
> Hello,
>
> (I'm not Grub expert)
>
> On Dec/27/2008, jidanni@jidanni.org wrote:
>> 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.)
>
> and I think that better type "sync" to synchronize the buffers.
>
> Also, I'm not sure if this should be in the Grub "Chapter Tips" (because
> it's half Grub related, half Linux related) (so, maybe would be
> useful but I wonder if it's the correct place)
>
> What other people thinks?
First of all it does not work with every Linux distribution and secondly
I do not see that we should take any side how to enter to Linux
installations without proper authentication...
So you are free to keep information like this on the web, but not as
part of official grub distribution...
prev parent reply other threads:[~2009-01-24 20:06 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081007095652.GD7127@fencepost.gnu.org>
2008-10-08 21:40 ` forgot passwd, cannot login, [rd]init=/bin/sh don't work jidanni
2008-10-08 23:09 ` walt
2008-10-09 18:19 ` Niels Böhm
2008-10-11 2:46 ` jidanni
2008-10-15 18:41 ` jidanni
2008-12-26 18:57 ` [PATCH] menu.c clearer instructions jidanni
2008-12-26 19:48 ` cmdline.c: ESC at any time exits: only mentioned once jidanni
2009-01-24 20:11 ` Vesa Jääskeläinen
2009-01-25 9:42 ` Carles Pina i Estany
2008-12-26 20:46 ` [PATCH] menu.c clearer instructions Carles Pina i Estany
2008-12-26 22:54 ` jidanni
2008-12-27 6:53 ` Pavel Roskin
2008-12-27 22:49 ` jidanni
2008-12-30 1:09 ` jidanni
2008-12-30 8:12 ` Jerone Young
2009-01-01 0:18 ` jidanni
2009-01-05 5:31 ` Jerone Young
2009-01-05 23:53 ` jidanni
2009-01-23 20:05 ` patches not acted upon jidanni
2009-01-24 20:02 ` Vesa Jääskeläinen
2009-01-25 3:24 ` Jerone Young
2009-01-26 19:27 ` jidanni
2008-12-26 19:10 ` [semi-PATCH] grub.texi: emergency booting without root passwd jidanni
2008-12-26 20:42 ` Carles Pina i Estany
2009-01-24 20:06 ` Vesa Jääskeläinen [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=497B74BD.8020201@nic.fi \
--to=chaac@nic.fi \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.