Hi everybody,
I am quite new to vagrant and I started this week trying to set up a vagrant box with windows inside. I found out a good tutorial, which is on this website (
http://huestones.co.uk/node/305).
I can do all the steps till "vagrant up" where I get the following error:
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'PureWindows'...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["import", "C:/Users/erafwer/.vagrant.d/boxes/PureWindows/0/virtualbox/box.ovf", "--vsys", "0", "--vmname", "WinTest_1_1470324114907_73717", "--vsys", "0", "--unit", "8", "--disk", "C:\\Users\\erafwer\\VirtualBox VMs\\WinTest_1_1470324114907_73717\\box-disk1.vmdk"]
Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\Users\erafwer\.vagrant.d\boxes\PureWindows\0\virtualbox\box.ovf...
OK.
0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Could not create the imported medium 'C:\Users\erafwer\VirtualBox VMs\WinTest_1_1470324114907_73717\box-disk1.vmdk'.
VBoxManage.exe: error: VMDK: Compressed image is corrupted 'C:\Users\erafwer\.vagrant.d\boxes\PureWindows\0\virtualbox\box-disk1.vmdk' (VERR_ZIP_CORRUPTED)
VBoxManage.exe: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component ApplianceWrap, interface IAppliance
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 877 of file VBoxManageAppliance.cpp
I saw a few threads on google with suggestions like:
- remove files from .vagrant.d and start over
- downgrade virtualbox version (I cant do that)
- use the latest version of vagrant
- lack of space on the hard drive
None of them worked for me. I have a free space of 20 GB and still didn't work.
Anyone has any ideas or have experience something like this?
If you need any more infos I can provide, but basically, everything I used/did is on that website.
Thank you in advance.
Cheers,
Rafael