From Fedora Project Wiki

(Starting the page ...)
 
m (how to add more operating systems to grub menu)
Line 2: Line 2:


  I will try to work on it , need to wait for F16 to be out of alpha on my end -)
  I will try to work on it , need to wait for F16 to be out of alpha on my end -)
== Adding more operating systems to the grub2 menu ==
After installing Fedora 16 Alpha RC 5, i've did this to add more operating systems to the grub2 menu:
# yum install os-prober
# grub2-mkconfig -o /boot/grub2/grub.cfg
Then, to select the default menu entry (5, in my case) i had to edit /boot/grub2/grub.cfg, and change the line
set default=0
to
set default=5
because
grub2-set-default 5
didn't worked.
'''Other grub2 issues''': it refuses to install on partition's boot sector (maybe can be forced?) and, !!! this is important !!!, it fails to install if for whatever reason your floppy controller is activated in BIOS and there's no drive connected or floppy disk inserted. The workaround is to run (post OS install) from rescue mode:
# grub-install <target device> --no-floppy

Revision as of 19:05, 19 August 2011

This is a place holder for grub2

I will try to work on it , need to wait for F16 to be out of alpha on my end -)


Adding more operating systems to the grub2 menu

After installing Fedora 16 Alpha RC 5, i've did this to add more operating systems to the grub2 menu:

  1. yum install os-prober
  1. grub2-mkconfig -o /boot/grub2/grub.cfg

Then, to select the default menu entry (5, in my case) i had to edit /boot/grub2/grub.cfg, and change the line

set default=0

to

set default=5

because

grub2-set-default 5

didn't worked.

Other grub2 issues: it refuses to install on partition's boot sector (maybe can be forced?) and, !!! this is important !!!, it fails to install if for whatever reason your floppy controller is activated in BIOS and there's no drive connected or floppy disk inserted. The workaround is to run (post OS install) from rescue mode:

  1. grub-install <target device> --no-floppy