It will write to the MBR of whatever device you tell it too in lilo.conf.
Tells lilo to install to the MBR of hda. Anyway, you can install it manually by booting to the rescue disk, CDROM, bootdisks/rootdisks, or some other recovery disk. Once booted just manually mount /dev/hda2, edit the lilo.conf file on it and run lilo with the -C option telling it where the lilo.conf is. An example:
Code:
mkdir -p /mnt/hda2
mount /dev/hda2 /mnt/hda2
---- edit /mnt/hda2/etc/lilo.conf to suit your needs ----
ln -sf /mnt/hda2/boot /boot
/mnt/hda2/sbin/lilo -C /mnt/hda2/etc/lilo.conf
umount /mnt/hda2
reboot
Edit: The above method has potential for problems. Use one of the below methods instead:
Code:
mkdir -p /mnt/hda2
mount /dev/hda2 /mnt/hda2
chroot /mnt/hda2
---- edit /etc/lilo.conf to suit your needs ----
/sbin/lilo
exit
umount /mnt/hda2
reboot
Or if you're using the Slackware CD or bootdisk/rootdisk combo, then you could also just boot straight into your root, by typing "mount root=/dev/hda2" and the boot: prompt. Then just edit the /etc/lilo.conf, run lilo and reboot. However, you must have the modules for whatever kernel version the CD or bootdisk/rootdisk uses installed on /dev/hda2 if you need any of them. Otherwise you'll get errors, may still work well enough though.