Jump to content

Unraid in VirtualBox not working, please help!

Go to solution Solved by Jarsky,

Heres the steps

Made a VHD in Disk Management called UNRAID-USB-VHD.vhd (this can be small, even just 1GB)

I downloaded UnRAID Flash Creator and created a bootable usb of the latest UnRAID 6.9.2

I ran the make-bootable.bat script just to be sure it was bootable. 

I copied all the files from the USB key to UNRAID-USB-VHD.vhd. Ejected the Virtual disk. 

Created the VM as type Linux / Other Linux (64-bit)

Attached the .VHD as the primary disk and attached the USB, changed the USB controller and started UnRAID.  

 

If youre using USB 2.0 ports on your computer, then you need to set the USB Controller to 2.0

 

Edit: I think i also renamed the virtual disk to UNRAID temporarily to run the make-bootable script on that also, and renamed it back

@Jarsky I created the virtual drive from windows disk management as a master boot, the drive is labeled as UNRAID because running the make-bootable.bat will not run unless it is. At some point I did something which caused no ip to be given at all. Are you yourself running an actual USB drive? 

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, Camerons343 said:

@Jarsky I created the virtual drive from windows disk management as a master boot, the drive is labeled as UNRAID because running the make-bootable.bat will not run unless it is. At some point I did something which caused no ip to be given at all. Are you yourself running an actual USB drive? 

So thats a VHD, not a Virtual USB device. You need an actual UMS device mounted. 

You can rename the VHD e.g UNRAID-VHD.vhd but you will still need an actual USB key named UNRAID for the licence and libmodules for it to start properly. 

 

This is how I made it run

 

image.png.7727aed801fa5b8b6b6446207ad8c670.png

 

image.png.38937721d393221b01dc8c6f41fde7b6.png

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

@Jarsky I just went out and purchased a USB flash drive to further test, I ran the command to link the physical drive to a .vmdk file and now virtual box is telling me its not a bootable drive. Could you by chance explain your steps when you were testing to see where I'm going wrong?

Link to comment
Share on other sites

Link to post
Share on other sites

When trying to boot from USB I can hear windows dismount it then remount it after I close the virtual machine but it tells me this.

3b5e4a4c27a7744bfa5c25cef6849d63.png

Link to comment
Share on other sites

Link to post
Share on other sites

2 hours ago, Camerons343 said:

7198efac877002ee4fd4a021c7f70fae.png

Make sure you install VirtualBox Guest Additions if you havent already. I assume this is a USB 3.0 stick in a USB 3.0 port, so in your VM change the USB controller mode to USB 3.0 (xHCI) Controller. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

2 minutes ago, Camerons343 said:

How do i install the guest additions if it wont even boot up?

 

Sorry i mean the Extension Pack https://www.virtualbox.org/wiki/Downloads

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

I already had that installed and just reinstalled it, I'm running the most up to date version of VirtualBox as well. Still though I get unable to read boot medium.

Link to comment
Share on other sites

Link to post
Share on other sites

4 minutes ago, Camerons343 said:

I already had that installed and just reinstalled it, I'm running the most up to date version of VirtualBox as well. Still though I get unable to read boot medium.

 

Did you change the USB controller in your VM configuration?

 

1 hour ago, Jarsky said:

I assume this is a USB 3.0 stick in a USB 3.0 port, so in your VM change the USB controller mode to USB 3.0 (xHCI) Controller. 

 

image.png.d7bcbd96874751c29ae8931f49bb1800.png

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

So in the first image thats a vmdk file I made that points to the physical drive itself, when I did some research online it said to boot from a physical drive you had to point to it. I then attached the USB drive to the VM because when its not attached it says whats in the third image.

122998cec16e7c5ba8b76fbab2efcd0d.png

fe2003a3606325f65f518c33b00f53f2.png

2b8641107c922b3a561670dd327ded02.png

Link to comment
Share on other sites

Link to post
Share on other sites

Heres my VM configuration

 

image.png.30a1a50b8cbcee8297bf8b366ae3ecfc.png

image.png.55ce1ea8775ad50706051d06e5e53726.png

image.png.fcca92cd4cd82f8d1c228716fd9b5637.png

 

 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

What exactly is on your VHD? would yo by chance be willing to remote on to look at it. I know thats probably a strange request.

Link to comment
Share on other sites

Link to post
Share on other sites

Heres the steps

Made a VHD in Disk Management called UNRAID-USB-VHD.vhd (this can be small, even just 1GB)

I downloaded UnRAID Flash Creator and created a bootable usb of the latest UnRAID 6.9.2

I ran the make-bootable.bat script just to be sure it was bootable. 

