[ ModEdit; related ticket: #17506: It should be possible to boot a guest with an unconnected hotplug disk ]
I have a virtual disk (VDI file) on a removable drive (an USB disk) connected to the Windows host. The virtual disk is mounted in the Linux guest only when needed ("noauto" mount option in /etc/fstab). When the removable drive is connected to the host everything works fine. But when the removable drive is not connected I cannot start the virtual machine because I get the following message:
How can I configure VirtualBox so that it starts the guest even if the virtual disk (on the removable drive) is not available?Could not open the medium 'E:\VirtualBoxDisks\Lubuntu-16.04-Backup.vdi'.
VD: error VERR_PATH_NOT_FOUND opening image file 'E:\VirtualBoxDisks\Lubuntu-16.04-Backup.vdi' (VERR_PATH_NOT_FOUND).
Fehlercode:
E_FAIL (0x80004005)
Komponente:
MediumWrap
Interface:
IMedium {4afe423b-43e0-e9d0-82e8-ceb307940dda}
The VDI file is connected by a (virtual) SATA controller in VirtualBox. I already tested to mark the VDI file as "hotplug" but that didn't change anything. I also tested to connect the VDI file by a USB controller (with and without hotplug) but that also didn't change anything.
I use VirtualBox 5.2.4r119785 with a Windows 7 64bit (with Service Pack 1) host and Lubuntu 16.04 64bit (kernel "4.13.0-31-generic #34~16.04.1-Ubuntu SMP") as guest.
Output of "VBoxManage list extpacks":
There is no "VirtualBox USB Driver" in my list of USB drivers of Windows 7 (I tried to install that but was not successful).Extension Packs: 1
Pack no. 0: Oracle VM VirtualBox Extension Pack
Version: 5.2.4
Revision: 119785
Edition:
Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe.
VRDE Module: VBoxVRDP
Usable: true
Why unusable:
Out of the scope of this question only for information: I was not successful in using the USB drive directly in Linux. And I cannot use a shared folder because I need an ext4 file system (with support for hard links).