0

I have installed Ubuntu 12.04 on my laptop with Windows 8 pre- installed. But when selecting Windows 8 to boot i get following error. error: unknown command ´drivemap'error: invalid EFI filepath

I ran boot repair. the output can be found here: http://paste.ubuntu.com/6995882/

I hope anyone can help me!

Thank you!

1
  • Which Windows boot entry are you using? You should be booting sda3 or UUID 1CD4-9FB5 entries. If Boot-Repair offers to run 'buggy' UEFI do not say yes until confirmed that you do have a buggy UEFI. Can you boot Windows from UEFI menu?
    – oldfred
    Feb 25, 2014 at 20:03

1 Answer 1

1

The error you report indicates that you're trying to boot with the "Windows Recovery Environment (loader) (on /dev/sda2)" or "Windows 8 (loader) (on /dev/sda3)" entries. Those entries are both suitable for BIOS-mode Windows installations, but you've clearly got an EFI-mode installation. Thus, you should be using the "Windows UEFI bootmgfw.efi", "Windows Boot UEFI loader", "Windows UEFI recovery bootmgfw.efi", or "Windows Boot UEFI recovery" entries. (Probably the first of those.)

If none of those entries work, then something is wrong. In this case, I recommend you download the USB flash drive or CD-R version of my rEFInd boot manager, prepare a medium with it, and boot to that medium. You should be able to boot to both Windows and Ubuntu with rEFInd. If this works, install the Debian-package version of rEFInd in Ubuntu. The computer should then boot to rEFInd when you reboot, and you can use rEFInd as your default boot manager. rEFInd tends to be much less finicky about booting Windows than is GRUB, so using it instead of GRUB as your primary boot manager often fixes problems like this.

7
  • Hi Rod&oldfred, I installed Refind under Ubuntu and it works the first time I used it. Now Windows 8 is loading after turning on the Computer. I had the same problem with Grub. Sometimes it appears and sometimes it doesnt. But now obviously its like Windows is staring every time and no Grub and no Refind. Refind showed me many different options like starting Windows and Ubuntu. I tried to install Ubuntu several times before and then tried to delete the partition after I had trouble with installing Grub 2 in the installationprocess. So there is maybe some crap on the harddrive I have to clean?
    – Durden777
    Feb 27, 2014 at 17:04
  • finally Windows and Ubuntu is on the PC but only Windows is starting and Refind and Grub arent working anymore.
    – Durden777
    Feb 27, 2014 at 17:16
  • I used EasyUS Partiton manager to manage the partitons on the harddrive but my knowledge is not to big to handle that.
    – Durden777
    Feb 27, 2014 at 17:19
  • EaseUS Partition Manager won't help; your problem is not related to partitioning; Windows is aggressively taking over the top spot in your firmware's boot manager. I recommend booting to Windows, opening an Administrator command prompt window, and typing bcdedit /set {bootmgr} path \EFI\refind\refind_x64.efi in that window. This usually fixes the problem.
    – Rod Smith
    Feb 28, 2014 at 13:07
  • Hi Rod, thank you very much for your help! It worked, till now ;) ! Refind is now my boot manager! Is it possible that Windows is also booting when I am working with Ubuntu? there was this failure message as I want to open the windwos partition:
    – Durden777
    Mar 3, 2014 at 12:36

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .