Change disk type (IDE/SATA to SCSI) for existing Windows machine

m3a2r1

Active Member
Feb 23, 2020
162
5
38
47
Hi,
can anybody help me and explain me how can I change disk type for Windows machine? I've tried one Windows 10 vm and one Windows Server 2016 and both failed to start correctly after change.
Any help appreciated.
 
The VM won’t find the appropriate drivers during boot so you have to inject them into your OS.

Shut down your VM and mount the install ISO (Win10 for example) and the VirtIO ISO. Set the boot order to the Windows ISO at 1. Let the disk type as it was before (IDE/SATA). Start the VM and it will boot in the setup screen. Now press SHIFT+F10, that will bring up the CMD shell.

Check which drive letter the VirtIO ISO DVD drive has (E: for example).

Next step will insert the drivers:

dism /image:C:\ /add-driver /driver:E:\vioscsi\w10\amd64

Once the command has completed power down the VM from the CMD shell with:

wpeutil shutdown -s

Unmount both ISOs from the VM, change the disk type to SCSI and power it on again. Now Windows should boot as desired.
 
a easy workaround
add a disk with virtio or scsi - this way you will get the scsi controller in windows, install the drivers and let windows find the 2nd disk in disk manager

once this is done shutdown and change the primary disk (on ide) to scsi (by detaching and re-attaching as scsi)

now boot, 95% of the time this trick will work and windows will boot with the scsi drivers as they have been added in order to detect the 2nd disk
 
a easy workaround
add a disk with virtio or scsi - this way you will get the scsi controller in windows, install the drivers and let windows find the 2nd disk in disk manager

once this is done shutdown and change the primary disk (on ide) to scsi (by detaching and re-attaching as scsi)

now boot, 95% of the time this trick will work and windows will boot with the scsi drivers as they have been added in order to detect the 2nd disk

just to confirm that this actually worked on my Windows 2019 Server VM, thanks
 
  • Like
Reactions: ofer5183
a easy workaround
add a disk with virtio or scsi - this way you will get the scsi controller in windows, install the drivers and let windows find the 2nd disk in disk manager

once this is done shutdown and change the primary disk (on ide) to scsi (by detaching and re-attaching as scsi)

now boot, 95% of the time this trick will work and windows will boot with the scsi drivers as they have been added in order to detect the 2nd disk
How can i get the scsi driver? Is there a url to download?
 
  • Like
Reactions: ofer5183
a easy workaround
add a disk with virtio or scsi - this way you will get the scsi controller in windows, install the drivers and let windows find the 2nd disk in disk manager

once this is done shutdown and change the primary disk (on ide) to scsi (by detaching and re-attaching as scsi)

now boot, 95% of the time this trick will work and windows will boot with the scsi drivers as they have been added in order to detect the 2nd disk
Thanks a lot!
 
a easy workaround
add a disk with virtio or scsi - this way you will get the scsi controller in windows, install the drivers and let windows find the 2nd disk in disk manager

once this is done shutdown and change the primary disk (on ide) to scsi (by detaching and re-attaching as scsi)

now boot, 95% of the time this trick will work and windows will boot with the scsi drivers as they have been added in order to detect the 2nd disk
These steps worked for me with one addition:

After converting an ide disk to scsi you have to add scsi to the boot order or your VM will no longer boot, and NOT from the bios but from the Proxmox GUI here:1678571182310.png
 
a easy workaround
add a disk with virtio or scsi - this way you will get the scsi controller in windows, install the drivers and let windows find the 2nd disk in disk manager

once this is done shutdown and change the primary disk (on ide) to scsi (by detaching and re-attaching as scsi)

now boot, 95% of the time this trick will work and windows will boot with the scsi drivers as they have been added in order to detect the 2nd disk
Thank you for your tip, but how do I reattach the disk after detaching it? It's not working for me.
 
The VM won’t find the appropriate drivers during boot so you have to inject them into your OS.

Shut down your VM and mount the install ISO (Win10 for example) and the VirtIO ISO. Set the boot order to the Windows ISO at 1. Let the disk type as it was before (IDE/SATA). Start the VM and it will boot in the setup screen. Now press SHIFT+F10, that will bring up the CMD shell.

Check which drive letter the VirtIO ISO DVD drive has (E: for example).

Next step will insert the drivers:

dism /image:C:\ /add-driver /driver:E:\vioscsi\w10\amd64

Once the command has completed power down the VM from the CMD shell with:

wpeutil shutdown -s

Unmount both ISOs from the VM, change the disk type to SCSI and power it on again. Now Windows should boot as desired.
Thanks
 
The VM won’t find the appropriate drivers during boot so you have to inject them into your OS.

Shut down your VM and mount the install ISO (Win10 for example) and the VirtIO ISO. Set the boot order to the Windows ISO at 1. Let the disk type as it was before (IDE/SATA). Start the VM and it will boot in the setup screen. Now press SHIFT+F10, that will bring up the CMD shell.

Check which drive letter the VirtIO ISO DVD drive has (E: for example).

Next step will insert the drivers:

dism /image:C:\ /add-driver /driver:E:\vioscsi\w10\amd64

Once the command has completed power down the VM from the CMD shell with:

wpeutil shutdown -s

Unmount both ISOs from the VM, change the disk type to SCSI and power it on again. Now Windows should boot as desired.

Thanks! The usual method of adding a secondary scsi disk wasn't working for me, but this did.
 
These steps worked for me with one addition:

After converting an ide disk to scsi you have to add scsi to the boot order or your VM will no longer boot, and NOT from the bios but from the Proxmox GUI here:View attachment 47792
You have helped me immensely.
I had to recover my windows etc and just couldn't get it work.'

if I bumped into this earlier I wouldn't have lost my second drive lol
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!