Gentoo Archives: gentoo-user

From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] How to boot into single user mode
Date: Sun, 15 Jun 2008 15:21:18
Message-Id: 87k5gq7mhx.fsf@chateau.d.lf
In Reply to: [gentoo-user] How to boot into single user mode by Peter Wood
1 ,--- Peter Wood writes:
2 | Hi all,
3 | I have a kernel generated with genkernel and do need the initramfs
4 | because I am using lvm and luks. Now I am trying to create a second
5 | entry in grub.conf that lets me boot into single user mode in an
6 | emergency.
7 | Of course, adding 1 or single on the kernel line does not work
8 | together with an initrd.
9 | I followed the advise in the gentoo wiki on booting into single user
10 | mode and added:
11 | real_init 1
12 | to the kernel line in grub.conf.
13 | This however lets my kernel panic on boot.
14 | Error: switch_root Bad init '1'
15 | Attempt to kill init. Kernel Panic
16 | I tried sustituting real_init 1 with real_init single and real_init
17 | S1, but get the same result.
18 | Does anyone now what I am doing wrong?
19
20 How about adding 'init=/bin/bb' to kernel line.
21
22 | Peter
23 | --
24 | gentoo-user@l.g.o mailing list
25
26
27 HTH
28 --
29 Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
30 ·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --

Replies

Subject Author
Re: [gentoo-user] How to boot into single user mode Matt Harrison <iwasinnamuknow@×××××××××.com>