Hello, I have a Windows 10 Pro vmdk and vhdx file for my old physical Windows 10 Computer. I converted it to a VM that would let me run it in QNAP and it worked without a problem. I just recently acquired a Cisco UCS C220 M4 Server and installed TrueNAS Scale on it. I want to use this server as my VM server and use the QNAP as my NAS.
I first used qemu-img to convert the vhdx to a raw file with this command "qemu-img convert -f vhdx -O raw Win10.VHDX Win10.raw". After the conversion was complete, I created a zvol data and transferred the raw file to a smb share on the TrueNAS server. I connected to the TrueNAS shell window and ran this command "sudo dd if=Win10.raw of=/dev/zvol/VM+Pool/Windows_VMs/Win10 bs=1M". When that completed, I created a virtual machine with the "Use existing disk image" setting, and also making sure that the system configs (CPU, RAM, Disk Space, etc) matched what I had for the Windows RAW File. Under "Select Existing zvol" I selected the Win10 zvol. After the VM creation completed, I started the VM and saw that it booted to the UEFI Shell. While Troubleshooting, I noticed that if I selected the "Enable Hyper-V Enlightenments", It would sometimes boot up to the Windows blue recovery screen, but not all the time. I've been working on this all day and cannot find a fix on this forum or with google searches.
When I couldn't get it to work with the vhdx conversion, I also ran through the same steps with the vmdk file, but that didn't work. The folder that has the vmdk file in it, also has a vmx file as well. My virtualization experience is limited so I don't know if the vmx file has something to do with it not working. I'm also new to TrueNAS so I don't know if I did something wrong with the migration process.
Any help would be greatly appreciated. If you need any more information from me or attach logs, let me know. Thanks.
System Information
I first used qemu-img to convert the vhdx to a raw file with this command "qemu-img convert -f vhdx -O raw Win10.VHDX Win10.raw". After the conversion was complete, I created a zvol data and transferred the raw file to a smb share on the TrueNAS server. I connected to the TrueNAS shell window and ran this command "sudo dd if=Win10.raw of=/dev/zvol/VM+Pool/Windows_VMs/Win10 bs=1M". When that completed, I created a virtual machine with the "Use existing disk image" setting, and also making sure that the system configs (CPU, RAM, Disk Space, etc) matched what I had for the Windows RAW File. Under "Select Existing zvol" I selected the Win10 zvol. After the VM creation completed, I started the VM and saw that it booted to the UEFI Shell. While Troubleshooting, I noticed that if I selected the "Enable Hyper-V Enlightenments", It would sometimes boot up to the Windows blue recovery screen, but not all the time. I've been working on this all day and cannot find a fix on this forum or with google searches.
When I couldn't get it to work with the vhdx conversion, I also ran through the same steps with the vmdk file, but that didn't work. The folder that has the vmdk file in it, also has a vmx file as well. My virtualization experience is limited so I don't know if the vmx file has something to do with it not working. I'm also new to TrueNAS so I don't know if I did something wrong with the migration process.
Any help would be greatly appreciated. If you need any more information from me or attach logs, let me know. Thanks.
System Information
- Motherboard make and model
- Unknown
- CPU make and model
- Two Intel(R) Xeon(R) CPU E5-2630 v3 @ 2.40GHz with 8 Cores and 16 Threads each
- RAM quantity
- Six 8GB DDR4 - total 48GB
- Hard drives, quantity, model numbers, and RAID configuration, including boot drives
- TrueNAS OS installed on FlexFlash Controller using two ScanDisk 32GB SD Cards in a RAID 1 mirror config.
- There are 8 bays. 7 bays are in a RAIDz2 config for total 1.22 TiB usable space. These 7 bays have 300GB Toshiba AL14SEB030N HDD’s . The 8th Bay has a Samsung 500GB OCZ-AGILITY3 SSD installed.
- Hard disk controllers
- Cisco 12G SAS Modular Raid Controller
- Network cards
- Intel Ethernet Server Adapter I350-T4 - 4 Interfaces
- Intel(R) I350 1 Gbps Network Controller - 2 Interfaces