grub2 recovery for Fedora 16


Previously ‘grub’ was installed. With Fedora 16 upgrade I thought to try ‘grub2’. grub and grub2 had package conflict, for which I need to remove ‘grub’ package before installing grub2. After installing grub2, there were few configurations, which I need to made to work it properly (I learnt that later after failing to boot and using rescue mode)

1) install grub2 as following

$ yum remove grub -y

$yum install grub2 –y

2) you need to create grub.cfg file manually with following command (and it is not in /etc/grub(2).cfg)

grub2-mkconfig -o /boot/grub2/grub.cfg

(it detected Windows, Linux (Fedora, Linux Mint) automatically and added to configuration file)

3) install grub2 to MBR

grub2-install /dev/sda

Now it is complete and showing many kernel with Windows and Linux Mint.

Fedora GRUB2 Link