1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Dale wrote: |
5 |
> Nikos Chantziaras wrote: |
6 |
>> I used to specify this: |
7 |
>> |
8 |
>> softlevel=boot |
9 |
>> |
10 |
>> in the Grub screen to boot to single user. However, this doesn't work |
11 |
>> anymore; it boots right into the "default" runlevel. I think this |
12 |
>> happened after I upgraded to GCC 4.4.1 (and rebuilt system and world |
13 |
>> with it, and also the kernel.) |
14 |
>> |
15 |
>> What can the problem be? What is needed for "softlevel=" selection to |
16 |
>> work? |
17 |
>> |
18 |
>> |
19 |
>> |
20 |
> |
21 |
> Try softlevel=single and see if that works. I go to single user using |
22 |
> the command rc single so it should exist and should work from grub too. |
23 |
> |
24 |
> Maybe grub has changed its options? |
25 |
> |
26 |
> Dale |
27 |
> |
28 |
> :-) :-) |
29 |
> |
30 |
> |
31 |
|
32 |
Openrc no longer supports the softlevel= option on the kernel command |
33 |
line (this hit me as well, as I use a number of different runlevels). |
34 |
Instead, pass "S" to skip just about everything, and start a root shell |
35 |
(via sulogin), or "1" to do the equivalent of "/sbin/rc single" (that |
36 |
is, drop the softlevel=boot completely, and add the single character "S" |
37 |
or "1" after a space). |
38 |
|
39 |
An example from my grub.conf: |
40 |
|
41 |
title Gentoo, current kernel (single user) |
42 |
kernel (hd0,0)/vmlinuz root=/dev/sda5 1 |
43 |
|
44 |
title Gentoo, current kernel (root shell) |
45 |
kernel (hd0,0)/vmlinuz root=/dev/sda5 S |
46 |
|
47 |
I also have my /etc/inittab set up so that init's runlevels 2-5 go into |
48 |
rc's various runlevels (on my machine, 2=default, 3=gui, 4=network, |
49 |
5=gui-network). |
50 |
|
51 |
- -- |
52 |
ABCD |
53 |
-----BEGIN PGP SIGNATURE----- |
54 |
Version: GnuPG v2.0.11 (GNU/Linux) |
55 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
56 |
|
57 |
iEYEARECAAYFAkqJwdMACgkQOypDUo0oQOrXJACfbCNpIYYmy4LJVeTI8Mz9W7RB |
58 |
ETgAoLkoM9knBUV48E6R853MZhVR1SiR |
59 |
=6rbI |
60 |
-----END PGP SIGNATURE----- |