Link to home
Start Free TrialLog in
Avatar of Tek Info
Tek Info

asked on

Error loading VHDX in Hyper-V

I created a VHDX with Disk2VHD, then tried attaching it to Hyper-V
I get an error message which says:
Virtual Machine Boot Summary
1. SCSI Disk (0,0)
The boot loader did not load an operating system.
2. Network Adapter (xxxxxxxxx)
A boot image was not found.

Any suggestions on how to get past this?
Avatar of David Johnson, CD
David Johnson, CD
Flag of Canada image

you need to fix up the bootblock and the disk id used by bootmgr
boot from a recovery disk or an installable OS disk and select recovery options command prompt and use the bootrec commands
https://support.microsoft.com/en-us/help/927392/use-bootrec-exe-in-the-windows-re-to-troubleshoot-startup-issues
Avatar of Tek Info
Tek Info

ASKER

But I created the VHDX using Disk2VHD why does it need repair?
Anyone else can assist please?
because you only converted the OS partition.. There is more involved in making a disk bootable.
I converted several partitions, which partitions should I have converted, the System, C and anything else.
I need a full proof solution which will take my current computer and totally convert it to a VHDX and where I can attach it to Hyper-V without any issues.  Or I may need to look at a more robust and user friendly converter.
Any suggestions?
so far I don't have any solutions.
boot from windows PE disk or install media .. you will need some external storage to save the .wim file that we will create
capture the wim using dism
use diskpart to check the drive letters and adjust as required
DISM /image:C:\ /optimize-image /boot
Dism /Capture-Image /ImageFile:"D:\Images\Fabrikam.wim" /CaptureDir:C:\ /Name:Fabrikam

Open in new window

on the clean disk create the directory structure
create the boot files from the .wim
apply the .wim file
reboot

https://docs.microsoft.com/en-us/windows-hardware/manufacture/desktop/capture-and-apply-windows-using-a-single-wim
StorageCraft ShadowProtect is a product that we use to P2V systems frequently. It works quite well.
Thank you Phillip, I will check that and will let you know.
ASKER CERTIFIED SOLUTION
Avatar of Tek Info
Tek Info

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial