Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Debian Bullseye: Trouble running virtual machine in VirtualBox 5.2.44 32-bit
I installed VirtualBox 5.2.44 32-bit using offline installer, accordingly to the advice I got at the other link (https://www.linuxquestions.org/quest...ye-4175716671/). Operating system installed is Debian Bullseye 32-bit. I created new virtual machine using the same disk image (Debian 32-bit).
However, when I try to start the guest, attempting to install it, I get the following error message:
Quote:
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing
'/sbin/vboxconfig'
as root.
If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.
where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT.
I have executed this as root, however I always get this error:
Quote:
vboxdrv.sh: Stopping VirtualBox services.
vboxdrv.sh: Starting VirtualBox services.
vboxdrv.sh: Building VirtualBox kernel modules.
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-686-pae linux-headers-5.10.0-18-686-pae
This system is currently not set up to build kernel modules.
Please install the Linux kernel "header" files matching the current kernel
for adding new hardware support to the system.
The distribution packages containing the headers are probably:
linux-headers-686-pae linux-headers-5.10.0-18-686-pae
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
The VirtualBox itself allways reports the following:
Quote:
The virtual machine 'Debian' has terminated unexpectedly during startup with exit code 1 (0x1).
Is your system really so weak it can't run 64 bit Debian? You need some extra RAM for VM, 32 bit system really can't offer this RAM in an efficient way. Note, you can run 32 bit guests on 64 bit VirtualBox.
Install the headers and the other tools you'll need, you should:
Code:
sudo apt install build-essential
Not sure where you installed virtualbox from, but the recommended source for virtualbox on debian is the fasttrack repository and it has a much newer version 6.1.38. https://fasttrack.debian.net/
edit: but it appears only to have amd64 version anyway http://fasttrack.debian.net/debian-f.../v/virtualbox/ and the other thread you linked explains where and why you're using that version, which makes sense.
Install the headers and the other tools you'll need, you should:
Code:
sudo apt install build-essential
I have tried this, but there seems to be no updates:
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
There is no change with VirtualBox when trying to start the actual virtual machine, after executing the command you proposed.
Quote:
Not sure where you installed virtualbox from, but the recommended source for virtualbox on debian is the fasttrack repository and it has a much newer version 6.1.38. https://fasttrack.debian.net/
edit: but it appears only to have amd64 version anyway
That is true. I installed the latest 32-bit version (5.2.44) for all distributions.
It seems that problem might be within the VBox kernel, because of the error saying "Kernel driver not installed (rc=-1908)". I get the similar error while rebooting the system. I can't quote nor photograph it because it scrolls out too fast. (If there was a log, I might found and copy/paste it?)
It seems that problem might be within the VBox kernel, because of the error saying "Kernel driver not installed (rc=-1908)". I get the similar error while rebooting the system. I can't quote nor photograph it because it scrolls out too fast. (If there was a log, I might found and copy/paste it?)
Quite possibly you may be able to find that message in either the output of the 'dmesg' command or in the system message logs.
When a kernel driver fails to load, it may possibly have some other error. For example, on a uefi booting system with secure boot enabled the module for virtualbox will not load unless it was signed and the bios recognizes the signature, even if the module is otherwise perfect. The point to find out why the module is not loading and operational is to look at the logs, in detail. The vbox module is required before you can create or load a VM with vbox.
I have tried this, but there seems to be no updates:
Code:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Doesn't mean you have the correct headers for the running kernel.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.