Page 1 of 1

VBoxManage - ERROR: Could not find ... 'SATA' or 'IDE...'

Posted: 1. Dec 2009, 21:59
by _nico
Hi, i have a Problem:

Code: Select all

VBoxManage modifyvm spielwiese --sataport1 /media/VMs/spielwiese/spielwiese.vdi
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

ERROR: Could not find a storage controller named 'SATA'
Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component Machine, interface IMachine, callee nsISupports
Context: "AttachDevice(Bstr("SATA"), GetOptState.uIndex, 0, DeviceType_HardDisk, uuid)" at line 729 of file VBoxManageModifyVM.cpp
OS: Debian Lenny 5.03
Version: 3.1.0

Thanks for help.
Nico

EDIT:

VBoxManage storagectl spielwiese --name play --add SATA --controller IntelAhci
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 1. Dec 2009, 22:33
by Sasquatch
And VBoxManage showvm <vmname>?

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 1. Dec 2009, 23:03
by _nico
Oh Sorry!

Code: Select all

VBoxManage storagectl spielwiese --name "IDE Controller" --add ide
VBoxManage modifyvm spielwiese --hda /media/VMs/spielwiese/spielwiese.vdi
WORKS! ...but...

Code: Select all

VBoxManage showvminfo spielwiese
VirtualBox Command Line Management Interface Version 3.1.0
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.

Name:            spielwiese
Guest OS:        Debian
UUID:            bb3bb3d3-fcee-4166-baab-1a7cb1a0ff36
Config file:     /media/VMs/spielwiese/spielwiese.xml
Hardware UUID:   bb3bb3d3-fcee-4166-baab-1a7cb1a0ff36
Memory size:     256MB
VRAM size:       8MB
Number of CPUs:  1
Synthetic Cpu:   off
CPUID overrides: None
Boot menu mode:  message and menu
Boot Device (1): DVD
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI:            on
IOAPIC:          off
PAE:             on
Time offset:     0 ms
Hardw. virt.ext: on
Hardw. virt.ext exclusive: on
Nested Paging:   off
VT-x VPID:       off
State:           powered off (since 2009-12-01T19:52:10.000000000)
Monitor count:   1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address: 
Teleporter Password: 
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
IDE Controller (0, 0): /media/VMs/spielwiese/spielwiese.vdi (UUID: 011223c9-5208-4de6-b3fd-43b355b7f778)
NIC 1:           MAC: 0800271B0135, Attachment: Bridged Interface 'eth0', Cable connected: on, Trace: off (file: none), Type: Am79C973, Reported speed: 0 Mbps
NIC 2:           disabled
NIC 3:           disabled
NIC 4:           disabled
NIC 5:           disabled
NIC 6:           disabled
NIC 7:           disabled
NIC 8:           disabled
UART 1:          disabled
UART 2:          disabled
Audio:           disabled
Clipboard Mode:  Bidirectional
VRDP:            disabled
USB:             disabled
USB Device Filters: <none>
Shared folders:  <none>
Guest:
Statistics update:                   disabled
When i now...

Code: Select all

VBoxManage modifyvm spielwiese --dvd /media/Images/OS/Linux/debian-503-amd64-netinst.iso
...then...

Code: Select all

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.cp

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 1. Dec 2009, 23:13
by Sasquatch
Do you have a GUI? Since 3.1.0, you can remove the CD drive, which you apparently did. Now you can't add a CD (ISO) when you don't have a drive to put it in. Use the GUI to get a better idea of what changed.

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 1. Dec 2009, 23:16
by _nico
I have no GUI, is a Debian Lenny Server.
How do I add a DVD drive?

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 1. Dec 2009, 23:18
by Sasquatch
In that case, experiment with the CLI, check up on the manual for the changes and all, and stumble on the fix.

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 1. Dec 2009, 23:23
by _nico
With VirtualBox 3.0 it was totally easy, why does this work with version 3.1 not so good?

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 2. Dec 2009, 10:25
by Sasquatch
Because of the changes in the storage system. You can have 0-4 CD drives, remove the IDE controller, a lot more than we used to be able to do.

Re: VBoxManage - ERROR: Could not find ... 'SATA'

Posted: 3. Dec 2009, 10:17
by _nico
Thanks for Help.

Code: Select all

VBoxManage storagectl spielwiese --name "IDE Controller" --add ide
VBoxManage storageattach spielwiese --storagectl "IDE Controller" --port 0 --device 0 --type hdd --medium /media/hdd/VMs/spielwiese/spielwiese.vdi
VBoxManage storageattach spielwiese --storagectl "IDE Controller" --port 1 --device 0 --type dvddrive --medium /media/hdd/Images/OS/Linux/debian-503-i386-netinst.iso
Linked HowTo's:
http://www.loggn.de/debian-virtualbox-3 ... inrichten/
http://www.loggn.de/debian-virtualbox-v ... tallieren/

Ubuntu HowTo:

http://www.loggn.de/ubuntu-dvb-s2-hdtv- ... epgsearch/