I am trying to install ubuntu 12.04 from a usb side by side with windows 7. My hard drive already had 3 partitions by window:
sda1 (1.8GB) for system
sda2 (700 GB) for windows
sda3(16GB) for windows recovery.
I shrunk windows partition to 200GB and made a new extended partition within which sda5 (10GB) is
linux-swapand rest is sda6 for linux(ext4). The installation runs fine until the end when it says "grub-install dev/sda6 failed. I tried to give it an option to install grub in dev/sda but it doesn't work. Please help.