1 |
On Sunday 18 April 2010 07:21:56 Dale wrote: |
2 |
> Adam wrote: |
3 |
> > I want to choose console or X from grub, so i'm thinking i'll do |
4 |
> > something like 'rc-update delete xdm 4' and then pass softlevel=4 to my |
5 |
> > grub boot line, to make runlevel 4 a console runlevel. Is that the right |
6 |
> > way to do it? |
7 |
> |
8 |
> Gentoo doesn't use those runlevels. You need to read this: |
9 |
|
10 |
Well said Dale. |
11 |
|
12 |
Numbered runlevels a-la ancient init are a stupid idea, were always a stupid |
13 |
idea and always will be a stupid idea. |
14 |
|
15 |
I have never seen anyone actually use them! |
16 |
|
17 |
Here's what people do use: |
18 |
|
19 |
- a boot config for single user/maintenance (fix stuff with this) |
20 |
- what you use everyday. Possibly also |
21 |
- another config for some rare circumstance (like occasionally not running X |
22 |
for some reason. But most folk just stop xdm to do that) |
23 |
|
24 |
> |
25 |
> man rc-update |
26 |
> |
27 |
> Gentoo comes with the following runlevels: |
28 |
> |
29 |
> root@smoker ~ # ls /etc/runlevels/ |
30 |
> total 5 |
31 |
> drwxr-xr-x 6 root root 152 Jun 11 2008 . |
32 |
> drwxr-xr-x 81 root root 4832 Apr 18 00:16 .. |
33 |
> drwxr-xr-x 2 root root 368 Jun 11 2008 boot |
34 |
> drwxr-xr-x 2 root root 512 Apr 9 20:05 default |
35 |
> drwxr-xr-x 2 root root 72 Jun 11 2008 nonetwork |
36 |
> root@smoker ~ # |
37 |
> |
38 |
> It generally boots to default. You can change that on the kernel boot |
39 |
> line but with one of the above instead of a 4 as you posted. |
40 |
> |
41 |
> Post back if you get stumped along the way. |
42 |
> |
43 |
> Dale |
44 |
> |
45 |
> :-) :-) |
46 |
|
47 |
-- |
48 |
alan dot mckinnon at gmail dot com |