Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cant create Virtual Mashines with the new VirtualBox #192

Closed
anilex opened this issue Dec 15, 2013 · 9 comments
Closed

Cant create Virtual Mashines with the new VirtualBox #192

anilex opened this issue Dec 15, 2013 · 9 comments

Comments

@anilex
Copy link

anilex commented Dec 15, 2013

Part of the errors from the command line:

Building IE6 VM
Checking for existing OVA at /Users/alex/.ievms/IE6 - WinXP.ova
Checking for existing IE6 - WinXP VM
Creating IE6 - WinXP VM (disk: /Users/alex/.ievms/IE6 - WinXP-disk1.vmdk)
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting /Users/alex/.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/alex/.ievms/IE6 - WinXP-disk1.vmdk, controller=8;channel=0
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance import failed
VBoxManage: error: Could not create the clone medium '/Users/alex/.ievms/IE6 - WinXP-disk1.vmdk'.
VBoxManage: error: VMDK: could not create new file '/Users/alex/.ievms/IE6 - WinXP-disk1.vmdk' (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance
VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 779 of file VBoxManageAppliance.cpp
@zamber
Copy link

zamber commented Dec 19, 2013

I have the same issue. Reinstalling from scratch does not help. VB 4.2.20 (latest 4.2.*). Mac OS Maverics (latest).

@zamber
Copy link

zamber commented Dec 19, 2013

Got a fix for this.

To fix the error above just skip installing IE6 with (set the versions you need in the command):

curl -s https://raw.github.com/xdissent/ievms/master/ievms.sh | env IEVMS_VERSIONS="8" bash

This can fail with two errors now. The first one complains that:

VBoxManage: error: Could not create the clone medium '/Users/zamber/.ievms/IE8 - WinXP-disk1.vmdk'.
VBoxManage: error: VMDK: could not create new file '/Users/zamber/.ievms/IE8 - WinXP-disk1.vmdk' (VERR_ALREADY_EXISTS)

To fix this just remove the image in conflict:

rm -f ~/.ievms/IE8 - WinXP-disk1.vmdk

Also if you have configuration files generated in ~/VirtualBox VMs/ make sure you delete those too:

rm -rf ~/VirtualBox\ VMs/IE8 - WinXP/

You will probably also get this:

VBoxManage: error: Appliance import failed
VBoxManage: error: Cannot register the hard disk '/Users/zamber/.ievms/IE8 - WinXP-disk1.vmdk' {3056e98d-c7ef-4c25-9ebf-5f76c1f07121} because a hard disk '/Users/zamber/.ievms/IE8 - WinXP-disk1.vmdk' with UUID {26adbd03-dcfc-466f-a7e0-b7fcfbd69d65} already exists

You have to unmount the existing image:

VBoxManage closemedium disk 26adbd03-dcfc-466f-a7e0-b7fcfbd69d65

Now run the ievms script again and it (hopefully) should work.

Note that the UUID will be different and depending on the image you want to install a different image will have to be deleted. Just be smart about it and once you get the hang of this you should be able to make it work.

@zapatoche
Copy link

None of the above steps worked for me. I've downgraded virtualbox to 4.2 and I'm reinstalling. So far it's working.

@andreineculau
Copy link

Just wanted to confirm that downgrading to 4.2 did the job.

@clarkewd
Copy link

If you installed virtualbox on OS X using homebrew it is also possible to install an earlier version with homebrew

@marvinli
Copy link

marvinli commented Jul 2, 2014

@zamber This helped! Thanks.

@superbland
Copy link

@zamber Thanks, unmounting helped me after a failed partial install!

@OliverJAsh
Copy link

Installed VirtualBox via Homebrew. Downgrading to 4.2 fixed this for me.

@xdissent
Copy link
Owner

Latest version requires VirtualBox 5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants