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.

[SOLVED] VM booting Windows already installed in my physical SSD - need direction with a couple of settings

Featured Replies

Hallo everybody. As the title suggests, I'm trying to boot my already installed Windows 10, occupying a single SSD, using it as a drive in a Unraid VM.

I'm trying to follow those instructions, very useful so far:

 

On this menu, however, I have a couple of settings that in the video are missing:

image.thumb.png.ba8ea6f36959aa497ee9c19aa3101a95.png

 

Of course, they scares me out of my pants! What I should choose? In the primary Vdisk Size MAYBE I could put the actual size of my SSD (as in the picture I did), but I don't know what that Type means (raw/qcow2).

I don't want to go on, 'cause I'm scared of Unraid erase the SSD when I create the VM.

Can you help me with those settings?

Thanks in advance, and have a great new year!

 

Edited by Andrea P.
Changed the title to Solved

18 minutes ago, Andrea P. said:

On this menu, however, I have a couple of settings that in the video are missing:

Just not fill that fields.

Leave the vdisk size blank.

vDisk is a virtual disk (a file), that it could be created in the path of primary vdisk location; in this case you are not going to use any vdisk, so fill only the path of primary vdisk location, set it to manual and point the path to the id of the real disk.

 

After you complete the settings, you can double check that the xml is saved correctly, switch to advanced xml view and check the disk block, it should look something like this:

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/YOURDISKID'/>
      <target dev='hda' bus='virtio'/>
    </disk>

 

If you don't add any other disk, check that there are no other disk blocks apart that.

By doing this you are going to attach a real disk to a virtual controller, in the example above, a virtio controller; if you want you can change that value according to your needs, for example you may want to change it to sata:

      <target dev='hda' bus='sata'/>

 

Edited by ghost82

I noticed you have a '@' in your by-id path: are you sure the path is correct?

You need to delete the '@'

Edited by ghost82

  • Author
17 minutes ago, ghost82 said:

You need to delete the '@'

Yeah, I inadvertently copypasted from the bash terminal, along with the disk ID. 

Also, when I removed that @, Unraid removed those two options I was baffled with. However, it was interesting to know what are used for.

  • Andrea P. changed the title to [SOLVED] VM booting Windows already installed in my physical SSD - need direction with a couple of settings
  • Author

PS: incidentally, I can't boot the VM. I'll try to understand if the problem is the type of Bios, or maybe the Vdisk Bus choice.

Also, it's weird the Capacity / Allocation shown in the VM summary screen:

image.thumb.png.40a26969462737f10ee18090c98830e6.png

That's a 480GB SSD, indeed.

 

Edited by Andrea P.

For an existing installation use 'sata' as the virtual controller, it's easier, since virtio drivers aren't included in windows and you need to inject them; sata drivers are already included.

Check the partitions on your disk or boot an uefi shell from ovmf bios and map the partitions to understand if your windows installation is legacy or uefi.

  • 2 years later...
On 1/1/2022 at 6:12 AM, ghost82 said:

Just not fill that fields.

Leave the vdisk size blank.

vDisk is a virtual disk (a file), that it could be created in the path of primary vdisk location; in this case you are not going to use any vdisk, so fill only the path of primary vdisk location, set it to manual and point the path to the id of the real disk.

 

After you complete the settings, you can double check that the xml is saved correctly, switch to advanced xml view and check the disk block, it should look something like this:

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/YOURDISKID'/>
      <target dev='hda' bus='virtio'/>
    </disk>

 

If you don't add any other disk, check that there are no other disk blocks apart that.

By doing this you are going to attach a real disk to a virtual controller, in the example above, a virtio controller; if you want you can change that value according to your needs, for example you may want to change it to sata:

      <target dev='hda' bus='sata'/>

 

This worked great for me. One caveat, is I did have to boot a freshly cloned drive on a bare metal PC one time before it would boot in Unraid as a VM. So if you are getting 'BOOT DEVICE INACESSIBLE" blue screen. Try booting the guest VM on bare metal one time first

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.