deebeo Posted October 27, 2022 Share Posted October 27, 2022 (edited) 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: Edited October 27, 2022 by deebeo Quote Link to comment
deebeo Posted October 27, 2022 Author Share Posted October 27, 2022 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, Quote Link to comment
JorgeB Posted October 27, 2022 Share Posted October 27, 2022 If it's an NVMe device just pass it through to the VM. 1 Quote Link to comment
deebeo Posted October 27, 2022 Author Share Posted October 27, 2022 Thanks for the heads-up will try this later. Quote Link to comment
Recommended Posts
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.