Page 1 of 1

Lubuntu VDI migration Kernel problem

Posted: 23. Dec 2017, 03:02
by Mio Miao
Hello everyone, I recently formatted my computer and reinstalled a fresh version of Lubuntu, I used VirtualBox with Windows XP machines without any problem ... I also installed plugins that allowed me to have shared folders quickly and easily , before formatting I made attempts to understand if you could import a virtual machine already created and I succeeded by creating a new machine and importing the old vdi file. Unfortunately, after formatting I can no longer import the machine, when I press the Start button it gives me this error,
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing
    '/sbin/vboxconfig'
as root.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
on details the problem is as follows
The virtual machine 'asdasdasd XP' has terminated unexpectedly during startup with exit code 1 (0x1).
Codice di uscita:
NS_ERROR_FAILURE (0x80004005)
Componente: 
MachineWrap
Interfaccia: 
IMachine {85cd948e-a71f-4289-281e-0ca7ad48cd89}
But not being an IT expert, I do not really know what that means. I probably left some important file from the old installation? Or do I have to install some other kernel file? Are there any appropriate guides to understand how to do a migration? Can I recover my cars?
Ok ... too many questions ... let's start slowly!

Re: Lubuntu VDI migration Kernel problem

Posted: 23. Dec 2017, 03:02
by Mio Miao
I hope I posted in the right section!

Re: Lubuntu VDI migration Kernel problem

Posted: 23. Dec 2017, 09:44
by socratis
Yes, this is the right section... ;)
Your VirtualBox installation is not complete. You need to follow the message's instructions: run '/sbin/vboxconfig'. Or even better try to re-install VirtualBox from the official source: https://www.virtualbox.org/wiki/Linux_Downloads

Re: Lubuntu VDI migration Kernel problem

Posted: 24. Dec 2017, 02:56
by Mio Miao
I already download this version
Ubuntu 16.04 ("Xenial") i386 | AMD64
(i386) and it say that I already have installed this version...so I removed and reinstalled but the problem persist.
So I manually get the command:

Code: Select all

sudo /sbin/vboxconfig
but this is the output

Code: Select all

vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.
This system is currently not set up to build kernel modules.
Please install the gcc make perl packages from your distribution.

There were problems setting up VirtualBox.  To re-start the set-up process, run
  /sbin/vboxconfig
as root.
I do not understand what is the problem :( the version of the software installed?

Re: Lubuntu VDI migration Kernel problem

Posted: 24. Dec 2017, 07:33
by socratis
Did you read the messages?
Mio Miao wrote:Please install the gcc make perl packages from your distribution.

Re: Lubuntu VDI migration Kernel problem

Posted: 24. Dec 2017, 16:20
by Mio Miao
Really thanks for pointing out this to me, it is really difficult to me to understand how computer and softwares works, when I had the other installation of Lubuntu and VirtualBox I did not this operation, I understand many kind of things with this problem and I learn important stuffs, thank you for your help. I really appreciate.
Mio