HOWTO+-+Reinstall+GRUB+by+using+System-Rescue-CD

1. Boot the system-rescue live cd (http://www.sysresccd.org)

2. Run the following commands and change the names of the block devices where needed:

code fsarchiver probe detailed # Gives you a detailed description of all of the partitions including the LVM volumes mkdir /mnt/linux mount /dev/sda2 /mnt/linux # Use something like /dev/mapper/vg0-root instead of /dev/sda2 if you use LVM volumes mount /dev/sda1 /mnt/linux/boot # This is optional if your /boot is located in a different partition mount -o bind /proc /mnt/linux/proc mount -o bind /dev /mnt/linux/dev mount -o bind /sys /mnt/linux/sys chroot /mnt/linux /bin/bash grub-install /dev/sda exit umount /mnt/linux/{dev,proc,sys} umount /mnt/linux/boot umount /mnt/linux/ reboot code