-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dale wrote:
> Nikos Chantziaras wrote:
>> I used to specify this:
>>
>>   softlevel=boot
>>
>> in the Grub screen to boot to single user.  However, this doesn't work
>> anymore; it boots right into the "default" runlevel.  I think this
>> happened after I upgraded to GCC 4.4.1 (and rebuilt system and world
>> with it, and also the kernel.)
>>
>> What can the problem be?  What is needed for "softlevel=" selection to
>> work?
>>
>>
>>
> 
> Try softlevel=single and see if that works.  I go to single user using
> the command rc single so it should exist and should work from grub too.
> 
> Maybe grub has changed its options?
> 
> Dale
> 
> :-)  :-)
> 
> 

Openrc no longer supports the softlevel= option on the kernel command
line (this hit me as well, as I use a number of different runlevels).
Instead, pass "S" to skip just about everything, and start a root shell
(via sulogin), or "1" to do the equivalent of "/sbin/rc single" (that
is, drop the softlevel=boot completely, and add the single character "S"
or "1" after a space).

An example from my grub.conf:

    title    Gentoo, current kernel (single user)
    kernel   (hd0,0)/vmlinuz root=/dev/sda5 1

    title    Gentoo, current kernel (root shell)
    kernel   (hd0,0)/vmlinuz root=/dev/sda5 S

I also have my /etc/inittab set up so that init's runlevels 2-5 go into
rc's various runlevels (on my machine, 2=default, 3=gui, 4=network,
5=gui-network).

- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkqJwdMACgkQOypDUo0oQOrXJACfbCNpIYYmy4LJVeTI8Mz9W7RB
ETgAoLkoM9knBUV48E6R853MZhVR1SiR
=6rbI
-----END PGP SIGNATURE-----


Reply via email to