xdissent / ievms

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

Problems installing #217

Closed francescom closed 8 years ago

francescom commented 10 years ago

Hi, thanks for this incredible script. I have been using VMs installed years ago for a long time. Today I tried reinstalling them with mixed results.

First there must be some naming problem, often the source image file is different from the path filename (on all or most VMs):

Hard disk image: source image=IE9 - Win7-disk1.vmdk, target path=/Users/fmm/.ievms/IE11 - Win7-disk1.vmdk, controller=10;channel=0

Then it has problems detecting the shutdown:

...
Waiting for IE11 - Win7 to shutdown...
...
Waiting for IE11 - Win7 to shutdown...
Waiting for IE11 - Win7 to shutdown...
Waiting for IE11 - Win7 to shutdown...
Waiting for IE11 - Win7 to shutdown...
Waiting for IE11 - Win7 to shutdown...

(forever)

But I heard a chime so it might have already shut down.

One more problem is that I can't seem to be able to installe IE9 - Win7:

11: Hard disk image: source image=IE9 - Win7-disk1.vmdk, target path=/Users/fmm/.ievms/IE9 - Win7-disk1.vmdk, controller=10;channel=0
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: NS_ERROR_INVALID_ARG
VBoxManage: error: Appliance import failed
VBoxManage: error: Cannot register the hard disk '/Users/fmm/.ievms/IE9 - Win7-disk1.vmdk' {d624a0a9-e52c-4126-8017-bc3d4452047e} because a hard disk '/Users/fmm/.ievms/IE9 - Win7-disk1.vmdk' with UUID {b941eeaa-c719-44e1-b75a-7f3250c1088a} already exists
VBoxManage: error: Details: code NS_ERROR_INVALID_ARG (0x80070057), component Appliance, interface IAppliance
VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 779 of file VBoxManageAppliance.cpp

(removing IE9 - Win7-disk1.vmdk is of no help)

francescom commented 10 years ago

A side note: my .ievms folder is a symbolic link to a visible folder on another HD although I don't think this really changes anything..

BakerCo commented 10 years ago
Checking for existing IE6 - WinXP VM
Creating IE6 - WinXP VM (disk: /Users/USERNAME/.ievms/IE6 - WinXP-disk1.vmdk)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/USERNAME/.ievms/IE6 - WinXP.ova...
OK.
Disks:  vmdisk1 136260878336    -1  http://www.vmware.com/interfaces/specifications/vmdk.html#streamOptimized   IE6 - WinXP-disk1.vmdk  -1  -1  
Virtual system 0:
 0: Suggested OS type: "WindowsXP"
    (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
 1: VM name specified with --vmname: "IE6 - WinXP"
 2: Number of CPUs: 2
    (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 2, 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: Hard disk image: source image=IE6 - WinXP-disk1.vmdk, target path=/Users/USERNAME/.ievms/IE6 - WinXP-disk1.vmdk, controller=8;channel=0
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance import failed
VBoxManage: error: Machine settings file '/Users/USERNAME/VirtualBox VMs/IE6 - WinXP/IE6 - WinXP.vbox' already exists
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Machine, interface IMachine
VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 779 of file VBoxManageAppliance.cpp

getting the same or similar issue stopping at IE6

gabekelley commented 10 years ago

Getting the same issues here from a fresh install.

BakerCo commented 10 years ago

anybody have a fix for this?

francescom commented 10 years ago

Actually the Explorer 11 VM is in reality an explorer 9 VM plus the link to update to ie11 from MS. So if you install the ie 11 VM and sort of duplicate it before updating to ie 11 you got it.

BakerCo commented 10 years ago

I installed version 4.2.2 of virtual box and I no longer have this issue

kevinruscoe commented 10 years ago

I had the same issue when creating an IE8 system.

VBoxManage: error: Machine settings file '/Users/USERNAME/VirtualBox VMs/IE8 - WinXP/IE8 - WinXP.vbox' already exists VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Machine, interface IMachine VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 779 of file VBoxManageAppliance.cpp

For me this happened when a box existed under ~/User/me/VirtualBox VMs/ however that didn't appear inside Virtualbox (for whatever reason). Deleting that folder then running the script again worked fine. Also you might want to look inside ~/.ievms for any incomplete/corrupt downloads.

servel333 commented 9 years ago

I am running VirtualBox 4.3.20 and this solved my issue:

VBoxManage list hdds
# UUID:           01d5ccb5-2319-4e9c-bd76-daaaceffce53
# Parent UUID:    base
# State:          inaccessible
# Type:           normal (base)
# Location:       /Users/nperry/.ievms/IE6 - WinXP-disk1.vmdk
# Storage format: VMDK
# Capacity:       129948 MBytes
VBoxManage closemedium disk 01d5ccb5-2319-4e9c-bd76-daaaceffce53
vladat commented 9 years ago

Thanks @servel333, it solved the problem I've had.

anotherjames commented 8 years ago

The solution provided by @servel333 was exactly what I needed (as well as to delete the download itself under ~/.ievms/ ). I'd hit the issue because I had removed the VM from VirtualBox without deleting all files, so it remained in that inaccessible state despite not being listed in the UI.

xdissent commented 8 years ago

You can also remove the inaccessible media from VirtualBox with File -> Virtual Media Manager.