Can't boot my VM

Discussions related to using VirtualBox on Linux hosts.
Post Reply
Lukkie1998
Posts: 1
Joined: 29. Apr 2017, 23:17

Can't boot my VM

Post by Lukkie1998 »

Hey everyone,

First of all a small introduction :D My name is Luke and i'm a first years software engineering student at a Dutch university.
I started working on a small project involving a Linux Ubuntu VPS. Now we got to the point where we need a VM on it for a specific program.
Whenever I ty to boot up my VM it gives me this error: VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component MachineWrap, interface IMachine.
It gives me the suggestion to run #sudo /sbin/vboxconfig, which then again says that i'm missing some Linux kernels. When I try to install them it then says that they can't be found.
The logs give me this: Makefile:186: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Stop.

Anyone experienced this before and knows how to fix it? I'm fairly new with VirtualBox through SSH and Linux, so correct me whenever i'm wrong!

Greets, Lukkie1998
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Can't boot my VM

Post by Perryg »

It sounds like you are missing the header files on the host and that is why VirtualBox kernel modules can not build. You mention Ubuntu which is a debian based os so you need to make sure that the following is loaded: kernel-headers build-essential The install VirtualBox again. Also make sure that you use the install from virtualbox.org. If not and you want to use the distro fork you will need to contact them as we do not support anything other than the official build.
Post Reply