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've installed Ubuntu (~EFI mode) in a ASUS Zenbook UX32VD, which has Windows 8 pre-installed. It had Security Boot disabled. I installed grub in the same partition I put the root directory (sda7 in my case).

After installation Ubuntu loaded and worked, great.

But there were 2 other partitions in grub that didn't run:

Windows Recovery Enviroment (loaer) (on /dev/sda2)
Windows 8 (loader) (on /dev/sda4)

Whenever I try to load any of the above i got:

error: can't find command <<drivemap>>.
error: invalid EFI file path.

I found in Internet multiple people having similar issues: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1024383

I tried using Boot-repair (recommended repair) utility from Ubuntu, and I've got 2 new entries in grub called:

Windows UEFI bootmgfw.efi
Windows Boot UEFI Loader

They load Windows 8, but the recovery partition is missing. I've tried using Boot-repair more times with different parameters which could make the bootmgfw.efi fail but none added a recovery partition entry:

http://paste.ubuntu.com/1690668/ (this is the last one Boot repair I did. EDIT: This Boot-Repair was using Recommended Repair)

I'd like to know how can I add an entry to grub that loads the recovery one. Any help to make my recovery partition to load would be greatly appreciated.

share|improve this question
    
    
This isn't exactly a duplicate of that question. It seems that this person is specifically trying to load the Windows RE, not just Windows 8. –  ChrisR. Apr 2 at 19:50

2 Answers 2

up vote 0 down vote accepted

The Windows RE cannot be loaded directly from GRUB, as it requires bootmgfw.efi to call it. The only way to get to it is through Windows 8 because it relies on the underlying framework of Windows to be loaded. As long as you did not move the original partitions (Windows RE and Windows 8) around, you should be able to get into through Windows. Otherwise, you will need to rebuild the BCD, which is outside the scope of this question.

share|improve this answer
    
It's been a while since last time i used the recovery, but basically what i remembered is that, booting Windows 8 and then messing with the booting options, pushing F8, or something like that will pop up a menu that allows recovery, MS boot repair, etc... I know this is not a solution, but: making windows repair the boot sector with his own will make all W8 partitions work again, just like Chris R. pointed out. –  ghostdance May 10 at 7:27

I had almost the same problem (see here) (same machine!), adding/changing the normal start entry (Windows 8 (loader) (on /dev/sda4)) to

setparams 'Win8'
set root='(hd0,gpt1)'
chainloader /EFI/microsoft/BOOT/bootmgfw.efi

fixed that one. Still, I could not get the recovery-one to work. I really do need that one. Did anyone find any solution to that yet?


EDIT:

Here is one attempt which seemes to have worked for fixing the recovery mode:

setparams 'Win Recover - Recovered'
set root='(hd0,gpt2)'
chainloader (${root})/EFI/Microsoft/Boot/bootmgfw.efi

It boots, then I get a bluescreen. I don't know if this is because this entry is wrong or my win8 is broken... If someone could verify that it is working - that would be great!

share|improve this answer
    
I would really like to know why this answer was voted down :S I think this really could help someone... –  3244611user Apr 29 at 19:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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