I installed ubuntu 13.04 on my new notebook (that came with windows 8 installed) and now when I try to load windows 8 appear the error:

impossible to find command 'drivemap'. (this is in portuguese, I'm not sure if I translated it right

invalid EFI file path.

ubuntu is working OK. someone knows what can I do to solve this and have both SO running? I have searched on the internet but couldn't find anything I could understand. can someone help me?


First, I recommend you go into your firmware and disable Secure Boot, if you haven't already done so. This isn't always required, but Secure Boot seems to cause a lot of problems with many Ubuntu installations, so IMHO it's best to disable it. This will not solve the specific problem you're reporting, though.

Second, do one of the following things:

  • In Linux, install my rEFInd boot manager. There's a Debian package that you can install quite easily. The result is that when you reboot, you should see rEFInd rather than GRUB. rEFInd should enable you to boot Windows or Linux (and to boot Linux either directly or via GRUB).
  • In Linux, install and run the Ubuntu Boot Repair tool. This should fix your problem, but it will probably leave stray and non-functional boot entries. Some users find that it doesn't create bootable Windows entries, but it does for others.

If you try Boot Repair first and it doesn't work to your satisfaction, be sure to run it again and restore the backup files it created before trying rEFInd. There's an option in the advanced menu of Boot Repair to restore its backup files.

| improve this answer | |
  • I disabled Secure Boot before installing windows. What solution do you think I should try first? – Erik Scheffer May 19 '13 at 14:52
  • Whichever sounds better to you, based on those descriptions. My own preference would be rEFInd, but as I maintain it, I'm biased. – Rod Smith May 19 '13 at 14:55
  • 1
    The boot repair tool worked fine for me. – JFL Aug 13 '13 at 20:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.