Install Grub

Notes for installing Grub on a disk that has already had basic files copied to it. More details

sudo mount /dev/sdXY /mnt
sudo mount /dev/sdXY /mnt/boot

#Mount the critical virtual file systems. Run the following as a single command:
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done

#Chroot into your normal system device:
sudo chroot /mnt

#Reinstall GRUB 2 (substitute the correct device with sda, sdb, etc. 
#Do not specify a partition number):
grub-install /dev/sdX

#Recreate the GRUB 2 menu file (grub.cfg)
update-grub

#Exit chroot: CTRL-D on keyboard

#Reboot.
sudo reboot


2015 LinuxQuestions.org Members Choice Award Winners

There are usually lots of cool Open Source Software projects in the LinuxQuestions.org Members Choice Award Winners list. Check them out: http://www.linuxquestions.org/questions/2015mca.php