Re: Booting 2 Linuxes with LILO
alberto <email@example.com> wrote:
] I have 2 debians installed on my system but I'm having troubles with having
] LILO allowing me to boot any of those.
] I have potato on /dev/hda3.
] I just erased win on /dev/hda1 :-)) and installed Woody there.
] Now, Woody's LILO offers me a prompt to boot the old potato, but won't make
] it: If I try, it will stop at
] What is the correct way to have woody's LILO load my potato on /dev/hda3?
] I'd also love to keep the subchoiches there for different kernels.
Here's how i do it...
On Woody i have two lilo.conf files, one for the MBR and one for the
Woody partition. The MBR one i call lilo.conf.mbr. On Potato i have
just one lilo.conf file, for the Potato partition.
The Potato lilo.conf looks a lot like the Woody lilo.conf.
You need to install the boot blocks for the partitions you want to boot,
then for the MBR. I usually boot from a CD or something (KNOPPIX!) to set
mount /dev/hda3 /mnt/woody
lilo -r /mnt/woody
mount /dev/hda2 /mnt/potato
lilo -r /mnt/potato
lilo -C /mnt/woody/lilo.conf.mbr
That should do it...