So recently I have set up my new computer (craigslist finds many deals for those of you in the US
). Anyway, I have three hard drives hooked up in this order, My first hard drive has Windows 7 on it (C:, or /dev/sda1), My second hard drive which holds my Ubuntu installation (/dev/sdb1), and then my third drive which is just a backup.
My first drive I have my Windows boot loader on it, with two entries: One for Windows 7 and one for Ubuntu. My second hard drive I installed Grub onto, which has a menu for the various kernels and of course to boot up Windows.
Here is my issue and what I did to try to solve it, but to no avail. Every time I boot into Windows, everything is fine until I restart my computer or shut down. After I exit Windows, and try to boot into Ubuntu, Grub can no longer see my Ubuntu installation (No such device found, no partition found). Of course my second hard drive is fine, I am able to boot into my recovery CD and fix Grub after a few hours, and boot back into my Ubuntu. But the second I launch Windows 7, it screws with my Ubuntu boot partition somehow. Grub is fine, it has the right menu but is Unable to see any hard drive except /dev/sda1 [Windows].
So I want to install Grub to my Windows boot loader, /dev/sda, but to have my boot partition on /dev/sdb3 (I just re-sized my partition for 500 megabytes specifically for /boot). I tried following a tutorial on the internet to install Grub, however I am afraid if I choose to install my Grub onto /dev/sda, that it will somehow corrupt my Windows Partition.
How do I install just the boot loader onto /dev/sda while having the Grub Stage 2 files on my /dev/sdb3 partition? Also, how to I configure Ubuntu to mount /dev/sdb3 as /boot automatically, as that partition was not originally there when I installed it.