xdissent / ievms

Automated installation of the Microsoft IE App Compat virtual machines
http://xdissent.github.com/ievms
9.85k stars 495 forks source link

Could not find a controller named 'IDE Controller' #204

Closed fysiomike closed 9 years ago

fysiomike commented 10 years ago

Somehow I get this error message at the point of installing IE9. If I try to install one version at a time IE9-11, I get the same error.

VBoxManage: error: Could not find a controller named 'IDE Controller'

If I have a close look, IE6-8 have a controller named: IDE Controller but IE9 the controller is named: IDE.

# Attach a dvd image to the virtual machine.
attach() {
    log "Attaching ${3}"
    VBoxManage storageattach "${1}" --storagectl "IDE Controller" --port 1 \
        --device 0 --type dvddrive --medium "${2}"
}

If I change "IDE Controller" to "IDE", the control iso is mounted but in the next step after shutdown the "IDE Controller" mount could not be found. Strange, I changed the name during mount to "IDE" but tries to unmount "IDE Controller". I have no clue what the problem is.

OS X 10.9.1 VirtualBox 4.3.6

glennadva commented 10 years ago

Any updates on this?

I'm trying to install IE 8 - 9 - 10 - 11 using IEVMS but get the same error when using Windows 7: "VBoxManage: error: Could not find a controller named 'IDE Controller".

Running OS X 10.7.5 and VirtualBox 4.3.10

solebared commented 9 years ago

Workaround here, just rounding out what @fysiomike started.

Not sure this workaround is worthy of a pull request since i haven't looked into where the change from 'IDE Controller' to 'IDE' originates from, nor thought about how best to accommodate the controller name being potentially different depending on virtualbox/modern.ie/os versions.

Also haven't tested anything but my specific use case: IEVMS_VERSIONS="10" ./ievms.sh VirtualBox 4.3.18 OS X 10.9.5

Ramblurr commented 9 years ago

FYI, the workaround in @exbinary 's comment worked for me on Fedora 21.

dy-dx commented 9 years ago

As of May 21, 2015, I no longer have this issue. The original "IDE Controller" name works again.

VirtualBox 4.3.28 Mac OS X 10.10.3

xdissent commented 9 years ago

Yep, it's back to IDE Controller in the VMs and the script reflects that currently.

ghost commented 9 years ago

This seems to have happened again. Modifying the script to "IDE" works.

IEVMS_VERSIONS="10 11 EDGE" ./ievms.sh                                                                                                                                                                                                                                                                                2.2.3
Checking for VirtualBox
Checking for Oracle VM VirtualBox Extension Pack
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Building IE 10 VM
Checking for existing OVA at /Users/Chris/.ievms/IE9 - Win7.ova
Checking for existing IE10 - Win7 VM
Building IE 11 VM
Checking for existing OVA at /Users/Chris/.ievms/IE9 - Win7.ova
Checking for existing IE11 - Win7 VM
Creating IE11 - Win7 VM (disk: /Users/Chris/.ievms/IE11 - Win7-disk1.vmdk)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/Chris/.ievms/IE9 - Win7.ova...
OK.
Disks:
  vmdisk1   136365211648    -1  http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized   IE9 - Win7-disk1.vmdk   -1  -1

Virtual system 0:
 0: Suggested OS type: "Windows7"
    (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
 1: VM name specified with --vmname: "IE11 - Win7"
 2: Number of CPUs: 1
    (change with "--vsys 0 --cpus <n>")
 3: Guest memory: 512 MB
    (change with "--vsys 0 --memory <MB>")
 4: Sound card (appliance expects "", can change on import)
    (disable with "--vsys 0 --unit 4 --ignore")
 5: USB controller
    (disable with "--vsys 0 --unit 5 --ignore")
 6: Network adapter: orig NAT, config 3, extra slot=0;type=NAT
 7: CD-ROM
    (disable with "--vsys 0 --unit 7 --ignore")
 8: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 8 --ignore")
 9: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 9 --ignore")
10: SATA controller, type AHCI
    (disable with "--vsys 0 --unit 10 --ignore")
11: Hard disk image: source image=IE9 - Win7-disk1.vmdk, target path=/Users/Chris/.ievms/IE11 - Win7-disk1.vmdk, controller=8;channel=0
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully imported the appliance.
Adding shared folder
Building IE11 - Win7 VM
build_ievm_ie11
Found ievms control ISO at /Users/Chris/.ievms/ievms-control-0.3.1.iso - skipping download
MD5 check succeeded for /Users/Chris/.ievms/ievms-control-0.3.1.iso
Attaching ievms control ISO
VBoxManage: error: Could not find a controller named 'IDE Controller'

VirtualBox 5.0.2 Mac OSX 10.10.5.

AndyOGo commented 8 years ago

Happens again to me too. Modifying the script to "IDE" works.

VBoxManage: error: Could not find a controller named 'IDE Controller'

VBoxManage: error: No drive attached to device slot 0 on port 1 of controller 'IDE Controller' VBoxManage: error: Details: code VBOX_E_OBJECT_NOT_FOUND (0x80bb0001), component SessionMachine, interface IMachine, callee nsISupports VBoxManage: error: Context: "MountMedium(Bstr("IDE Controller").raw(), 1, 0, dvdMedium, FALSE )" at line 1182 of file VBoxManageModifyVM.cpp

VirtualBox 5.0.14 Mac OSX El Capitan 10.11.3