Dick Davies wrote:
This used to work, and now it fails while trying to attach  the ISO image.
Is there a workaround?

Did you check the docs? --dvd is deprecated in VirtualBox 3.1.0 and thus no longer shows up in the docs (it only intended for backwards compatibility with VMs configs which existed before).

Also, VMs are now created completely without any storage controllers or drives attached by default.

See VBoxManage storagectl and VBoxManage storageattach.


# create a VM
VBoxManage createvm --name sunny --ostype Solaris -register

# create a disk and attach it
HDD=/Users/sisred-pub/VirtualBox/Disks/sunny.vdi
VBoxManage createhd -filename  $HDD -size 6000 -register
VBoxManage modifyvm sunny --hda $HDD

# attach the Solaris ISO and boot it
VBoxManage modifyvm sunny --boot1 disk --boot2 dvd
# THE NEXT LINE FAILS
VBoxManage modifyvm sunny --dvd
/Users/sisred-pub/VirtualBox/ISOs/osol-0906-x86.iso
VBoxManage startvm sunny


The error I get is:

VBoxManage modifyvm sunny --dvd
/Users/sisred-pub/VirtualBox/ISOs/sol-10-u8-ga-x86-dvd.iso
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

ERROR: No drive 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: "MountMedium(Bstr("IDE Controller"), 1, 0, uuid, FALSE )" at
line 925 of file VBoxManageModifyVM.cpp
~ $

If you read the above, then the error message should be rather clear.

Klaus


Thanks in advance for any help.

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users


--
Dr. Klaus Espenlaub
Sun Microsystems GmbH
Werkstrasse 24
71384 Weinstadt
Germany

=====================================================================
Sitz der Gesellschaft:
Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Wolf Frenkel
Vorsitzender des Aufsichtsrates: Martin Haering
=====================================================================

_______________________________________________
vbox-users mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-users

Reply via email to