Re: Booting 2 Linuxes with LILO
alberto <albertobig@libero.it> wrote:
] Can I follow a similar procedure while I have the root mounted?
]
] I booted into woody and had /dev/hda1 mounted as root
] I then mounted potato on /mnt/potato, as you suggest.
] woody: $ lilo -C /mnt/woody/lilo.conf.mbr
] went OK
]
] woody: $ lilo -r /mnt/potato
] told me it was expecting a different version of LILO
]
] woody: $ lilo
] issued a fatal error.
] Then I tried mounting /dev/hda1 under /mnt/woody and did:
] woody: $ lilo -r /mnt/woody
] It was OK.
]
] Still, I can boot Potato, despite the error message.
] It won't bood woody, though!
]
] Could I maybe just have the woody's lilo.conf handle all, without the need of
] the mbr lilo?
The actual "lilo" program you run has to match the boot sector you
install. So when installing lilo for Potato you want to use the Potato
lilo, and when installing lilo for Woody you want to use the Woody lilo.
I'm a little confused about your description, but here's a recipe:
acquire a Knoppix boot CD
boot your system off the knoppix CD
mount your Potato root partition on /mnt
cd /mnt
sbin/lilo -r .
cd /
umount /mnt
mount your Woody root partition on /mnt
cd /mnt
sbin/lilo -r .
sbin/lilo -r . -C etc/lilo.conf.mbr
cd /
umount /mnt
reboot
You should be good to go.
Sebastian
Reply to: