1 |
Mick wrote: |
2 |
> On Sunday 15 May 2011 11:34:07 Dale wrote: |
3 |
> |
4 |
>> Hi, |
5 |
>> |
6 |
>> I updated my kernel and had to reboot. I usually boot to single user |
7 |
>> mode and rebuild my video drivers. Since I have this in my grub list, I |
8 |
>> just select single user and it boots to single user mode. Well, not any |
9 |
>> more. This is my current settings: |
10 |
>> |
11 |
>> title Gentoo |
12 |
>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 |
13 |
>> |
14 |
>> title Gentoo boot level |
15 |
>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=boot |
16 |
>> |
17 |
>> title Gentoo single user |
18 |
>> kernel (hd0,0)/bzImage-2.6.38-r5-1 root=/dev/sda3 softlevel=single |
19 |
>> |
20 |
>> root@fireball / # |
21 |
>> |
22 |
>> I went back and looked at the guide but no mention of this. I don't see |
23 |
>> anything in the man pages either. What is the correct way to define a |
24 |
>> runlevel to boot to in grub with the new openrc? |
25 |
>> |
26 |
>> Thanks. |
27 |
>> |
28 |
>> Dale |
29 |
>> |
30 |
>> :-) :-) |
31 |
>> |
32 |
> According to my /etc/inittab: |
33 |
> |
34 |
> # new-style single-user |
35 |
> su0:S:wait:/sbin/rc single |
36 |
> su1:S:wait:/sbin/sulogin |
37 |
> |
38 |
> so softlevel=single should get you there. However, you say it doesn't ... |
39 |
> |
40 |
> # rc-update show single |
41 |
> # |
42 |
> |
43 |
> Hmm ... nothing there. Sure enough its empty: |
44 |
> |
45 |
> $ ls -la /etc/runlevels/single/ |
46 |
> total 8 |
47 |
> drwxr-xr-x 2 root root 4096 Jan 21 2010 . |
48 |
> drwxr-xr-x 8 root root 4096 May 2 10:54 .. |
49 |
> |
50 |
> So, what you would need to do I think is add the services you want starting at |
51 |
> single runlevel there and you should be good to go. |
52 |
> |
53 |
|
54 |
There never has been anything in my single user runlevel. It worked |
55 |
fine a few weeks ago but after the openrc upgrade, no more worky. |
56 |
|
57 |
The funny thing is, I can go to a console and type in rc single, that |
58 |
works fine. It goes to single user mode with no errors. Well, I did |
59 |
notice top showed the ttys still running. I'm going to test that |
60 |
later. That may be another thread for another day. Sort of beating on |
61 |
one thing at a time. ;-) |
62 |
|
63 |
I just thought maybe it changed from softlevel to something else but if |
64 |
it did, I can't find it documented anywhere and even Google appears to |
65 |
be lost on this. |
66 |
|
67 |
Open to ideas still. |
68 |
|
69 |
Dale |
70 |
|
71 |
:-) :-) |