Recover from Grub 2 / boot corruption or crash in Fedora 16

Ubuntu 11.10 install using the Upgrade Now option corrupted tbe Fedora 16 /boot/grub2/grub.cfg file. To recover it, this is what can be done:

  1. Boot from the DVD or the Net Installation version. Note that the Live CD will not help.
  2. Select the Troubleshoot menu option and from within that, select the Rescue menu option
  3. One you get past the selections for the language, and more, you should select to go into the shell.
  4. At the # prompt, type chroot /mnt/sysimage <enter>
  5. At the # prompt, type /sbin/grub2-install /dev/sda <enter>

This re-installs the grub.cfg file into the /boot partition. Note that in my case the boot partition was in /dev/sda.
Reboot the system.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s