Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 8739  / 1 Year ago, fri, january 6, 2023, 7:45:41

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.


More From » dual-boot

 Answers
6

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.


[#32588] Saturday, January 7, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anatta

Total Points: 326
Total Questions: 128
Total Answers: 96

Location: Jordan
Member since Sun, Jun 26, 2022
2 Years ago
anatta questions
Sun, Jul 17, 22, 07:13, 2 Years ago
Sun, Jun 6, 21, 12:17, 3 Years ago
Sat, Jun 12, 21, 20:43, 3 Years ago
Thu, Jan 13, 22, 20:49, 2 Years ago
Sat, Jun 5, 21, 05:39, 3 Years ago
;