I have the following setup:
Samsung 840 Series SSD drive with three partitions:
- EFI Boot Partition (200 MB)
- Linux Swap Space (2 GB)
- Primary Ubuntu Drive (490 GB)
Crucial M4 SSD with one partition:
- Windows 8 Pro Drive (250GB)
The SSD drives are new, and the Windows 8 was installed before Ubuntu.
I set the boot on my BIOS (AsRock Extreme4) to go to the Ubuntu GRUB loader, which lists a couple options for booting ubuntu as well as an option for booting Windows 8. Ubuntu loads without any problem.
Whenever I try to load the Windows 8 OS, I get the following error:
Grub Can't find command 'Drive Map'
I have tried accessing the M4 drive from Ubuntu to see if I can find the boot location on the NTFS windows drive, but I can't mount the Windows drive to Ubuntu, because it gives this error:
Failed to mount '/dev/sdb1': Operation not permitted
The NTFS partition is hibernated.
Is there an easier way to fix the grub boot commands that involves not mounting the Windows 8 drive to Ubuntu?
EDIT: I tried using the Ubuntu Boot Repiar tool from a LinuxLive USB loader. The "Recommended" fix didn't fix anything, but it gave me this paste file, detailing my boot setup, if it helps: http://paste.ubuntu.com/5600941/
I think the major problem lay in that the Windows partition is on another disk, which can't be mounted in Ubuntu, hence I can't use grub probe without getting errors.
EDIT 2: [SOLUTION] I ended up just reformatting the Ubuntu drive again, and installing Ubuntu via LiveUSB with the LinuxSecureRemix Ubuntu ISO found here. This was installed across two partitions on the drive - one for Swap and one for Ubuntu.
Then I loaded Ubuntu on the new partition, and used GParted to create an EFI partition alongside the Ubuntu and Swap partitions, making sure the EFI partition was created first and then flagged boot_EFI second. Then I ran Boot-Repair, and used recommended settings.
Boot-Repair was finally able to detect the now-blank boot_EFI partition, and install Grub. For whatever reason before, it was not able to use EFI partition created with the Ubuntu install.
Now Ubuntu Grub works with windows 8.
IF you are having trouble with Windows 8 and Ubuntu grub, boot-repair, or burg I would recommend reading here first before you try the reformat that I did.