Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have got a newly bought ASUS N56V with Windows 8 preinstalled.

I needed to install Ubuntu so i partitioned the disk and after having disabled the Secure Boot option from Windows 8 i successfully installed Ubuntu 12.10 from a Live USB. The problem is that if i try to access both to Windows 8 (loader) and Windows Recovery System (loader) from the GRUB menu, these two errors show: can't find command 'drivemap' and invalid EFI file path and it goes back to the grub menu.

In conclusion I do not have access to my Windows 8 partition but can only use Ubuntu. How can I solve the problem? I am pretty new to the matter.

Thank you!

share|improve this question
1  
Hello I had the same problem.See my question and my answer –  Kouros Jan 3 '13 at 7:51
1  
Here is a useful tutorial with images, it doesn't fix my problem, but it's worth giving a try. –  iammilind Aug 2 '13 at 13:29
add comment

1 Answer 1

I had this issue as well. I followed the instructions here:

https://wiki.archlinux.org/index.php/GRUB2#Microsoft_Windows_installed_in_UEFI-GPT_mode

The curveball is that I could not edit grub.cfg directly, as on my machine it is generated by the grub-mkconfig command. I added the 'menuentry "Windows ..." { ... }' to /etc/grub.d/40_custom

The downside is that the windows entry that works is below all the windows entries that don't. But the upside is that one of the windows entries works, so I'll live with it.

share|improve this answer
2  
You are right, modifying 40_custom instead of grub.cfg is recommended. I want to note that it is not necessary to have the Windows boot loader and configuration in the EFI System Partition when booting UEFI GRUB with this method. This way, having a Windows MBR install with /EFI/Microsoft/Boot/bootmgfw.efi on C: (run bcdboot C:\Windows /s C: /f uefi and look up bcdboot documentation for more details) and a Ubuntu UEFI install also works when the custom entry is modified accordingly (e.g. insmod part_msdos; insmod ntfs; set root='hd0,msdos4'). –  LiveWireBT May 14 '13 at 10:01
add comment

protected by Community Dec 5 '12 at 2:49

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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