Recovering From GRUB Failures
Sometimes life belches and GRUB fails to function. Here are some basic steps toward recovery.
- Boot with a Live ISO, preferably the same as the operating system.
- Launch a terminal window.
- Elevate privileges:
sudo su - mkdir /mnt/chroot
Discover which hard disk partition is the system partition.
mount /dev/sdaX /mnt/chrootwhereXis the system partition.mount --bind /dev /mnt/chroot/devmount --bind /proc /mnt/chroot/procmount --bind /sys /mnt/chroot/sysmount --bind /tmp /mnt/chroot/tmp
If there are no error messages then chroot into the hard disk system partition.
chroot /mnt/chroot
At this point access to the installed system is available, almost as though booting with a good GRUB boot menu.
Restore GRUB:
- Mount all partitions:
mount -a - Update GRUB:
update-grub - Install GRUB:
grub-install - Update the initrd:
update-initramfs -u - Exit the chroot:
exit
Reboot. Hopefully GRUB is repaired.
Posted: Category: Usability Tagged: General
Next: isolinux.bin Missing or Corrupt
Previous: Converting MBR to GPT
