You are not logged in.
Hi all,
I would like to configure my system to have two different lilo entries: both will boot the same kernel but boot the system into different runlevels.
One entry will boot the system in runlevel 3, the other one in runlevel 5.
Is this possible using lilo? How?
Thanks,
Fabio Varesano
Offline
Just create two otherwise the same entries and add "init 3" or "init 5" to the end of each kernel line.
-edit-
That's how you do it in grub. I think in lilo you could pass "init x" through "append="init x"" option.
Offline
Thank you lucke for your help. Worked well.
This is what I have in lilo.conf
image=/boot/vmlinuz26
label=arch
append="root=/dev/hda5 init 5"
initrd=/boot/kernel26.img
read-only
image=/boot/vmlinuz26
label=arch-text
append="root=/dev/hda5"
initrd=/boot/kernel26.img
read-only
while my default inittab is still 3
id:3:initdefault:
I also set kdm as default login manager
x:5:respawn:/opt/kde/bin/kdm
Offline