Forum Home
Press F1
 
Thread ID: 74689 2006-12-01 20:30:00 Will grub Do This? SurferJoe46 (51) Press F1
Post ID Timestamp Content User
503502 2006-12-01 20:30:00 What are the chances that the grub installer will allow me to triple-boot using XP, Mepis & Ubuntu?

I am gonna try this on my older Dell if anyone seriously thinks I have a chance for it to work.

BTW: Thanks pj...NOW see what you've done? :eek:
SurferJoe46 (51)
503503 2006-12-01 21:09:00 Grub will allow you to boot to as many OS's as you want to. However I cannot remember if those OS's you mentioned have auto grub configuration on each of their installs that will find and add other OS's. Should do. Manually however, it is quite easy to configure and therefore boot to each one Myth (110)
503504 2006-12-01 21:52:00 It will do so easily. The linux booting options need to have the partition and path for the kernel and ramdisk and the Windows one simply needs to be chain loaded. Here's an example /boot/grub/menu.lst file. Note that the first and second options here boot different kernels from the second partition of the first disk, while the Windows XP option "chain-loads" the operating system in the first partition.

color white/blue black/light-gray
default 0
timeout 8

title Linux
root (hd0,1)
kernel /boot/vmlinuz root=/dev/hda2 vga=0x314 resume=/dev/system/swap splash=silent showopts
initrd /boot/initrd

title Xen
root (hd0,1)
kernel /boot/xen.gz
module /boot/vmlinuz-xen root=/dev/hda2 vga=0x314 resume=/dev/system/swap splash=silent showopts
module /boot/initrd-xen

title Windows XP
root (hd0,0)
makeactive
chainloader +1

You will need to do something similar, using the correct references for your partition setup. Note that in Grub (hd0) is approximately equivalent to Linux's hda, (hd1) = hdb, (hd0,0) = hda1, (hd1,1) = hdb1 and so on.
TGoddard (7263)
1