[SOLVED] Is it still possible to run virtualbox on debian? (2024)

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
aario
Posts: 29
Joined: 2019-04-18 06:26
Has thanked: 1 time
Been thanked: 1 time

[SOLVED] Is it still possible to run virtualbox on debian? (2024)

#1 Post by aario »

Hi Folks,
It's been long since I could install and run virtualbox on Debian. I know there is virtmanager. I know the license of Virtualbox is not perfect and ideal for opensource community. But somehow I want to have the option.
I tried installing from virtualbox repositories. It installs but it doesn't run any virtual machine because:

Code: Select all

Loading of module with unavailable key is rejected
I tried installing from debian fasttrack repositories but installation fails because:

Code: Select all

installed virtualbox-dkms package post-installation script subprocess returned error exit status 10
And:

Code: Select all

/var/lib/dkms/virtualbox/7.0.12/build/vboxdrv/r0drv/linux/memobj-r0drv-linux.c:1177:9: error: implicit declaration of function ‘p4d_large’; did you mean ‘p4d_page’? [-Werror=implicit-function-declaration]
 1177 |     if (p4d_large(u.Four))
      |         ^~~~~~~~~
      |         p4d_page
I'm out of ideas right now. Any ideas is highly appreciated. Thanks in advance.
Last edited by aario on 2024-11-15 15:39, edited 1 time in total.

User avatar
Meow
Posts: 43
Joined: 2015-04-13 23:32
Has thanked: 17 times

Re: Is it still possible to run virtualbox on debian? (2024)

#2 Post by Meow »

Bummer!
I took for granted that I could run VirtualBox on Debian.

This page says that Debian abandoned VirtualBox after Sid.

Is that really true?

Edit:
At least VMware simplified their license model, and its VMware Workstation Pro 17 is https://blogs.vmware.com/workstation/20 ... l-use.html. So it is still possible to run virtual machines easily, even without VBox :D
Last edited by Meow on 2024-11-15 11:47, edited 1 time in total.

aario
Posts: 29
Joined: 2019-04-18 06:26
Has thanked: 1 time
Been thanked: 1 time

Re: Is it still possible to run virtualbox on debian? (2024)

#3 Post by aario »

Yeah. That's true. Still. Any way to have virtualbox running on debian?

arzgi
Posts: 1408
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 56 times

Re: Is it still possible to run virtualbox on debian? (2024)

#4 Post by arzgi »

virtualbox was once in the repos. As they refused to correct quite grave bug, it was dropped. I have said this many times, qemu is much more capable, would start learning that instead of how to get virtualbox to run.

User avatar
Meow
Posts: 43
Joined: 2015-04-13 23:32
Has thanked: 17 times

Re: Is it still possible to run virtualbox on debian? (2024)

#5 Post by Meow »

arzgi wrote: 2024-11-15 11:45 virtualbox was once in the repos. As they refused to correct quite grave bug, it was dropped. I have said this many times, qemu is much more capable, would start learning that instead of how to get virtualbox to run.
Additionally with a software-made "processor", there are no difficulties moving a Windows virtual machine between different computers, without Windows complaining each time that the hardware has changed and it wants to be re-activated.

Thus, maybe this is the way to go :D

arzgi
Posts: 1408
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 56 times

Re: Is it still possible to run virtualbox on debian? (2024)

#6 Post by arzgi »

To OP. virtualbox is quite outcast in the FOSS community, it is much easier to find examples of qemu. Debian wiki is a good resource for any Debian user, for exmaple https://wiki.debian.org/QEMU

User avatar
blackbird
Posts: 90
Joined: 2023-08-17 04:42
Has thanked: 3 times
Been thanked: 19 times

Re: Is it still possible to run virtualbox on debian? (2024)

#7 Post by blackbird »

I have Virtualbox running on Debian 12 from the Virtualbox repository. It don't officially supports Wayland and also with X11 it don't runs very stable for me. So my plan is to switch to Virtmanager when I find the time to convert my VM.

Your first problem looks like you have secure boot enabled so the Virtualbox kernel modules can't be loaded since they are not signed.

steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1528
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 105 times
Been thanked: 254 times

Re: Is it still possible to run virtualbox on debian? (2024)

#8 Post by steve_v »

The first is a secureboot problem. The second is almost certainly a kernel version incompatibility.

Reports of VirtualBox demise are greatly exaggerated, I'm running it (from debian-fasttrack) currently, and it works as well as it ever did.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

aario
Posts: 29
Joined: 2019-04-18 06:26
Has thanked: 1 time
Been thanked: 1 time

Re: Is it still possible to run virtualbox on debian? (2024)

#9 Post by aario »

I understand all the bad blood between oracle and us, the open source community. Now, let's get back to the topic.
I installed the deb package from virtualbox website. Then I followed this comment: https://stackoverflow.com/a/61248316 and signed the kernel module for virtualbox and that solved the problem. Thanks for all the replies.

Post Reply