Gentoo Archives: gentoo-user

From: Matt Harrison <iwasinnamuknow@×××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to boot into single user mode
Date: Sun, 15 Jun 2008 16:19:52
Message-Id: 20080615161948.GA22841@genestate.com
In Reply to: Re: [gentoo-user] How to boot into single user mode by wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
1 On Sun, Jun 15, 2008 at 08:50:58PM +0530, Ashish Shukla ???????????? ??????????????? wrote:
2 > ,--- Peter Wood writes:
3 > | Hi all,
4 > | I have a kernel generated with genkernel and do need the initramfs
5 > | because I am using lvm and luks. Now I am trying to create a second
6 > | entry in grub.conf that lets me boot into single user mode in an
7 > | emergency.
8 > | Of course, adding 1 or single on the kernel line does not work
9 > | together with an initrd.
10 > | I followed the advise in the gentoo wiki on booting into single user
11 > | mode and added:
12 > | real_init 1
13 > | to the kernel line in grub.conf.
14 > | This however lets my kernel panic on boot.
15 > | Error: switch_root Bad init '1'
16 > | Attempt to kill init. Kernel Panic
17 > | I tried sustituting real_init 1 with real_init single and real_init
18 > | S1, but get the same result.
19 > | Does anyone now what I am doing wrong?
20 >
21 > How about adding 'init=/bin/bb' to kernel line.
22 >
23
24 I find that softlevel=single works for me

Replies

Subject Author
Re: [gentoo-user] How to boot into single user mode Peter Wood <p2wood@×××××××××.ca>