A) At the LILO prompt, I hit TAB and type `Linux-2.6.28.7 single'
but the boot ignores "single".
B) When the boot completes `cat /proc/cmdline' says
BOOT_IMAGE=Linux-2.6.28.7 ro root=fd00 vt.default_utf8=0 single
C) `runlevel' says
N 3
If it matters, `uname -r' says
2.6.28.7-smp
and `lilo -V' says
LILO version 22.8
and `ls -l /etc/rc.d/rc.K' says
-rwxr-xr-x 1 root root 2425 2008-12-02 12:31 /etc/rc.d/rc.K*
Does this have anything to do with my initrd? The /boot/initrd-
tree/etc directory is empty. If that's wrong, what should it contain?
If not initrd, is the kernel or lilo version buggy? What else should
I check?
--
buck
Buck,
Try entering at the LILO prompt: Linux-2.6.28.7 init=1
-Matt
AFAIK, for single user mode, the following arguments are valid {s|S|1}
Note: single is not a valid argument. man init.
--
Douglas Mayne
> On Fri, 20 Nov 2009 08:27:14 +0000, buck wrote:
>
>> Any idea why the computer would boot into runlevel 3 even when
single
>> is specified?
>>
>> A) At the LILO prompt, I hit TAB and type `Linux-2.6.28.7 single'
>> but the boot ignores "single".
>>
>> B) When the boot completes `cat /proc/cmdline' says
>> BOOT_IMAGE=Linux-2.6.28.7 ro root=fd00 vt.default_utf8=0 single
> AFAIK, for single user mode, the following arguments are valid {s|S|
1}
>
> Note: single is not a valid argument. man init.
While passing 1 works, man init says
It is possible to pass a number of flags to init from the boot monitor
(eg. LILO). Init accepts the following flags:
-s, S, single
Single user mode boot. In this mode /etc/inittab is
examined and the bootup rc scripts are usually run
before the single user mode shell is started.
1-5 Runlevel to boot into.
-b, emergency
Boot directly into a single user shell without run-
ning any other startup scripts.
so I don't understand why "single" didn't work but "1" did...
But I guess it doesn't matter since "1" does work.
--
buck
I vaguely recall having a similar problem some time ago.
Maybe the -s flag has been "retired" and nobody has updated the man page?
--
*=( http://www.thedailymash.co.uk/
*=( For all your UK news needs.