I have spent a day trying every suggestion I can find and using the ArchWiki tutorial. No luck. Here's the situation:
I have Ubuntu 14.04 LTS installed on /dev/sdb
(installed first). I have Windows 7 installed onto /dev/sda
(installed 2nd from a USB stick). /dev/sda1
contains the "SYSTEM_RESERVED" 100mb partition. /dev/sda2
contains Windows. Grub cannot identify Windows 7, and I cannot get a chainloader to work.
Here is what I've tried:
- boot-repair (I get an error
"No GPT detected, install a small bios partition..."
which I did with gparted and still had no luck, even after flagging bios_grub and it being detected.) sudo os-prober; sudo update-grub;
(also sudo update-grub2)Adding manual entries to
/etc/grub.d/40_custom
(many many variations):if [ "${grub_platform}" == "efi" ]; then menuentry "Microsoft Windows Vista/7/8/8.1 UEFI-GPT" { insmod part_gpt insmod chain set root='(hd0,gpt5)' chainloader /EFI/Microsoft/Boot/bootmgfw.efi } fi
I have tried chainloader +1
, many insmod variants, etc. Essentially I always get "file not found"
or "command not found"
or "EFI not found"
no matter what path I try. (So yes, I can see the Microsoft Windows entry when I boot into grub.)
It might also help to know that when I start the computer, it says "Press F2 to enter UEFI BIOS Setup"
.
Could someone please give me a simple explanation of what's going on and how to fix it?
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
NAME FSTYPE SIZE MOUNTPOINT LABEL
sda 232.9G
├─sda1 ntfs 100M System Reserved
└─sda2 ntfs 232.8G
sdb 111.8G
├─sdb1 vfat 94M /boot/efi
└─sdb2 ext4 111.7G /
sdc 931.5G
└─sdc1 ext4 931.5G /media/backup Backup
sdd 1.4T
└─sdd1 ntfs 1.4T BigDunn
sudo lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
;)sudo update-grub