Add Multiple Boot Menu in Fedora
ADVERTISEMENTSWell today lets see how to edit and add multiple boot menu in Linux(Fedora) operating system.
Let us consider 2 Hard Disk
- 250 GB SATA (Master - hd0)
- 80 GB SATA (Secondary Master Slave – hd1)
hd0 – Consist of Fedora and Windows XP.
hd1 – Consist of Ubuntu 7.10 and Windows 7.
Assume hd0 is your primary booting hard disk and after booting into hd0 select fedora and login to the operating system.
Before editing boot menu in primary hd0 confirm that you know the hd1 partition number and boot path. If you don’t have idea about partition number and boot path then boot your secondary slave hd1 and login to Ubuntu 7.10
Steps to Add Multiple Boot Menu
1.Go to Applications — > Accessories –> Terminal
Note : you should have administration privileges to modify boot menu
2.Type the following code in the terminal
sudo gedit /boot/grub/menu.lst
3.You can find information of the boot path and partition number by as shown below code
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=1e4cdea3-ebac-4a42-a60d-3955d19e489d ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
4.Copy this information in a text file, which is accessible by fedora operating system or keep written in a paper.
5.change root (hd0,2) to root (hd1,2) because hd0 denotes Feodra here.
6.Now boot into hd0 (Fedora operating system)
7.Go to Applications–>System Tools–>Terminal
Type the below code:
[tothetech@tothetech ~]$ su
Password:(Enter Your Password)
[root@tothetech tothetech]# gedit /boot/grub/grub.conf
8.Now grub.conf file will be opened in a text editor
9.you get the following hd0 boot information
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=e0de8aca-bd6b-4138-b344-df16bb3445bd rhgb quiet
initrd /boot/initrd-2.6.27.5-117.fc10.i686.img
title other
rootnoverify (hd0,0)
chainloader +1
10.Now you have to add hd1 boot information into hd0 boot file.
11.Finally the File should have the following information
#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,5)/boot/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.i686)
root (hd0,5)
kernel /boot/vmlinuz-2.6.27.5-117.fc10.i686 ro root=UUID=e0de8aca-bd6b-4138-b344-df16bb3445bd rhgb quiet
initrd /boot/initrd-2.6.27.5-117.fc10.i686.img
title Master - Windows XP
rootnoverify (hd0,0)
chainloader +1
title Microsoft Windows 7
rootnoverify (hd1,0)
chainloader +1
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd1,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=1e4cdea3-ebac-4a42-a60d-3955d19e489d ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
12.you change the title and timeout options for your enhancement.
13.Save the grub.conf file with the above information, you can also edit boot information in menu.lst
14.Now reboot your machine with hd0 you can boot into your choice of operating system.




December 30th, 2008 at 11:32 pm
I liked this topic of Adding Multiple Boot Menu in Fedora and would try to do it.
I have a problem can u pls help me, i have 2 hdd, 1st of 160 GB and 2nd 40 GB.
I have loaded Windows XP in 160 GB HDD and in 40 GB i had loaded Fedora, but while formatting Win XP i lost the GRUB loader of Fedora and can not boot my Fedora. Can u help me in repairing my Fedora GRUB
December 31st, 2008 at 7:53 pm
Hi abishek well i found a solution check this link