0

This seems like it should be simple, but I've spent two hours following all the advice I could find to no avail. I have windows 7 installed on one internal harddrive (sdb) and I have just installed linux mint 17.2 on another harddrive (sda). Linux mint did not detect windows 7 when installing, so I just manually installed it on sda and am now trying to add a grub entry for win7.

When I run os-prober I get nothing back. When I run update-grub, it seems to change nothing.

Currently in grub-customizer I have the code for the win7 entry set to: http://pastebin.com/vyvW9TMk

My fdisk -l is: http://pastebin.com/e1MWGyDm

My parted -l is: http://pastebin.com/q7j4pZcP

My blkid is: http://pastebin.com/BrSxZ4y9

I have tried many many permutations of settings, along with different partition ids such as (hd1,0) (hd1,1) (hd1,2) (hd1,msdos0) (hd1,msdos1) ...

When I try to select the menu option when booting up, each either says the EFI path is invalid, or says it can't find disk. When I manually select my windows harddrive (/dev/sdb) from the BIOS... then it loads windows just fine.

Thank you in advance for any help you can give!

Thomas
  • 101

1 Answers1

1

Try the Boot-Repair utility. Instructions are on the Ubuntu site, but Linux Mint is based on Ubuntu, and virtually anything that works in Ubuntu will work in Linux Mint (except probably Unity stuff, unless you voluntarily installed Unity in Mint... *shudder* ;-)

Instructions that should work in any Mint (tested in Linux Mint 17.2 & older) are:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair

Then just run boot-repair , it's probably in a programs menu too.

It can do a lot of stuff automatically, pretty much a one-click fix, and is supposed to be able to find & add other OS's, and can find more info for diagnostics too.


Does Windows 7 still boot & run ok, when picked from the BIOS/EFI pick a drive to boot menu?

If it's EFI problems causing Windows to just not work, this question could help (but may be detrimental to Linux): How can I repair the Windows 8 EFI Bootloader?

Xen2050
  • 14,391