Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need help converting a W10 to a VM

Featured Replies

Hello, I have a physical disk with a Windows 10 installed, which I'm trying to convert to a virtual disk and boot it in a VM in Unraid.

I do have access to it, it's mounted on the same machine as Unraid, and I could even boot to it if necessary.

 

First I tried using VHD2Disk to obtain a .VHD file which I converted to a .img file using qemu, and I called it "RICARD-PC.img". My first attempt was with this config:

 

imagen.png.5fd9f2088778115b313ffa0677ad16d3.png

 

When I tried to boot it, I got this error page (in Spanish, sorry):

 

imagen.thumb.png.008048db5fe1ac9e76179cf867fcc32f.png

 

 

I then tried to follow this guide 

 

And also this other (oficial?) guide

https://docs.unraid.net/unraid-os/guides/convert-windows-to-vm/

 

I tried the "qemu-img convert" command to generate a new .img directly in unraid, from the not-booted/mounted original drive, which I called "RICARD-PC_qemu.img".

 

I tried with some options from those guides: setting the Primary vDisk Bus to SATA, change the BIOS to OVMF (since otherwise it was stuck at "Booting from Hard Disk") etc, but I can't get anything to work. Here's an example of a config I tried:

 

imagen.png.e2bb329e58ff806bf0dcbb1cbeb4c006.png

 

But no matter what, I always get this page:

imagen.thumb.png.1c11671dd1e8005d0aa8181d1c4a21de.png

 

I read about writing "exit" and then "continue", I even tried looking at the Boot manager of the BIOS:

imagen.png.f2ef3f0c2a97170dbbd1efbb0e0d12cd.png

 

But after "continue", I get back to the black "UEFI" screen, and the loop starts again...

 

I read several guides/tutorials, and tested some changes but I don't know what else to do.

 

I'll appreciate some help, thank you.

Solved by Dsiefus

  • Author

One thing to note that I remembered, is that that Windows was installed using Legacy BIOS (MBR)

I've had better luck doing a disk image backup from the running bare metal machine, then doing a restore to the VM. Acronis has some advanced migration options that help with moving a windows install to what is basically new hardware.

  • Author
  • Solution

I ended up booting the windows, and using mbr2gpt.exe to convert the disk to MBR, and THEN use qemu to create a .img, and using OVMF BIOS and SATA for the disk.

I saw no (at least obvious) way to make it work with it being MBR.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.