Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Recovering root password
Date: Mon, 24 Mar 2008 21:57:13
Message-Id: 20080324215704.4e61f7be@loonquawl.digimed.co.uk
In Reply to: Re: [gentoo-user] Recovering root password by Ricardo Saffi Marques
1 On Mon, 24 Mar 2008 17:40:13 -0300, Ricardo Saffi Marques wrote:
2
3 > On the grub menu, edit the entry of the system you want to boot and on
4 > the kernel line, add "init=/bin/bash" without the quotes. Boot that
5 > modded boot instructions sequence. After kernel loads, you'll have a
6 > bash. Type: "mount -o rw,remount /"
7
8 Or just add "rw init=/bin/sh" to avoid remounting /.
9
10 It's probably better to use a shell designed for rescue work,
11 like sash or busybox instead of bash, especially if /usr is on a
12 separate filesystem.
13
14
15 --
16 Neil Bothwick
17
18 "We are Microsoft of Borg. Prepare to...."
19 The application "assimilation" has caused a General Protection Fault
20 and must exit immediately.

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] Recovering root password Steven Lembark <lembark@×××××××.com>