If you’re recently installed Ubuntu alongside Windows 8 (dual-boot) and now get the errors: “can’t find command ‘drivemap'” and “invalid EFI file path” when you try to start Windows, this tutorial will explain how to fix it.
- Start out by booting back into Ubuntu.
- Once you’re at the Ubuntu Desktop, click the Search button from the Toolbar.
- Type the word terminal into the space provided, and then click the Terminal icon in the Applications list.
- Paste in the following line of text:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update
and hit Enter/Return on your keyboard.
- Enter your password when prompted. A message will appear asking you to confirm you want to install this software. Hit Enter (or Return) again.
- A bunch of text will scroll by.
- When the command prompt returns again, enter the command:
sudo apt-get install -y boot-repair && (boot-repair &)
and enter your password again, if prompted.
- Once the installation has completed, the Boot Repair utility will launch and do a quick scan.
- It’s likely that a EFI detected message will appear. Click OK.
- Click the Recommended repair (repairs most frequent problems) button.
- Give the utility a minute or two to do its thing.
- Click OK when it’s done.
- Restart your PC by selecting the Power “cog” in the upper-right corner of your Ubuntu desktop and then click Shut Down… Restart your computer.
- This time when it boots, you’ll notice a number of ‘new’ entries. Select Ubuntu if you want to boot into and use Ubuntu. Use the down arrow key on your keyboard to scroll down to Windows Boot UEFI Loader to boot into and use Windows 8. All of the other entries in this list can be ignored.
- If this didn’t solve your problem, head over to the Ubuntu Support Community and sign up for their forums. If you compose a detailed explanation of your problem and the steps you’ve tried so far to resolve it, someone will help you (it’s a very supportive and helpful community).