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)

#Exit chroot: CTRL-D on keyboard

sudo reboot

2015 Members Choice Award Winners

There are usually lots of cool Open Source Software projects in the Members Choice Award Winners list. Check them out: