pac wrote:


2010/2/4 Frank Mehnert <frank.mehn...@sun.com <mailto:frank.mehn...@sun.com>>

    On Thursday 04 February 2010, pac wrote:
     > > [...]
     > > VBoxManage storageattach sigest --storagectl "Ide Controller"
    --port 1
     > > --medium
     > > 00445644-0000-0000-2f64-65762f686463 --passthrough on
     > > Result :
     > > Syntax error: Couldn't find the controller with the name: Ide
    Controller
     > > But what is the name of storage controller for storagectl
     > [...]
     > Now the name of storagectl is ok, but I have an error in device
    and port;
     > where are these number ?
     > And medium none is ok ?
     >
     > > This is my showvminfo
     > > [...]
     > > Storage Controller Name (0):            IDE Controller
     > > Storage Controller Type (0):            PIIX4
     > > Storage Controller Instance Number (0): 0
     > > Storage Controller Max Port Count (0):  2
     > > Storage Controller Port Count (0):      2
     > > Storage Controller Name (1):            Floppy Controller
     > > Storage Controller Type (1):            I82078
     > > Storage Controller Instance Number (1): 0
     > > Storage Controller Max Port Count (1):  1
     > > Storage Controller Port Count (1):      1

    Note the controller name ("IDE Controller" versus "Ide Controller")!

    Kind regards,

    Frank


OK, thanks very much ... but now ....
with the command :
VBoxManage storageattach sigest --storagectl "IDE Controller" --type dvddrive --port 1 --device 0 *--medium none* --passthrough on ERROR: No storage device attached to device slot 0 on port 1 of controller 'IDE Controller' Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component Machine, interface IMachine, callee nsISupports Context: "GetMediumAttachment(Bstr(pszCtl), port, device, mattach.asOutParam())" at line 614 of file VBoxManageStorageController.cpp error: Couldn't find the controller attachment for the controller 'IDE Controller'

--medium none means removing the drive at this slot. So no surprise that you can't set the passthrough flag for a non-existing drive.

or with the command :
VBoxManage storageattach sigest --storagectl "IDE Controller" --type dvddrive --port 1 --device 0 --*medium empty *--passthrough on

ERROR: Could not find file for the medium '/home/pacmo/.VirtualBox/HardDisks/empty' (VERR_FILE_NOT_FOUND) Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Medium, interface IMedium, callee nsISupports Context: "OpenDVDImage(Bstr(pszMedium), emptyUUID, dvdMedium.asOutParam())" at line 489 of file VBoxManageStorageController.cpp
error: Invalid UUID or filename "empty"

The usage output for "VBoxManage storageattach" says that you need to specify emptydrive.

One important documentation change was forgotten with 3.1.2. Might be an idea to look at the documentation of 3.1.4_BETA1, as the incorrect samples are now fixed.

Klaus


How can I set : medium port device ??
Kind regards



    --
    Dr.-Ing. Frank Mehnert

    Sitz der Gesellschaft:
    Sun Microsystems GmbH, Sonnenallee 1, 85551 Kirchheim-Heimstetten
    Amtsgericht München: HRB 161028
    Geschäftsführer: Thomas Schröder, Wolfgang Engels
    Vorsitzender des Aufsichtsrates: Martin Häring

    _______________________________________________
    vbox-users mailing list
    vbox-users@virtualbox.org <mailto:vbox-users@virtualbox.org>
    http://vbox.innotek.de/mailman/listinfo/vbox-users



------------------------------------------------------------------------

_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

_______________________________________________
vbox-users mailing list
vbox-users@virtualbox.org
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to