I copied all the files from the USB key to UNRAID-USB-VHD.vhd. Ejected the Virtual disk. 

Created the VM as type Linux / Other Linux (64-bit)

Attached the .VHD as the primary disk and attached the USB, changed the USB controller and started UnRAID.  

 

If youre using USB 2.0 ports on your computer, then you need to set the USB Controller to 2.0

 

Edit: I think i also renamed the virtual disk to UNRAID temporarily to run the make-bootable script on that also, and renamed it back

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

24 minutes ago, Camerons343 said:

Did you by chance run into this?

 

Nope haven't had that

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

  • 3 months later...
On 11/11/2021 at 3:10 AM, Jarsky said:

Heres the steps

Made a VHD in Disk Management called UNRAID-USB-VHD.vhd (this can be small, even just 1GB)

I downloaded UnRAID Flash Creator and created a bootable usb of the latest UnRAID 6.9.2

I ran the make-bootable.bat script just to be sure it was bootable. 

I copied all the files from the USB key to UNRAID-USB-VHD.vhd. Ejected the Virtual disk. 

Created the VM as type Linux / Other Linux (64-bit)

Attached the .VHD as the primary disk and attached the USB, changed the USB controller and started UnRAID.  

 

If youre using USB 2.0 ports on your computer, then you need to set the USB Controller to 2.0

 

Edit: I think i also renamed the virtual disk to UNRAID temporarily to run the make-bootable script on that also, and renamed it back

Any more specifics you could give? Followed everything but when I start the vm just get a flashing cursor, ( _ ). Can't type or do anything.   

Link to comment
Share on other sites

Link to post
Share on other sites

The problem was when formatting the VHD it needs to be FAT32. I did get the same "Error accessing your physical USB Flash boot device" but it seems to be running normally.  

Link to comment
Share on other sites

Link to post
Share on other sites

I should note I could not figure around the "Error accessing your physical USB Flash boot device" witch means you can't get a 30 day or payed license so you can't start the array. Without an array you can't really do anything un unraid. Had to switch to testing with an old pc since I want the machine I want to deploy unraid on to be up and accessible in the mean time. I did try asking on the unraid forms and discord but they don't seem to like running unraid in a vm.

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, Joe Bozo said:

I should note I could not figure around the "Error accessing your physical USB Flash boot device" witch means you can't get a 30 day or payed license so you can't start the array. Without an array you can't really do anything un unraid. Had to switch to testing with an old pc since I want the machine I want to deploy unraid on to be up and accessible in the mean time. I did try asking on the unraid forms and discord but they don't seem to like running unraid in a vm.

 

You won't get support on that as its not a supported configuration to run it in a VM. But above we discussed how to do a hybrid deployment. The configuration above loads the base files off the VHD, but you are still required to have a USB stick with the Label "UNRAID" to load some of the required files including the license. 

 

Make sure if you're doing this setup you're using an actual USB key and not say a USB SD card reader, as the vast majority of those are have banned UIDs. 

 

You'll see Cameron had that error as well, where I did not have that error, not sure ultimately what the difference was if he followed my steps. 

I can't give any more specifics than whats in the above post you quoted, as I only set that up to help with getting this working. Thats not a configuration I personally run day to day. I do have virtualised hypervisors, but not UnRAID. 

Spoiler

Desktop: Ryzen9 5950X | ASUS ROG Crosshair VIII Hero (Wifi) | EVGA RTX 3080Ti FTW3 | 32GB (2x16GB) Corsair Dominator Platinum RGB Pro 3600Mhz | EKWB EK-AIO 360D-RGB | EKWB EK-Vardar RGB Fans | 1TB Samsung 980 Pro, 4TB Samsung 980 Pro | Corsair 5000D Airflow | Corsair HX850 Platinum PSU | Asus ROG 42" OLED PG42UQ + LG 32" 32GK850G Monitor | Roccat Vulcan TKL Pro Keyboard | Logitech G Pro X Superlight  | MicroLab Solo 7C Speakers | Audio-Technica ATH-M50xBT2 LE Headphones | TC-Helicon GoXLR | Audio-Technica AT2035 | LTT Desk Mat | XBOX-X Controller | Windows 11 Pro

 

Spoiler

Server: Fractal Design Define R6 | Ryzen 3950x | ASRock X570 Taichi | EVGA GTX1070 FTW | 64GB (4x16GB) Corsair Vengeance LPX 3000Mhz | Corsair RM850v2 PSU | Fractal S36 Triple AIO + 4 Additional Venturi 120mm Fans | 14 x 20TB Seagate Exos X22 20TB | 500GB Aorus Gen4 NVMe | 2 x 2TB Samsung 970 Evo Plus NVMe | LSI 9211-8i HBA

 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×