bobbintb Posted May 1, 2016 Share Posted May 1, 2016 I made a little update to the wiki. Feel free to make any corrections, ask questions, or make any comments. This guide will show you how to take an existing physical drive with Windows already installed and use it in a VM so you won't need to start from scratch/reinstall Windows or use a virtual drive. http://lime-technology.com/wiki/index.php/UnRAID_6/VM_Management#Using_a_physical_disk_in_a_VM.2C_including_one_with_an_OS_already_installed Quote Link to comment
itimpi Posted May 1, 2016 Share Posted May 1, 2016 You mention using the /dev/sdX devices directly in the XML. Would it not be better to go the /dev/by-id or /dev/by-label routes as these are valid even if the sdX numbers change. Quote Link to comment
bobbintb Posted May 1, 2016 Author Share Posted May 1, 2016 You mention using the /dev/sdX devices directly in the XML. Would it not be better to go the /dev/by-id or /dev/by-label routes as these are valid even if the sdX numbers change. Probably but I didn't test it that way. Could you use the entire disk that way or would that limit you to one partition? Quote Link to comment
SpaceInvaderOne Posted May 2, 2016 Share Posted May 2, 2016 you can passthrough whole disk or specify the partition. eg. whole disk would be <source dev='/dev/disk/by-id/ata-ST3500312CS_9VVERKB1'/> whilst for partion 1 would be <source dev='/dev/disk/by-id/ata-ST3500312CS_9VVERKB1-part1'/> the ata-ST3500312CS_9VVERKB1 part change that to ata-yourdeviceid The problem with using sdx is that they can change on reboot Quote Link to comment
Ponpont Posted February 15, 2021 Share Posted February 15, 2021 Hi, Thank you for that ! I Successfully add a physical drive but it seems not to be mounted in Windows environnement. I see the drive in disk manager on windows and drive space on unraid VM manager but I can't acess folder in files inside (I don't see it in Windows) There is files on it and I can't loose them Thanks for the help Quote Link to comment
Vetteman Posted December 29, 2023 Share Posted December 29, 2023 On 4/30/2016 at 9:23 PM, bobbintb said: I made a little update to the wiki. Feel free to make any corrections, ask questions, or make any comments. This guide will show you how to take an existing physical drive with Windows already installed and use it in a VM so you won't need to start from scratch/reinstall Windows or use a virtual drive. http://lime-technology.com/wiki/index.php/UnRAID_6/VM_Management#Using_a_physical_disk_in_a_VM.2C_including_one_with_an_OS_already_installed I was interested in using an SSD with Windows 10 already installed that I pulled out of my Windows 10 computer as I am installing a trial version of Unraid and was wondering if I could use the SSD with the Windows 10 install as a vm. I found this thread and got excited (but not as excited as the St Louis Blues win over Dallas Stars the other night) only to find the wiki link no longer works. Quote Link to comment
bobbintb Posted December 30, 2023 Author Share Posted December 30, 2023 On 12/29/2023 at 12:34 PM, Vetteman said: I was interested in using an SSD with Windows 10 already installed that I pulled out of my Windows 10 computer as I am installing a trial version of Unraid and was wondering if I could use the SSD with the Windows 10 install as a vm. I found this thread and got excited (but not as excited as the St Louis Blues win over Dallas Stars the other night) only to find the wiki link no longer works. I think there are still some things that need to be cleaned up from the old wiki. Try the Wayback Machine: https://web.archive.org/web/20190805074914/https://wiki.unraid.net/index.php/UnRAID_6/VM_Management#Using_a_physical_disk_in_a_VM.2C_including_one_with_an_OS_already_installed Quote Link to comment
tiiteri Posted August 20 Share Posted August 20 Thank you, using the wayback machine and the old wiki article I was able to fix a broken vm which didnt want to boot from it's assigned SSD. For some reason after a Windows update the vm lost the whole block of data containing the disk id. 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.