Hello everyone.
Just registered here, as I'm having really hard time booting onto a VHD. My ultimate goal is to load a Linux from a VHD image and boot it through the Windows boot manager, and this forum seems to be the ONLY place on internet discussing/having any knowledge regarding this topic.
Using bcdedit, I'm able to add the entry to the menu;
C:\Windows\system32>bcdedit Windows Boot Manager -------------------- identifier {bootmgr} device partition=\Device\HarddiskVolume1 path \EFI\MICROSOFT\BOOT\BOOTMGFW.EFI description Windows Boot Manager locale en-US inherit {globalsettings} default {current} resumeobject {55a1b3ec-0d84-11e9-8218-8d4c96417f88} displayorder {current} {55a1b3f4-0d84-11e9-8218-8d4c96417f88} toolsdisplayorder {memdiag} timeout 10 Windows Boot Loader ------------------- identifier {current} device partition=C: path \Windows\system32\winload.efi description Windows 10 locale en-US inherit {bootloadersettings} recoverysequence {55a1b3ee-0d84-11e9-8218-8d4c96417f88} displaymessageoverride Recovery recoveryenabled Yes isolatedcontext Yes allowedinmemorysettings 0x15000075 osdevice partition=C: systemroot \Windows resumeobject {55a1b3ec-0d84-11e9-8218-8d4c96417f88} nx OptIn bootmenupolicy Standard Windows Boot Loader ------------------- identifier {55a1b3f4-0d84-11e9-8218-8d4c96417f88} device vhd=[C:]\ubuu\ubu.vhd path \Windows\system32\winload.efi description ubuntu locale en-US inherit {bootloadersettings} osdevice vhd=[C:]\ubuu\ubu.vhd systemroot \Windows detecthal Yes
The Windows 10 entry boots OK, but I can't boot onto the Ubuntu entry. What could be the error I'm doing here? AFAIK this is how it is done in every tutorial/guide I've come across.
The error I'm getting is "Windows failed to boot... The file \Windows\system32\winload.efi could not be found or is corrupt". It is presented on a legacy-looking black screen. Although in the right bottom corner it says "Press ESC to go to UEFI settings.." so it is not trying to boot a MBR/BIOS image.
Worth mentioning would also hopefully be that booting Windows 10 entry from the list DOES NOT make my PC reboot, but when I select the VHD entry (Ubuntu), the PC reboots, and then gives me this error.
Any help would be much appreciated! Thanks in advance
Edited by jussihi, 16 January 2019 - 12:33 PM.