VirtualBox

Opened 11 years ago

Closed 10 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 Frank Mehnert, 11 years ago

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.

comment:2 by Frank Mehnert, 11 years ago

Summary: Please make it easier to mount the Additions ISO via VBoxManagePlease 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:3 by Frank Mehnert, 11 years ago

Resolution: fixed
Status: newclosed

Fix is part of VBox 4.2.6.

comment:4 by joelawson, 11 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"

comment:5 by Ken Sharp, 10 years ago

Resolution: fixed
Status: closedreopened

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.

Last edited 10 years ago by Frank Mehnert (previous) (diff)

in reply to:  5 comment:6 by Frank Mehnert, 10 years ago

Replying to KenSharp:

Note: this thing really doesn't like newlines.

Sorry, that's not true, see here.

comment:7 by Frank Mehnert, 10 years ago

Which host is this and what is the output of

VBoxManage list systemproperties

?

comment:8 by Frank Mehnert, 10 years ago

Resolution: worksforme
Status: reopenedclosed

No response, closing (also because it works here).

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use