[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: A lilo config question



Javier Sieben wrote:
> 
> -----Mensaje original-----
> De: Erik Steffl <steffl@bigfoot.com>
> Para: Debian User <debian-user@lists.debian.org>
> Fecha: Sábado, 02 de Diciembre de 2000 07:01 p.m.
> Asunto: Re: A lilo config question
> 
> >  1) you can also create a lilo entry that will boot debian into a run
> >level that does not start xdm.
> >
> >  2) you can also specify run level at lilo prompt during boot
> >
> >  3) the other option is to change default run level to a run level that
> >does not start xdm, see /etc/nittab and look for lines like thses:
> >
> ># The default runlevel.
> >id:2:initdefault:
> >
> 
> Yes, but how pass the runlevel in lilo? Use the "append" clause?

  if you want to start without xdm just occasionally:

  on lilo prompt, append the number of desired runlevel after the lilo
item, for example if you defined entry labeled 'linux' then type:

LILO: linux 4

  to boot into run level 4. IIRC, it might be slightly different, see
lilo docs.

  if you want to (almost) always start without xdm, change the default
run level in /etc/inittab, do not use lilo for this.

  simply edit the line in /etc/inittab that looks like the one quoted
above (id:2:initdefault:) and change 2 to another number. But make sure
to delete S99xdm in the given runlevel (/etc/rcN.d, where N is 0 - 6),
for example, to make the run level 4 be the console only run level, do:

  rm /etc/rc4.d/S99xdm

  and change the line in /etc/inittab to:

d:4:initdefault:

  not sure which run level is traditionally the ne without X, it does
not matter much as long as you remeber which one it is (or how to find
out).

	erik



Reply to: