[PLUG] Booting into console mode
Carla Schroder
carla at bratgrrl.com
Mon Jan 3 06:14:38 UTC 2005
On Sunday 02 January 2005 9:44 pm, Robert Kopp wrote:
> I am trying to boot into console mode (no X-server) to
> install something on Debian Sarge. Ordinarily one
> modifies inittab for this purpose, but it says
>
> id:2:initdefault:
>
> Since runlevel 5 is usually X mode, I'm not sure why X
> is coming up now! Anyhow, what is the easiest way to
> do this?
>
In Debian, runlevels 2-5 are all the same. So whatever you select at
installation- text or graphical login- applies to all runlevels. Debian
assumes you are smart enuff to customize it however you like. Or something
like that.
Anyway you want the 'update-rc.d' command. For example, to make runlevel 5 the
graphical runlevel, and all others text, assuming gdm is your graphical login
manager:
# update-rc.d -f gdm remove
# update-rc.d gdm start 99 5 . stop 01 0 1 2 3 4 6 .
First remove all startup links for gdm, then explicitly assign gdm start and
stop for each runlevel. A smart Debian noobie would buy my book and have all
these answers at his fingertips. ;)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Carla Schroder
http://www.tuxcomputing.com
check out my new book, the "Linux Cookbook", the ultimate Linux user's
and sysadmin's guide! http://www.oreilly.com/catalog/linuxckbk/
this message brought to you
by Libranet 2.8 and Kmail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
More information about the PLUG
mailing list