After Installing Windows 7, I lost Grub and was unable to boot Ubuntu. After booting Puppy Linux using live CD by mistake I also deleted the boot/grub folder on the Ubuntu partition. How can I boot into Ubuntu(10.10, Grub2) now?
Two how-to's I found from https://askubuntu.com/q/18566/7163:
That first one seems most useful. Key steps:
- boot from a CD
- use sudo fdisk -l to find the device name of your Ubuntu drive, something like “/dev/sda5″
- sudo mkdir /media/sda5
- sudo mount /dev/sda5 /media/sda5
- sudo grub-install --root-directory=/media/sda5 /dev/sda