VirtualBox

Ticket #11165 (closed enhancement: worksforme)

Opened 18 months ago

Last modified 7 weeks ago

Please make it easier to mount the Additions ISO via VBoxManage => Fixed in SVN

Reported by: KenSharp Owned by:
Priority: trivial 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

comment:1 Changed 16 months ago by frank

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 Changed 16 months ago by frank

  • Summary changed from Please make it easier to mount the Additions ISO via VBoxManage to 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:3 Changed 16 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fix is part of VBox 4.2.6.

comment:4 Changed 11 months ago by joelawson

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 follow-up: ↓ 6 Changed 3 months ago by KenSharp

  • Status changed from closed to reopened
  • Resolution fixed deleted

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 3 months ago by frank (previous) (diff)

comment:6 in reply to: ↑ 5 Changed 3 months ago by frank

Replying to KenSharp:

Note: this thing really doesn't like newlines.

Sorry, that's not true, see here.

comment:7 Changed 3 months ago by frank

Which host is this and what is the output of

VBoxManage list systemproperties

?

comment:8 Changed 7 weeks ago by frank

  • Status changed from reopened to closed
  • Resolution set to worksforme

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

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use