dual boot two disks with separate /boot partitions
I have a machine with 2 disks, one has slackware 12.2 (/dev/sda) and the other has slackware 13 (/dev/sdb). Both disks have a separate /boot as the first primary partition. I installed lilo into MBR (boot=/dev/sda) and would like to be able to dual boot. How do I set this up?
I tried this lilo.conf: Code:
image = /boot/vmlinuz |
maybe just put the 13.0 kernel in a different named folder
Code:
image = /boot/slack/vmlinuz |
Quote:
Would it be possible to set up chain loading like one would do with Vista? I guess I'd have to boot 13.0 from DVD and run liloconfig to write a loader to the second disk's superblock and then use an other=/dev/sdb stanza to chain load from the MBR on sda.. would that work? |
Hello,
Let say that you are using lilo from 12.2. You need to mount the /boot partition of the other Slackware version (13.0) on Slackware 12.2. For example using /mnt/13.0 as the mount point, the /etc/lilo.conf file in 12.2 should look like this: Code:
# Linux bootable partition config begins Do not forget to mount the 13.0 /boot partition before running lilo. Of course, if you use lilo from 13.0, you need to mount the /boot directory from 12.2 in 13.0 |
Thanks, that works like a charm!
|
Hello,
I'm glad to hear that it worked as prescribed :) You can indicate that this thread is SOLVED but selecting the correct option in the "Thread Tools" menu on top of your first post. |
All times are GMT -5. The time now is 01:38 PM. |