Greetings all Can somebody advise me how to A UEFI System using VHD. I was able to configure A UEFI system to boot from two different partitions one Windows 8.1 x64 & the second was Windows Server 2012 Rd. I want to do the same with VHD if possible Thanks in advance
Not sure if this works with UEFI, but i use this script to add VHD to boot menu on bios system (i changed winload.exe to winload.efi for you) Spoiler notice the vhd file path and how it's set Code: @echo off setLocal EnableDelayedExpansion echo. for /f "tokens=3" %%A in ('bcdedit /create /d "System Name" /application osloader') do set guid=%%A bcdedit /set %guid% device vhd=[C:]\Files\Programs\file.vhd,locate=custom:12000002 bcdedit /set %guid% path \Windows\system32\winload.efi bcdedit /set %guid% locale en-US bcdedit /set %guid% osdevice vhd=[C:]\Files\Programs\file.vhd,locate=custom:22000002 bcdedit /set %guid% systemroot \Windows bcdedit /set %guid% detecthal Yes bcdedit /displayorder %guid% /addfirst echo. endlocal pause