On Tue, 4 Sep 2001 13:33, Schoppitsch Dieter wrote:
> Speed is for my old laptop (486, Debian 2.0) essential.
> So I want to boot twice:
> * With a small kernel without daemons (no ports, no network)
> * With a big kernel with daemons (network, modem, printer)
>
> I have two kernels and decide at the lilo-boot-prompt which one
> to boot.
>
> How can I tell (if possible) lilo to boot with/without daemons?
>
> So far I deleted most daemon-boot-scripts from /etc/rc2 and edit
> /etc/inittab to set the runlevel at 2 (no daemons) or
> 3 (with daemons) - than I have to reboot.
>
> Any help/recommendations to do this more effizient (if
> possible with lilo)?
How about passing "init=/root/bin/init2" or "init=/root/bin/init3" to the
kernel. init2 will change /etc/inittab to have the default run level of 2
and then exec /sbin/init, init3 will do the same but for run level 3.
--
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/ Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]