m (more fixes) |
(clean up some) |
||
Line 1: | Line 1: | ||
= Grub2 = | |||
Starting with Fedora 16, grub2 is used for new installs (upgrades still keep grub1). | |||
= Tasks / Common issues = | |||
== Adding | == Adding Other operating systems to the grub2 menu == | ||
If you have other operating systems setup and wish to boot them via grub2: | |||
< | <pre> | ||
# yum install os-prober | |||
# grub2-mkconfig -o /boot/grub2/grub.cfg | |||
</pre> | |||
== Setting default entry == | |||
1. edit /boot/grub2/grub.cfg, and change the line | |||
<pre> | |||
set default="0" | set default="0" | ||
</pre> | |||
to | to | ||
<pre> | |||
set default="5" | |||
</pre> | |||
== Other issues == | |||
'''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: | |||
<pre> | |||
grub2-install <target device> --no-floppy | |||
</pre> | |||
= Further Reading = | |||
http://www.gnu.org/software/grub/manual/grub.html | |||
http://fedoraproject.org/wiki/Features/Grub2 | |||
http://fedoraproject.org/wiki/Anaconda/Features/Grub2Migration |
Revision as of 23:43, 19 August 2011
Grub2
Starting with Fedora 16, grub2 is used for new installs (upgrades still keep grub1).
Tasks / Common issues
If you have other operating systems setup and wish to boot them via grub2:
# yum install os-prober # grub2-mkconfig -o /boot/grub2/grub.cfg
Setting default entry
1. edit /boot/grub2/grub.cfg, and change the line
set default="0"
to
set default="5"
Other issues
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:
grub2-install <target device> --no-floppy
Further Reading
http://www.gnu.org/software/grub/manual/grub.html
http://fedoraproject.org/wiki/Features/Grub2
http://fedoraproject.org/wiki/Anaconda/Features/Grub2Migration