How:
Install the first one normally .... pick MBR so it boots everything
When installing the second one ... use the same swap partition as the first one...and only create a root partition ...
On the second distro, when picking where the bootloader boots, pick boot from the root partition (of the second distro).
In the first disto's grub file ... use chainloader to boot to the other distros....
Here is my test machine's
fdisk -l and the main grub.conf file:
CODE
Disk /dev/hda: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 1580 12586927+ 83 Linux
/dev/hda3 1581 1711 1052257+ 82 Linux swap
/dev/hda4 1712 7297 44869545 5 Extended
/dev/hda5 1843 3148 10490445 83 Linux
/dev/hda6 3149 4486 10747453+ 83 Linux
/dev/hda7 4487 5900 11357923+ 83 Linux
/dev/hda8 5901 7297 11221371 83 Linux
/dev/hda9 1712 1842 1052226 82 Linux swap
-------
Disk /dev/hdb: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hdb1 1 1034 8305573+ 83 Linux
/dev/hdb2 1035 2068 8305605 83 Linux
/dev/hdb3 * 2069 3102 8305605 83 Linux
/dev/hdb4 3103 7297 33696337+ 5 Extended
/dev/hdb5 3103 4136 8305573+ 83 Linux
/dev/hdb6 4137 5170 8305573+ 83 Linux
/dev/hdb7 5171 6204 8305573+ 83 Linux
/dev/hdb8 6205 7297 8779491 83 Linux
-------
Disk /dev/hdd: 15.0 GB, 15020457984 bytes
16 heads, 63 sectors/track, 29104 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdd1 * 1 29104 14668384+ 83 Linux
And here is the /boot/grub/grub.conf for the first installed distro
CODE
#grub.menu
default 9
timeout 5
color cyan/blue white/blue
title Debian GNU/Linux, kernel 2.6.6-1-686
root (hd0,0)
kernel /vmlinuz-2.6.6-1-686 root=/dev/hda2 ro vga=792
initrd /initrd.img-2.6.6-1-686
savedefault
boot
title SUSE 9.0 Professional
rootnoverify (hd0,4)
chainloader +1
title Slackware-10
rootnoverify (hd0,5)
chainloader +1
title Mandrake 9.2
rootnoverify (hd0,6)
chainloader +1
title Mandrake 10 Official
rootnoverify (hd1,0)
chainloader +1
title Fedora Core 1
rootnoverify (hd1,1)
chainloader +1
title RedHat 9
rootnoverify (hd1,4)
chainloader +1
title Gentoo 2004.1
rootnoverify (hd0,7)
chainloader +1
title LAMP Debian
rootnoverify (hd1,7)
chainloader +1
title CentOS-31 Minimal
rootnoverify (hd1,6)
chainloader +1
title FedoraCore2 - Final
rootnoverify (hd2,0)
chainloader +1
title TaoLinux Minimal
rootnoverify (hd1,2)
chainloader +1
title WhiteBox Compiles
rootnoverify (hd1,5)
chainloader +1