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 |