[SOLVED] Passthrough of physical disk works, but VHDX of said disk doesnt boot

I corrected a few typos in the post if that helps.

I'll decribe how I got that screenshot below:

1) boot vm and press F8 when I get the option to select an OS
2) select "safe mode with networking"
3) windows starts in safe mode
4) I restart windows through the windows start menu
5) windows tries to start normally but after a while I get the graphic recovery menu
6) I select the option to start windows normally
7) Nothing happens and I only see the proxmox logo with the text at the top of the screen..
(See attached screenshot)
 

Attachments

  • 1735916890221.png
    1735916890221.png
    68.6 KB · Views: 2
Last edited:
Then I just get a black screen with the Proxmox logo.

Maybe it's doing stuff in the background an I'm too impatient? Max I've waited is about 5 minutes.

The fact that the image works perfectly fine in Hyper-v really surprised me.
 
Tried clonezilla already but didn't work sadly.

I'm also going to try and install server with a legacy bios (seabios) and then just clone the contents of my C: drive.

A bit oldschool, but it might just work.

The thing that I can't understand is why it boots fine in safemode but wont start normally and doesn't even throw a bsod or an error..
 
Have you tried (as I already posted above) a plain dd image? I've had Clonezilla issues with many systems.
 
I did but when I tried to qm importdisk I got "Could not open '/mnt/C/C.qcow2' : Image is not in qcow2 format"
What was the original dd file called? It is probably/should be in .raw format.

Anyway, you could just copy that file manually to the VM's images Storage location folder (the folder will have its' name the same as the VMID) & then enter the command qm disk rescan <VMID> to add that image as an unused drive in the VM's config. You then go to VM's hardware in GUI & attach that as a used disk with the appropriate interface you want.
 
I've now made a .raw image throug dd. Converted that to qcow with qemu-img convert and imported the qcow image using qm importdisk.

But sadly no change. Safe mode boots fine, but it wont boot into windows normally
 
UPDATE:
I realised I was importing this image into an existing VM I'd tried a bunch of different things on, so I decided to make a fresh one and moved the virtual harddisk over. First I booted into safemode as per _Gabriel's suggestion, shut it down and lo and behold it booted!

Thanks Gabriel and gfngfn256 for the help!
 
Last edited:
Took one week, but we/you got there.....

Happy you are sorted, maybe mark this thread as Solved. At the top of the thread, choose the Edit thread button, then from the (no prefix) dropdown choose Solved.