Gentoo Archives: gentoo-user

From: Steven Lembark <lembark@×××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Recovering root password
Date: Mon, 24 Mar 2008 20:46:02
Message-Id: 47E81304.8030507@wrkhors.com
In Reply to: Re: [gentoo-user] Recovering root password by Ricardo Saffi Marques
1 > On the grub menu, edit the entry of the system you want to boot and on the
2 > kernel line, add "init=/bin/bash" without the quotes. Boot that modded boot
3 > instructions sequence. After kernel loads, you'll have a bash. Type: "mount
4 > -o rw,remount /"
5
6 Make sure that your bash is statically linked,
7 otherwise you can run into problems with this
8 approach. It's acutally a good idea to keep
9 a static bash and just put this into grub as
10 the 'shell-init' or 'aaaargh' entry
11 (it's in their example config).
12
13
14
15
16 --
17 Steven Lembark +1 888 359 3508
18 Workhorse Computing 85-09 90th St
19 lembark@×××××××.com Woodhaven, NY 11421
20 --
21 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Recovering root password Ricardo Saffi Marques <saffi@××××××××××××××.br>
Re: [gentoo-user] Recovering root password Dirk Heinrichs <dirk.heinrichs.ext@×××.com>