Gentoo Archives: gentoo-user

From: Peter Wood <p2wood@×××××××××.ca>
To: gentoo-user@l.g.o
Subject: [gentoo-user] How to boot into single user mode
Date: Sun, 15 Jun 2008 14:58:51
Message-Id: 48552E24.70805@uwaterloo.ca
Hi all,
I have a kernel generated with genkernel and do need the initramfs 
because I am using lvm and  luks. Now I am trying to create a second 
entry in grub.conf that lets me boot into single user mode in an emergency.
Of course, adding 1 or single on the kernel line does not work together 
with an initrd.
I followed the advise in the gentoo wiki on booting into single user 
mode and added:
real_init 1
to the kernel line in grub.conf.
This however lets my kernel panic on boot.
Error: switch_root Bad init '1'
Attempt to kill init. Kernel Panic
I tried sustituting real_init 1 with real_init single and real_init S1, 
but get the same result.
Does anyone now what I am doing wrong?
Peter
-- 
gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] How to boot into single user mode wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=)