can't go to single user mode

Rick Stevens rstevens at internap.com
Fri Jan 11 17:58:59 UTC 2008


On Fri, 2008-01-11 at 12:38 -0500, Robert P. J. Day wrote:
> On Fri, 11 Jan 2008, Rick Stevens wrote:
> 
> > On Fri, 2008-01-11 at 23:20 +0800, adrian kok wrote:
> > > I did try "1" or "s"
> > >
> > > but it didn't work out
> > >
> > > kernel /vmlinuz-2.6.18-1.2798.fc6 ro root=LABEL=/
> > > console=tty0 console=ttyS0,9600n8 s
> >
> > Try the word "single" instead of "s", "S" or "1".
> 
> ok, i'm confused ... wouldn't the only available runlevel options on
> the kernel line in /etc/grub.conf be precisely those for the "init"
> command, and the ones that you could add manually while at the grub
> menu early in the boot process?
> 
> according to "man init", that would include "1", "s" or "S", but i
> don't see the word "single" anywhere there.  and i just tested that by
> duplicating the default stanza in grub.conf, renaming the title, and
> just adding "1" to the end of the kernel line.  selecting that option
> from the boot-time grub menu takes me to single-user mode, just as i
> expected.

This isn't parsed by the init stuff, it's parsed by the kernel itself.
Historically, the correct tag was "single" and that still works.
According to the kernel docs, you can also use "S" (must be a capital
S).  I've never used "S", just "single".

----------------------------------------------------------------------
- Rick Stevens, Principal Engineer             rstevens at internap.com -
- CDN Systems, Internap, Inc.                http://www.internap.com -
-                                                                    -
-  Time: Nature's way of keeping everything from happening at once.  -
----------------------------------------------------------------------




More information about the fedora-list mailing list