Code: Select all
vboxmanage storageattach testvm --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium "~/VirtualBox VMs/testvm/testvm-disk01.vdi"
Code: Select all
vboxmanage storageattach testvm --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium "~/VirtualBox VMs/ubuntu-14.04.3-server-amd64.iso"
Why isn't the second command working?VBoxManage: error: Could not find file for the medium '/Users/nate/~/VirtualBox VMs/ubuntu-14.04.3-server-amd64.iso' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium, callee nsISupports
VBoxManage: error: Context: "OpenMedium(Bstr(pszFilenameOrUuid).raw(), enmDevType, enmAccessMode, fForceNewUuidOnOpen, pMedium.asOutParam())" at line 178 of file VBoxManageDisk.cpp
VBoxManage: error: Invalid UUID or filename "~/VirtualBox VMs/ubuntu-14.04.3-server-amd64.iso"v