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 |
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- |