You can now add the share.vmdk file as a second drive in your virtual machine. ![]() The permissions may revert, if you restart the computer or eject the external USB drive. Note: The effects of the sudo chmod go+rw /dev/disk1* command are temporary. Vboxmanage internalcommands createrawvmdk -filename "$PWD/share.vmdk" -rawdisk /dev/disk1 I assume the identifier of the external drive is disk1. This file will be stored in the folder named Share on the your Desktop. ![]() The following Terminal application commands create the file share.vmdk needed to access the external USB drive as a virtual SATA drive. Accessing the External USB Drive as a Virtual SATA Drive All I had to do is execute the diskutil unmountdisk /dev/disk1Ĭommand while the virtual machine was running. For example, say the identifier is disk1, then the command to execute, just before you start the virtual machine, would be diskutil unmountdisk /dev/disk1Īctually, I was able to gain access to the USB flash drive after starting the virtual machine. To determine the identifier for the external USB drive. Use the Terminal application command diskutil list The timing is very important, since OS X will try to remount the drive automatically. ![]() Unmount the USB drive before starting the virtual machine. Below is where I added a 2 GB USB flash drive.Īn alternative to ejecting the USB external drive would be the following: In the Ports window pane, I do not see where you have added a USB Device Filter. This enables support for USB 2.0 and USB 3.0 devices, VirtualBox RDP and PXE boot for Intel cards. I assume the you have downloaded and installed the "Oracle VM VirtualBox Extension Pack".
0 Comments
Leave a Reply. |