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

  • # sudo fdisk -l

  • Find your Linux partition (in my case it was /dev/sdb5)
  • Mount that partition

  • # sudo mkdir /mnt/linux
    # sudo mount /dev/sdb5 /mnt/linux

  • Bind mount your /dev folder

  • # sudo mount --bind /dev /mnt/linux/dev

  • Change root to your Linux partition

  • # sudo chroot /mnt/linux

  • Run grub-install on your boot drive

  • # sudo grub-install /dev/hdb

  • Reboot and success