alberto <[EMAIL PROTECTED]> 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 ] LIL- ] ] 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. Woody lilo.conf.mbr: lba32 boot=/dev/hda install=/boot/boot-menu.b map=/boot/map prompt timeout=50 other=/dev/hda3 label="Woody" other=/dev/hda2 label="Potato" other=/dev/hda1 label="Windows" Woody lilo.conf: lba32 boot=/dev/hda3 install=/boot/boot-menu.b map=/boot/map #prompt #timeout=50 root=/dev/hda3 read-only image=/boot/vmlinuz-2.4.20 label=2.4.20 image=/boot/vmlinuz-2.4.19 label=2.4.19 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 everything up: 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... Sebastian