BartlomiejSkwira
6/16/2013 - 9:13 PM

Repait GRUB

Repait GRUB

#GrubRepair app

#You can chroot to the install, meaning with these commands you get to the root of the install to put grub back in the mbr, run these commands from a live ubuntu cd booted. You can copy and paste these to a terminal in the live cd environment.

sudo mount /dev/sda6 /mnt
for i in /dev /dev/pts /proc /sys; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sda
grub-install --recheck /dev/sda
update-grub
# Exit chroot: CTRL-D on keyboard
sudo reboot