Hard drive passthrough with Windows 10 on drive

Elehob

New Member
Aug 16, 2021
4
0
1
33
Is there anyway to have a VM boot from a drive that already has Windows 10 installed? Would I have to create a Windows VM first and then point the drive to it? Or is there an easier way of doing it? I'll eventually convert the physical to a VM down the road, just trying to get my Windows environment back up. Sorry for the noob question, just trying to learn more about Proxmox.

Thanks in advance!
 
Thanks! I've referred to that guide a few times. This may be a really stupid question but where in the VM creation process would I pass the hard drive through? Or would I have to go through the whole VM creation process (ie passing the Windows ISO image)?

I tried creating the VM without a disk image or hard drive and then passing the hard drive through the shell commands but kept boot looping. Maybe I'm over-thinking this.

Thanks again for your help!
 
How did you "passthrough" the drive? If you for example used something like "-scsi0" and chose virtio SCSI as storage controller you won't be able to boot from that disk because your Win10 probably didn't got the virtio driver installed.
 
How did you "passthrough" the drive? If you for example used something like "-scsi0" and chose virtio SCSI as storage controller you won't be able to boot from that disk because your Win10 probably didn't got the virtio driver installed.
Yeah I'm passing the drive using the "-scsi#" command. I'm fairly sure that's what I'm missing... Is this guide the right one? (https://pve.proxmox.com/wiki/Windows_VirtIO_Drivers) Or is there an easier solution?

Thank you so much!