Error loading VHDX in Hyper-V

Tek Info
Tek Info used Ask the Experts™
on
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?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Top Expert 2016

Commented:
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

Author

Commented:
But I created the VHDX using Disk2VHD why does it need repair?

Author

Commented:
Anyone else can assist please?
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Top Expert 2016

Commented:
because you only converted the OS partition.. There is more involved in making a disk bootable.

Author

Commented:
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.
Top Expert 2016

Commented:
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
Philip ElderTechnical Architect - HA/Compute/Storage

Commented:
StorageCraft ShadowProtect is a product that we use to P2V systems frequently. It works quite well.

Author

Commented:
Thank you Phillip, I will check that and will let you know.
Commented:
Disk2VHD worked well once I ensured that the System volume was selected, the Widows RE Tools and the C drive.
I removed access to all other drives and once converted, when I ran it in Hyper-V even without Network access, as long as it was Generation 2 in my case, it opened and ran with success.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial