Here’s a quick how-to for restoring your grub bootloader when you load a new OS (like Windows) and it overwrites your grub bootloader. Hopefully you can follow this guide and have luck. Unfortunately, that did not work for me. I was running Kubuntu 11.10 Alpha 3 and only had the CD for 10.10 and the steps didn’t work. What I did to get it to work was:
- Boot off of older 10.10 LiveCD
- Open Terminal and type the following to get your partition map list
- Find your Linux partition (in my case it was /dev/sdb5)
- Mount that partition
- Bind mount your /dev folder
- Change root to your Linux partition
- Run grub-install on your boot drive
- Reboot and success
# sudo fdisk -l
# sudo mkdir /mnt/linux
# sudo mount /dev/sdb5 /mnt/linux
# sudo mount --bind /dev /mnt/linux/dev
# sudo chroot /mnt/linux
# sudo grub-install /dev/hdb
