Stupifier Posted July 27, 2019 Share Posted July 27, 2019 (edited) I have an external SSD USB Drive which I've already setup as a portable bootable live linux distro (Slackware-Based Porteus). http://www.porteus.org/ How can I create a VM in unraid which runs off of this external SSD USB Drive? Basically, this will serve as my Personal Portable OS.......But I would also like to just plug it into my Unraid home server box and fire it up as in a VM...this way I can work with it at home also. Also would be nice to have a way to test Live Boot USB Drives. Edited July 28, 2019 by Stupifier Quote Link to comment
Stupifier Posted July 28, 2019 Author Share Posted July 28, 2019 (edited) Connecting a bootable USB drive to KVM or VirtualBox virtual machine on Linux I found this article which outlines how to do it using KVM or VirtualBox....and I know Unraid VM environment is KVM BUT.... There is a step here I do not know how to do using the Unraid VM template.....It asks to point the OS Install path directly to the USB Drive path instead of an ISO file. In Unraid....it ONLY appears allow me to choose an ISO file for this field. Any ideas? Edited July 28, 2019 by Stupifier Quote Link to comment
GHunter Posted July 28, 2019 Share Posted July 28, 2019 I believe you can manually type in your own path to whatever source you want. Give it a try and let us know. Quote Link to comment
Stupifier Posted July 29, 2019 Author Share Posted July 29, 2019 17 hours ago, GHunter said: I believe you can manually type in your own path to whatever source you want. Give it a try and let us know. Figured it out. Thanks! Your tip led me in the right direction Quote Link to comment
frakman1 Posted September 30, 2019 Share Posted September 30, 2019 @Stupifier Can you share with us what you did to get it to work? Do you have to first mount the usb drive in the Main page, then use /dev/sdX? Quote Link to comment
Stupifier Posted September 30, 2019 Author Share Posted September 30, 2019 (edited) Sort of. Plug in the USB Drive Mount it (I think I mounted it for this......if that doesn't work, try NOT mounting it) Go to create your VM template. Set whatever you want for CPUs, Memory, etc..... For BIOs....try both (I had to use SeaBIOS) For USB Controller, I used the 3.0 one so I would get the faster speed In terminal, run ls -lha /dev/disk/by-id/ Find your USB Drive in that list and copy the ENTIRE name. Use that name for your Manual vDisk Location. For example, I put this in my VM template. It must be the entire USB drive...no part stuff /dev/disk/by-id/usb-SanDisk_Extreme_SSD_313931383039343032383934-0:0 Primary vDisk Type: raw Primary vDisk Bus: USB Graphics Card: VNC Here is a screenshot of my VM Template Edited September 30, 2019 by Stupifier 1 1 Quote Link to comment
Rikki88 Posted May 9, 2020 Share Posted May 9, 2020 Perfect, worked like a charm. I've followed your steps and managed to install Windows 10 Pro from USB. I had to create two disk first. Primary was manual with my USB Key Location / ID with vdisk BUS as USB. Secondary with 60GB and vdisk BUS as IDE. I wanted to test and quickly get windows 10 on Unraid. I was straggling with getting my other nas or usb to be mounted to copy my iso's over. Hence why I've chosen this method. For some reason, Secondary vdisk 60GB set as Sata or VirtIO won't work and Windows 10 was asking for the drivers. Thanks for your steps. 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.