Moving from Dual Boot to Multi boot [Dedicated GRUB Partition]
For many linux distro os and MS Windows, one Grub main menu at MBR and many menu for each distro/linux/os
Thanks for the posts of ...
... the following steps assume you have a Dual boot system already! but wanting to move to Multi boot...
1) make a small partition (my 5 distro GRUB partition only has 11MB used space)
2) Label your file system.
Reboot your computer, and mount the new GRUB partition. for example (hd0,7)
$ e2label /dev/sde1 GRUB
3) Make a directory "boot" in your new GRUB partition (in /media/GRUB)
4) Copy your /boot/grub directory(that is inside this working linux already) to the new GRUB partition,
$ sudo mkdir /media/GRUB/boot
5) Edit the new GRUB partition's menu.lst file by ...
$ sudo cp -r /boot/grub /media/GRUB/boot/
6) Delete all the old operating system boot entries, and the entire Debian Automagic Kernels List too.
$ sudo gedit /media/GRUB/boot/grub/menu.lst
Example of Multi Boot menu.lst (GRUB partition's menu.lst)
title Ubuntu 8.04 (/dev/sda6)
title ArtistX 0.6 Ubuntu 8.10 (/dev/sda7)
title Microsoft Windows XP Professional
Note: Don't get confused! The above menu.lst [the main GRUB menu.lst] is the first menu you will see, so you can choose which distro you want to boot, then you will see each linux distro's menu.lst, which is just the normal menu.lst listing different kernel versions under that distro.
7) Re-install Grub from your new GRUB partition to MBR.
(Notice the order FROM abc TO xyz)
grub> find /boot/grub/stage1
Note, sometimes GRUB gets the device label wrong...
for example, when using "sudo grub" inside a workig linux os, "find" command returns (hd0,5)
but at grub command line before booting into that linux os, "find" command returns (hd1,5)
so just manually edit the main GRUB menu.lst
8) Give all your operating systems a test boot-up to make sure everything's working fine.
9) later, when installing a new linux distro into a partition, for example, partition LinuxY,
just make sure to install bootloader Grub or Lilo into that partition LinuxY
in Ubuntu, at the last HD installation step, there is a small button "Advanced Options", click on it, then choose to install bootloader Grub into LinuxY
(Not to install it into MBR, which is hd0 or hd1 )
(by the way, in the earlier steps, you only need to select one / partition[root partition], and one swap partition [... so edit all other swap partitions for "NOT TO BE USED"] )
After linux HD installation, add lines like below into the main GRUB menu.lst that is inside the dedicated Grub partition
title Ubuntu 9.04 (/dev/sda9)
if that linux has to install its /boot as a separate partition, (hd0,9), then just edit the main GRUB menu.lst according to where that /boot partition is
title Fedora 11 (/dev/sda10)
10) Fun thing to do... add lines below into each linux distro's menu.lst, that will get you back to the main menu!
title Main Menu (/dev/sda8)