jaaassh
Dabbler
- Joined
- Apr 23, 2015
- Messages
- 49
I'm not seeing the ability to pass my optical drive through to a guest.
I also tried attaching it directly with VBoxManage, but i'm not getting very far. Has anyone been able to do this?
root@virtualbox:~ # su vbox
$ VBoxManage storageattach win7 --device 0 --port 0 --type dvddrive --storagectl IDE --medium /dev/cd0
VBoxManage: error: The medium '/dev/cd0' can't be used as the requested device type
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Medium, 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 "/dev/cd0"
$ ls -l /dev/cd0
crwxrwxrwx 1 root operator 0x78 Apr 24 00:48 /dev/cd0
$ file /dev/cd0
/dev/cd0: character special
$ mount
boxes/virtualbox on / (zfs, local, nfsv4acls)
I also tried attaching it directly with VBoxManage, but i'm not getting very far. Has anyone been able to do this?
root@virtualbox:~ # su vbox
$ VBoxManage storageattach win7 --device 0 --port 0 --type dvddrive --storagectl IDE --medium /dev/cd0
VBoxManage: error: The medium '/dev/cd0' can't be used as the requested device type
VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component Medium, 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 "/dev/cd0"
$ ls -l /dev/cd0
crwxrwxrwx 1 root operator 0x78 Apr 24 00:48 /dev/cd0
$ file /dev/cd0
/dev/cd0: character special
$ mount
boxes/virtualbox on / (zfs, local, nfsv4acls)