0

While trying to install Kali Linux as a virtual machine on Virtualbox I received an error saying "An error was returned while trying to install the kernel into the target system". I am unable to figure out what is causing this issue. Could you please tell me what might be causing this problem. Here is the screenshot of the virtual machine for more details. https://preview.redd.it/v9a756vnqp651.png?width=1366&format=png&auto=webp&s=417a143798439af695a9be5c625399a676b32272 --- link of the screenshot

Edit: I am running the VM on a 64-bit host and the disk image of kali Linux is 64 bit too. I got windows 98 to work on it a few days ago.

Edit: Here's a screenshot of the virtual console 4 if it helps.

https://i.sstatic.net/wzrTn.png

Edit: Here is a link to the VBox.log file if it helps: https://gist.github.com/chesskinger1/1f1cdf453b16bdb9b85841294d5ae6ed

Edit : I redid the installation and this time a different error occured for some reason. It says an error was returned while trying to install the initramfs tools package onto the target system. Could anybody tell what is causing these errors.

Edit : Dosent matter, I downloaded the ova file and now it is working fine

9
  • May need more details. Are you running on a 32-bit host, or a VM that's acting as if it has a 32-bit processor? Have you gotten any other VM working to prove the VBox install itself isn't the problem? Possibly relevant answer about running a 64-bit guest on a 32-bit host.
    – l3l_aze
    Commented Jun 24, 2020 at 20:32
  • 1
    I am running the vm on a 64 bit host and the disk image of kali linux is 64 bit too. I got windows 98 to work on it a few days ago. Commented Jun 24, 2020 at 21:53
  • 1
    Windows 98 is 32-bit. In BIOS, did you turn ON Hardware Virtualization and VT-x? You need to do this. I have Kali V2020 64-bit running here so it does work in the correct environment.
    – anon
    Commented Jun 25, 2020 at 1:08
  • Yes hardware virtualizatrion is turned on. Commented Jun 25, 2020 at 1:56
  • And VT-x ? You need both. If it is, try downloading another ISO file for Kali. Use the full version, and try installing again.
    – anon
    Commented Jun 25, 2020 at 1:59

1 Answer 1

2

I banged my head against the wall here for hours as well.

Turns out, Offensive Security (the guys developing Kali Linux) provide their own VirtualBox machines for download at their website. Select your preferred virtual machine platform (VMware or VirtualBox) and download the virtual machine directly. Hope this helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .