PDA

View Full Version : Grub entry for F9?


orbital42
25th May 2008, 08:07 PM
I want to dual boot Ubuntu and Fedora9 but I don't want to overwrite Ubuntu's Grub. What kind of entry do I need to add to grub to be able too boot Fedora?

nissan.bakish
25th May 2008, 08:32 PM
during fedora installation you can "tell" the installer not to install grub

stoat
25th May 2008, 11:43 PM

I want to dual boot Ubuntu and Fedora9 but I don't want to overwrite Ubuntu's Grub. What kind of entry do I need to add to grub to be able too boot Fedora?

during fedora installation you can "tell" the installer not to install grubHello everybody,

If you choose not to install Fedora's boot loader, then no grub.conf file will be created for Fedora. In that case, you will have to launch the Fedora kernel directly by hand-writing the usual (and appropriately worded) title, root, kernel, and initrd lines in the Ubuntu menu.lst file.

Another idea at least to consider when you install Fedora is to choose the boot loader option to install Fedora's boot loader in the first sector of the Fedora boot partition (Configure advanced boot loader options). That will not harm the Ubuntu boot loader arrangement, but it causes anaconda to create a grub.conf file for Fedora. That's handy because then you can just copy the title, root, kernel, and initrd lines directly from the Fedora grub.conf and paste them into the Ubuntu menu.lst. You have to repeat that each time the Fedora kernel is updated (often).

Even better though, is to use the configfile menu command in the Ubuntu menu.lst to launch Fedora. It causes the Fedora menu to be presented instead of directly launching the Fedora kernel from the Ubuntu menu. The advantage is that the Ubuntu menu.lst will then not have to be edited every time the Fedora kernel is updated. This method likewise requires that you choose to install GRUB in the first sector of the Fedora boot partition because a grub.conf file is needed.

How to write the Fedora section in Ubuntu's menu.lst using the configfile command...title Fedora
configfile (hdx,y)/grub/grub.confYou, of course, change x & y to the drive & partition of the Fedora boot partition. And if you do not have a separate Fedora boot partition, do it this way...title Fedora
configfile (hdx,y)/boot/grub/grub.conf

orbital42
26th May 2008, 08:17 PM
Error 15: File not found. Which I guess is not a surprise because when I mount the Fedora partition and look for the grub.conf the only file in /boot/grub folder is splash.xpm.gz

Any ideas?

bob
26th May 2008, 08:31 PM
Yes, you should have followed Stoat's second paragraph and put Fedora's grub on the root partition. Since you have no time invested in the install, I'd just do it over.

orbital42
27th May 2008, 05:20 AM
Yes, you should have followed Stoat's second paragraph and put Fedora's grub on the root partition. Since you have no time invested in the install, I'd just do it over.

Yeah I will try that later on today.

orbital42
27th May 2008, 02:47 PM
Added boot loader to fedora partition and now I can boot into F9 with Ubuntu grub! Thanks a lot for the help!