I have been going around in circles trying to figure this out but here's the story:
I had Windows 7, dual booted Ubuntu and everything worked great; it booted into windows boot manager with the two options of 'Windows' and 'Ubuntu'. When I chose Ubuntu, it then went to grub.
Ubuntu 11.10 came out and I updated, which I ran into some issues after the install so I decided to install Ubuntu fresh.
After that couldn't get into windows and ended up with grub rescue when I tried booting to Ubuntu
After a lot of fiddling, I used bootrec to fix the mbr, reinstalled ubuntu and I finally got to where I am now:
It's basically the opposite of before: It boots into grub right away and if ubuntu is selected, it works great. If windows is selected, it goes to the windows boot mgr with Windows and Ubuntu options.
Windows will work from there and ubuntu will not.
Basically I want to start with grub, skip the windows boot mgr and go straight to windows if selected.
Other info:
- Windows is sda2
- Ubuntu is sda6
- Right now the option in grub for windows is "Windows 7 (boot loader /dev/sda1)"
- sda1 is a 100mb boot partition that has always been there, is that something I need? Or can I delete it and make sda2 the boot partition?
- Or would it be easier to change grub so it points to sda2 instead?
Results from fdisk:
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x1549f232
Device Boot Start End Blocks Id System
/dev/sda1 * 2048 206847 102400 7 HPFS/NTFS/exFAT
/dev/sda2 206848 976960754 488376953+ 7 HPFS/NTFS/exFAT
/dev/sda3 976961534 1930616831 476827649 5 Extended
/dev/sda4 1930618880 1953521663 11451392 7 HPFS/NTFS/exFAT
/dev/sda5 1004306432 1930616831 463155200 7 HPFS/NTFS/exFAT
/dev/sda6 976961536 991723519 7380992 83 Linux
/dev/sda7 991725568 1004304383 6289408 82 Linux swap / Solaris
Partition table entries are not in disk order
I'm somewhat of a noob to linux and bootloaders, any advice would be greatly appreciated.
Thank you!!