scottgus1 wrote: ↑17. Aug 2023, 17:12
ejstubbs wrote: ↑17. Aug 2023, 15:22
somehow, I did manage to use that USB drive to install Windows 7 64-bit on a bare VM a few days ago.
If the host OS remains in control of the USB connection to the DVD drive, then Virtualbox will merely see it as a host DVD drive, mirror the inserted disc into the VM's CD drive, and allow the VM to boot from the host DVD drive. Virtualbox will allow the VM to pass a host CD/DVD drive into the VM's CD drive regardless of how the drive is connected to the host. This is not USB Filtering, so doesn't require the Virtualbox 7.0 & Apple USB sudo glitch going on for now.
Aha: I can see the host drive in the list under the "Devices" menu, and the list provided by the UI 'mini icon'. However, selecting the host drive from either of those menus has no effect - the 'mini icon' stays grey, and no disc shows up in the guest VM's CD drive.
But if I select the host drive via the Settings interface on the VB GUI (which you can do 'on the fly' i.e. without having to power off the VM) it appears on the guest VM (and disappears from the host desktop) and works just fine. Which strikes me as being a little odd, but at least there is a more or less painless way to get it to work.
Oh, except that it's now stopped working: this time around, when I try to connect to the drive via the GUI with the guest running, I'm getting:
Code: Select all
Failed to save the settings.
The object is not ready.
Result Code:E_ACCESSDENIED (0X80070005)
Component:MediumWrap
Interface:IMedium {ad47ad09-787b-44ab-b343-a082a3f2dfb1}
Callee:IMachine {300763af-5d6b-46e6-aa96-273eac15538a}
The DVD is sitting there on my Mac desktop, so it
looks ready to me, but obviously not to VB.
FWIW I was getting the same error when trying to connect the drive via the GUI when the guest was powered off.
So unless I'm missing something obvious that I'm doing wrong, I'd say that it's still somewhat, er...temperamental. No wonder I couldn't remember how I'd got it to work before, is it doesn't actually seem to do it reliably...
The guest is Windows 10 32-bit, the host is macOS Monterey 12.6.8 and the VB version is 7.0.8r156879. Log of the last session is attached:
EDIT TO ADD: Seems to be working again now, having quit the VB GUI and restarted it. With the guest powered off I attached the host drive to the guest CD drive in the GUI and started up the guest. It actually asked whether I wanted it to boot from the DVD, which was kind of a welcome surprise. I let it continue to boot from the vdi and there was the DVD all mounted and ready to use - and disappeared from the host desktop. I was able to remove the DVD from the virtual drive via the Devices menu - at which point it reappeared on the host desktop - and attach it again via the 'mini icon' menu. So basically it all seems to be working properly now. Looks like one of VB, macOS, or me, got their knickers in a twist before...