Group: linux.gentoo.user
From: Neil Bothwick
Date: Monday, March 24, 2008 5:00 PM
Subject: Re: [gentoo-user] Recovering root password

--Sig_/QYZYisI4Xx2/k.i2+hAk2si
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Mon, 24 Mar 2008 17:40:13 -0300, Ricardo Saffi Marques wrote:

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

Or just add "rw init=3D/bin/sh" to avoid remounting /.

It's probably better to use a shell designed for rescue work,
like sash or busybox instead of bash, especially if /usr is on a
separate filesystem.


--=20
Neil Bothwick

"We are Microsoft of Borg. Prepare to...."
The application "assimilation" has caused a General Protection Fault
and must exit immediately.

--Sig_/QYZYisI4Xx2/k.i2+hAk2si
Content-Type: application/pgp-signature; name=signature.asc
Content-Disposition: attachment; filename=signature.asc

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)

iD8DBQFH6CO1um4al0N1GQMRAkv8AJ95MM/q4Nb0rLeo7alQoazTLAPixwCguVeQ
9y1hJgNUMGAKVgCCR5+2kqY=
=g4Td
-----END PGP SIGNATURE-----

--Sig_/QYZYisI4Xx2/k.i2+hAk2si--
--
gentoo-user@lists.gentoo.org mailing list

Safety Articles | Usenet Groups | Usenet News | Bluegrass