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.

[SOLVED] Ugh - Passed through USB boot drive to autostart VM

Featured Replies

I was trying to pass through the USB ports to a Windows VM and didn't realize I had also passed through the Unraid boot USB. Unfortunately the VM is set to autostart. I have a somewhat recent backup, but do I have any other options since I have made a lot of progress over the past few days on VMs and dockers? Is there any XML I can change or isos I can rename (I have seen this suggested a couple places, but don't know how)? I have searched all over but am a bit lost on this. Any help is appreciated.

  • Community Expert

Disable array auto-start by editing disk.cfg on your flash drive (config/disk.cfg) and changing startArray="yes" to "no", VMs won't auto-start if the array is started manually.

  • Author

Unfortunately I still appear to be losing USB connectivity after changing the disk config. Unraid boots up and gets to the tower login, but the keyboard does not appear to be connected. I cannot remote into the GUI either. I have double checked that the disk config reads startArray=no. I have tried booting in every mode possible (GUI and safe mode) but the USB keyboard/mouse cuts off.

 

Could the VM still be starting up, cutting off the UNRAID disk and all USB ports? Or am I misunderstanding the process to fix this? I managed to get the VM tweaked almost perfectly through these forums and SpaceInvaderOne videos, but then made a stupid mistake at the last second. If it will be easier to go to the backup of the UNRAID drive, I could go that route and start over with the migration of a Plex docker and VM setup. As always, any help is greatly appreciated.

  • Community Expert
12 minutes ago, JukeBug said:

Could the VM still be starting up, cutting off the UNRAID disk and all USB ports?

Not with autostart disable.

  • Community Expert

Maybe you're binding the USB devices?

  • Author

I believe you are on to something with the binding of USB devices since I was using the VFIO-PCI Config app without fully understanding it. I apologize I am not knowledgeable enough on the topic, but is there a way to 'unbind' the USB devices in my current state?

  • Community Expert
9 minutes ago, JukeBug said:

I was using the VFIO-PCI Config app without fully understanding it. I apologize I am not knowledgeable enough on the topic

Me neither with that, maybe someone else can help, if you are using the plugin you can ask in the plugin support thread.

  • Author

Thank you for pointing me in the right direction! I never would have figured that out on my own. The plugin support thread alerted me which file to delete in the config folder, so I am now able to remote into the GUI again. This community is so great because of people like you.

 

In case anyone stumbles across this thread after making the same boneheaded mistake I did, you can safely delete the /config/vfio-pci.cfg file on the unraid drive to remove any changes made by the VFIO PCI Config app.

  • JorgeB changed the title to [SOLVED] Ugh - Passed through USB boot drive to autostart VM
  • 1 year later...

I ended up in the same spot and you just saved my day. Thank you for sharing the solution.

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.