Page 1 of 1

can't start imported VM(that use Kali Linux)

Posted: 21. Oct 2021, 01:44
by Uncle Zak
I got this error message:
Failed to import appliance D:\kali-linux-2021.3-virtualbox-i386.ova.

Result Code: E_INVALIDARG (0x80070057)
everytime I tried to import a Virtual appliance(that uses Kali Linux) to my virtualBox(that virtual appliance are downloaded as VirtualBox' OVA file), can you help me?

if you're wondering, my Host OS was Windows 7 service pack 1 64-bit edition

Re: can't start imported VM(that use Kali Linux)

Posted: 21. Oct 2021, 11:38
by mpack
Try copying the OVA file to the local hard disk, not in a root folder.

Also, you could check that the file is intact, as I would be concerned that "D:" is a USB flash drive, formatted in FAT32.

Re: can't start imported VM(that use Kali Linux)

Posted: 21. Oct 2021, 14:07
by Uncle Zak
mpack wrote:Try copying the OVA file to the local hard disk, not in a root folder.

Also, you could check that the file is intact, as I would be concerned that "D:" is a USB flash drive, formatted in FAT32.
That OVA file has already in hard disk(of any partition, where in this case, it's "D:" drive)

Re: can't start imported VM(that use Kali Linux)

Posted: 21. Oct 2021, 14:33
by scottgus1
mpack wrote:Try copying the OVA file to the local hard disk, not in a root folder.
I think this could mean:
mpack wrote:Try copying the OVA file to the local hard disk, AND not in a root folder.
Uncle Zak wrote:D:\kali-linux-2021.3-virtualbox-i386.ova
Good that D: is a hard drive, but D:\ is also the root folder, and Windows locks down the root folder of a drive with special permissions. Make a folder on D:\ then put the OVA inside that new folder. Then try importing again.

If the import fails, zip the "C:\Users\{youraccount}\.Virtualbox" folder and post the zip file, using the forum's Upload Attachment tab.

Re: can't start imported VM(that use Kali Linux)

Posted: 22. Oct 2021, 01:54
by Uncle Zak
scottgus1 wrote:
mpack wrote:Try copying the OVA file to the local hard disk, not in a root folder.
I think this could mean:
mpack wrote:Try copying the OVA file to the local hard disk, AND not in a root folder.
Uncle Zak wrote:D:\kali-linux-2021.3-virtualbox-i386.ova
Good that D: is a hard drive, but D:\ is also the root folder, and Windows locks down the root folder of a drive with special permissions. Make a folder on D:\ then put the OVA inside that new folder. Then try importing again.

If the import fails, zip the "C:\Users\{youraccount}\.Virtualbox" folder and post the zip file, using the forum's Upload Attachment tab.
I has uploaded my .VirtualBox zip file here

Re: can't start imported VM(that use Kali Linux)

Posted: 22. Oct 2021, 03:19
by scottgus1
00:08:55.321341 Import settings with version "1.16-windows"
00:08:55.321341 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={d0a0163f-e254-4e5b-a1f2-011cf991c38d} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'Kali-Linux-2021.3-vbox-i386'}, preserve=false aResultDetail=0
00:08:55.322341 ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not find file for the medium 'C:\Users\ASUS\VirtualBox VMs\Kali-Linux-2021.3-vbox-i386\Kali-Linux-2021.3-vbox-i386-disk001.vmdk' (VERR_FILE_NOT_FOUND)}, preserve=false aResultDetail=-102

00:39:51.466507 createImport ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not create the imported medium 'C:\Users\ASUS\VirtualBox VMs\Kali-Linux-2021.3-vbox-i386\Kali-Linux-2021.3-vbox-i386-disk001.vdi' (VERR_DISK_FULL)}, preserve=false aResultDetail=-152
Looks like two errors related to the import:
Somehow it cannot find the disk file, and it appears that the host disk is full.

Re: can't start imported VM(that use Kali Linux)

Posted: 22. Oct 2021, 03:52
by Uncle Zak
scottgus1 wrote:
00:08:55.321341 Import settings with version "1.16-windows"
00:08:55.321341 ERROR [COM]: aRC=VBOX_E_OBJECT_NOT_FOUND (0x80bb0001) aIID={d0a0163f-e254-4e5b-a1f2-011cf991c38d} aComponent={VirtualBoxWrap} aText={Could not find a registered machine named 'Kali-Linux-2021.3-vbox-i386'}, preserve=false aResultDetail=0
00:08:55.322341 ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not find file for the medium 'C:\Users\ASUS\VirtualBox VMs\Kali-Linux-2021.3-vbox-i386\Kali-Linux-2021.3-vbox-i386-disk001.vmdk' (VERR_FILE_NOT_FOUND)}, preserve=false aResultDetail=-102

00:39:51.466507 createImport ERROR [COM]: aRC=VBOX_E_FILE_ERROR (0x80bb0004) aIID={ad47ad09-787b-44ab-b343-a082a3f2dfb1} aComponent={MediumWrap} aText={Could not create the imported medium 'C:\Users\ASUS\VirtualBox VMs\Kali-Linux-2021.3-vbox-i386\Kali-Linux-2021.3-vbox-i386-disk001.vdi' (VERR_DISK_FULL)}, preserve=false aResultDetail=-152
Looks like two errors related to the import:
Somehow it cannot find the disk file, and it appears that the host disk is full.
so what's the solution of these errors, particularly the first ones?

Re: can't start imported VM(that use Kali Linux)

Posted: 22. Oct 2021, 13:45
by mpack
You provide all of the files needed for the install, and you free up some disk space.

Re: can't start imported VM(that use Kali Linux)

Posted: 22. Oct 2021, 19:00
by scottgus1
I just downloaded and imported Kali's OVA successfully. "kali-linux-2021.3-virtualbox-amd64.ova" from https://www.kali.org/get-kali/ The download was almost 4GB and the import required a further 11GB of disk space.

Check your free disk space. Try going to where your VMs are stored, look for a new Kali folder and delete it. SHA256 your downloaded OVA and compare the hash to Kali's "sum" link to be sure your OVA downloaded correctly. Fresh-download the Kali OVA and hash if your existing OVA does not hash correctly. Then try the import again.

Re: can't start imported VM(that use Kali Linux)

Posted: 23. Oct 2021, 00:18
by Uncle Zak
scottgus1 wrote:I just downloaded and imported Kali's OVA successfully. "kali-linux-2021.3-virtualbox-amd64.ova" from https://www.kali.org/get-kali/ The download was almost 4GB and the import required a further 11GB of disk space.

Check your free disk space. Try going to where your VMs are stored, look for a new Kali folder and delete it. SHA256 your downloaded OVA and compare the hash to Kali's "sum" link to be sure your OVA downloaded correctly. Fresh-download the Kali OVA and hash if your existing OVA does not hash correctly. Then try the import again.
I has free up enough disk space and it worked

Re: can't start imported VM(that use Kali Linux)

Posted: 23. Oct 2021, 14:34
by scottgus1
Good! Glad that was an easy fix.