Opened 12 years ago
Closed 11 years ago
#11165 closed enhancement (worksforme)
Please make it easier to mount the Additions ISO via VBoxManage => Fixed in SVN
Reported by: | Ken Sharp | Owned by: | |
---|---|---|---|
Component: | VM control | Version: | VirtualBox 4.2.4 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
After installing VBox from the .deb the Additions ISO is stored in /usr/share/virtualbox. I did not know this, however, and had to find it myself.
It would be more user friendly if I could simply issue a command to mount this automatically:
"VBoxManage additions "My VM" mountiso"
Change History (8)
comment:1 by , 12 years ago
comment:2 by , 12 years ago
Summary: | Please make it easier to mount the Additions ISO via VBoxManage → Please make it easier to mount the Additions ISO via VBoxManage => Fixed in SVN |
---|
Actually the next maintenance release will contain the special case 'VBoxManage storageattach --medium additions' for that case.
comment:4 by , 12 years ago
This seems broken on the mac.
~$VBoxManage -version 4.2.12r84980
If I try with the additions medium I get --type must be specified ie:
~$VBoxManage storageattach "ubuntu" --storagectl sata --port 3 --medium additions
VBoxManage: error: Argument --type must be specified
If I try with type (which shouldn't be necessary):
~$ VBoxManage storageattach "ubuntu-vagrant" --storagectl sata --port 3 --medium additions --type dvddrive
VBoxManage: error: Could not find file for the medium '/Users/blah/additions' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), 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 "additions"
follow-up: 6 comment:5 by , 11 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Indeed, this doesn't work at all.
VBoxManage storageattach "Windows XP" --medium additions --storagectl "IDE Controller" --port 1 --device 1 --type dvddrive VBoxManage: error: Could not find file for the medium '/tmp/additions' (VERR_FILE_NOT_FOUND) VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), 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 "additions" $ VBoxManage -version 4.3.6r91406
Note: this thing really doesn't like newlines.
comment:6 by , 11 years ago
comment:7 by , 11 years ago
Which host is this and what is the output of
VBoxManage list systemproperties
?
comment:8 by , 11 years ago
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
No response, closing (also because it works here).
That's a nice idea. OTOH, there must be some decision made to which CDROM drive the .iso image should be mounted if more than one drive is available.