I am having a weird issue. I create the hyper-v vm create a disk and run the restore and it seems to work but it wont boot. I get unmountable boot drive .and startup repair runs. If i look at the partitions in diskpart They are RAW instead of NTFS.

Any Ideas.

9 Spice ups

I’m a bit confused with what you’re trying to do here.

Where was the Veeam Agent running and taking backups from?

Do you have the bare metal restore ISO file?

What are you trying to restore?

2 Spice ups

If you lift an image from a machine, the VM you create has to be the same sort of machine - boot wise.

Look at whether you’re creating a gen 1 or gen 2 VM - uefi or not.

Look at whether the disk you’re creating is attached to the correct controller type - IDE or SCSI - and that it’s marked for boot.

Check your boot order in the firmware section.

I’ve been able to put everything into a VM and get it to boot - from XP to WinX and WS2003 to 2012R2.

1 Spice up

Are you trying to do a P2V using Veeam? I have done this a few times for VMware and it just worked.

Yes . Its essentially what I am doing . I backed up a physical server with the agent and now want to restore it to a hyperV machine that I created with a disk of similar size.

The issue is that the original disk is 4k and so on the restore I ended up with RAW partitions. i fixed it using VHDXTOOLS . i created a vhdx of the right size with logical 4k sectors and attached it to the hyperv and then restored to it. Worked perfectly… Doesnt seem to be a way in hyperv directly to create a 4k disk.

Why not use disk 2 VHD?

Better yet, why not a fresh install as a VM?

1 Spice up

Testing a backup if I can bring it up as a VM relatively quickly. It took with vhdxtools and the agent approx 50 min which is fine.

You can use New-VHD powershell cmdlet to create 4k VHDX. New-VHD (Hyper-V) | Microsoft Learn

As an alternative, I think P2V software can be a wise choice.

https://www.starwindsoftware.com/blog/starwind-v2v-converter-now-with-physical-to-virtual-p2v-conver… .

2 Spice ups