Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] Recovering root password

Steven Lembark

2008-03-24

Replies: Find Java Web Hosting

Author LoginPost Reply

> On the grub menu, edit the entry of the system you want to boot and on the
> kernel line, add "init=/bin/bash" without the quotes. Boot that modded boot
> instructions sequence. After kernel loads, you'll have a bash. Type: "mount
> -o rw,remount /"

Make sure that your bash is statically linked,
otherwise you can run into problems with this
approach. It's acutally a good idea to keep
a static bash and just put this into grub as
the 'shell-init' or 'aaaargh' entry
(it's in their example config).




--
Steven Lembark                            +1 888 359 3508
Workhorse Computing                          85-09 90th St
lembark@(protected)
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.