On Sunday 18 April 2010 07:21:56 Dale wrote:
> Adam wrote:
> > I want to choose console or X from grub, so i'm thinking i'll do
> > something like 'rc-update delete xdm 4' and then pass softlevel=4 to my
> > grub boot line, to make runlevel 4 a console runlevel. Is that the right
> > way to do it?
> 
> Gentoo doesn't use those runlevels.  You need to read this:

Well said Dale.

Numbered runlevels a-la ancient init are a stupid idea, were always a stupid 
idea and always will be a stupid idea.

I have never seen anyone actually use them!

Here's what people do use:

- a boot config for single user/maintenance (fix stuff with this)
- what you use everyday. Possibly also
- another config for some rare circumstance (like occasionally not running X 
for some reason. But most folk just stop xdm to do that)

> 
> man rc-update
> 
> Gentoo comes with the following runlevels:
> 
> r...@smoker ~ # ls /etc/runlevels/
> total 5
> drwxr-xr-x  6 root root  152 Jun 11  2008 .
> drwxr-xr-x 81 root root 4832 Apr 18 00:16 ..
> drwxr-xr-x  2 root root  368 Jun 11  2008 boot
> drwxr-xr-x  2 root root  512 Apr  9 20:05 default
> drwxr-xr-x  2 root root   72 Jun 11  2008 nonetwork
> r...@smoker ~ #
> 
> It generally boots to default.  You can change that on the kernel boot
> line but with one of the above instead of a 4 as you posted.
> 
> Post back if you get stumped along the way.
> 
> Dale
> 
> :-)  :-)

-- 
alan dot mckinnon at gmail dot com

Reply via email to