Computer >> Computer tutorials >  >> Smartphones >> Linux

How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

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.

How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  1. Start out by booting back into Ubuntu.
  2. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  3. Once you’re at the Ubuntu Desktop, click the Search button from the Toolbar.
  4. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  5. Type the word terminal into the space provided, and then click the Terminal icon in the Applications list.
  6. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  7. 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.

  8. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  9. Enter your password when prompted. A message will appear asking you to confirm you want to install this software. Hit Enter (or Return) again.
  10. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu
    click to enlarge

  11. A bunch of text will scroll by.
  12. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu
    click to enlarge

  13. 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.

  14. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu
    click to enlarge

  15. Once the installation has completed, the Boot Repair utility will launch and do a quick scan.
  16. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  17. It’s likely that a EFI detected message will appear. Click OK.
  18. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  19. Click the Recommended repair (repairs most frequent problems) button.
  20. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  21. Give the utility a minute or two to do its thing.
  22. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  23. Click OK when it’s done.
  24. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  25. 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.
  26. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  27. 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.
  28. How to Fix the “can’t find command drivemap” Error After Installing Ubuntu

  29. 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).