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.

How to use unassigned devices-drive as primary vdisk in Windows VM

Featured Replies

Hi Everyone, 

 

I would like to use the Win11 Installation on my PC in two ways

1. Boot directly to Windows 

2. Boot to unraid and start same Windows in a VM

 

In order to realise 2. I need some kind of way to use the Windows HD as a primary Vdisk in the VM configuration.

 

I already read that the disk needs to be mounted, which it is. Do I need to put the device or only the partition into the vdisk definition? What kind of Vdisk Bus do I have to use? 

 

Right now im getting the error message

 

Cannot access storage file '/mnt/disks/50026B7684AE8FDD-part3': No such file or directory

 

Im guessing "disk type='file'" my be wrong?

 

Any Help would be greatly appreciated.

 

Here is the VM config I tried last: 

  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/disks/50026B7684AE8FDD-part3/'/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>

Here ist the definition of my drive:

723343098_2022-10-2708_24_09-unraid_Main.thumb.png.caa98948392a5a8d67acd29e16dc97a8.png

Edited by deebeo

  • Author

this seems to do the trick: 

  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/nvme1n1' index='2'/>
      <backingStore/>
      <target dev='hdc' bus='sata'/>
      <boot order='1'/>
      <alias name='sata0-0-2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='2'/>
    </disk>

 unfortunately windows is all going crazy with security problems and is also missing internet. Probably due to missing virtio drivers. will try do install them during normal boot,

If it's an NVMe device just pass it through to the VM.

  • Author

Thanks for the heads-up will try this later. 

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.