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.

[6.9.2] Running unraid as host and VM - USB passthrough

Featured Replies

Hello everyone.

I am trying to combine two unraid machienes I have been running.

But since Unraid still does not support multiple arrays in a single install, I am trying to run the second unraid in a VM.

 

But when i plug a new unraid USB into the already running system, the USB is not available to be assigned to a VM.

As unassigned disks plugin, says the USB is "array"

image.png.b28e15ef5d92cc82c99f4662fc2a1754.png

The Log tells me what happens:
image.thumb.png.201ec5ef167924431b0ede83b03cb41a.png

 

It seems like the existing unraid picks up the USB unraid, and locks the device, as it now is the active license.

The USB i am using is using a new blank unraid 6.10.3 install, until i know if this would work or not.

 

I already own the two unraid pro licenses.

The host unraid system is currently running Unraid 6.9.2

I can post diagnostics, but i don't know if that would help anyway.

Solved by Struck

  • Community Expert

@Struck

 

You need to change the 2nd USB to be a different volume name and change the syslinux config with the label name.

 

append unraidlabel=UNRAID-VM initrd=/bzroot

 

 

image.thumb.png.5abc85fe58dc5a3b951bb90bf04f8071.png

  • Author
1 hour ago, SimonF said:

@Struck

 

You need to change the 2nd USB to be a different volume name and change the syslinux config with the label name.

 

append unraidlabel=UNRAID-VM initrd=/bzroot

 

 

image.thumb.png.5abc85fe58dc5a3b951bb90bf04f8071.png

Thanks for the informatiopn.

This solved my initial problem.

I followed the video, but the USB does not appear as a boot device in the VM.

I edited the files on thje USB drive, and ran the make_bootable file without any problems.

  • Community Expert
1 minute ago, Struck said:

Thanks for the informatiopn.

This solved my initial problem.

I followed the video, but the USB does not appear as a boot device in the VM.

I edited the files on thje USB drive, and ran the make_bootable file without any problems.

How are you mapping the USB device to the VM?

  • Community Expert
4 minutes ago, Struck said:

Thanks for the informatiopn.

This solved my initial problem.

I followed the video, but the USB does not appear as a boot device in the VM.

I edited the files on thje USB drive, and ran the make_bootable file without any problems.

Is the USB drive the same model as that used by the host?    It is much more convenient if it is not.

  • Author
2 minutes ago, SimonF said:

How are you mapping the USB device to the VM?

Using the USB Manager shown in the video.

I have also tried to assign it using the normal method in the VM settings. 

  • Author
Just now, itimpi said:

Is the USB drive the same model as that used by the host?    It is much more convenient if it is not.

Host is using a HP w165 usb,

VM is using a Sandisk extreme USB.
So different vendor and model.

  • Community Expert
2 minutes ago, Struck said:

Using the USB Manager shown in the video.

I have also tried to assign it using the normal method in the VM settings. 

Are you using ovmf for the bios and have renamed the efi- directory on flash to efi?

  • Community Expert
4 minutes ago, Struck said:

Host is using a HP w165 usb,

VM is using a Sandisk extreme USB.
So different vendor and model.

If that is the case then it should be possible to assign the USB device to the VM simply by editing the VM settings.

  • Author
16 minutes ago, SimonF said:

Are you using ovmf for the bios and have renamed the efi- directory on flash to efi?

image.png.be8dbfb6c4d77c0a15c8d35e49442dee.png

I actually used the USB media creation tool to create the media, but altered the drive label and edited the files afterwards,

Maybe this is not the way to do it.

EFI folder is named as is default, when using the media creation tool.

image.png.7c33504a464d40107f67761a1af564e9.png

 

  • Author

I tried creating the USB with the manual way, of, but I still have the same error.

  • Author
5 minutes ago, SimonF said:

What does the console show?

Cant really find anything about the USB in the Logs for the VM:
image.thumb.png.9a740c854f05e1167edaeba33d4aa984.png

 

Unraid Host logs tells me this:
image.png.a78aa3bde678640b6526fca2f7f2283a.png

  • Community Expert
5 minutes ago, Struck said:

Cant really find anything about the USB in the Logs for the VM:
image.thumb.png.9a740c854f05e1167edaeba33d4aa984.png

 

Unraid Host logs tells me this:
image.png.a78aa3bde678640b6526fca2f7f2283a.png

What about the vnc console? does it just show the uefi boot?

  • Author
3 minutes ago, SimonF said:

What about the vnc console? does it just show the uefi boot?

image.png.0436be165df74dc22fd972098249077b.png

image.png.29e78e1b0113f480731b3cdbbf045a55.png

  • Community Expert
9 minutes ago, Struck said:

image.png.0436be165df74dc22fd972098249077b.png

image.png.29e78e1b0113f480731b3cdbbf045a55.png

Not sure why you are not seeing any devices.

 

image.thumb.png.1d7e009f56ed2455448f1b3c58794d98.png

  • Author
  • Solution

I finally got a breakthrough.
I tried many different settings.
But when I switched the USB Controller from 2.0 EHCI to 3.0 (qemu XHCI) It suddently appeared as a bootable device

image.png.fdb447c35ea171af679c330c07ee3cbc.png

image.png.dea29eefaa0efa9f9b935b41ea0d4138.png

 

I didn't try this earlier, since i expected 2.0 to work better for boot than 3.0.

Thanks for all your guys help so far

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.