Unable to install virtualbox guest addition

Discussions about using Linux guests in VirtualBox.
Post Reply
Jeet Rami
Posts: 1
Joined: 14. Apr 2021, 09:20

Unable to install virtualbox guest addition

Post by Jeet Rami »

Hey Guys,

So I build a distro using LFS Project and use arch package manager, pacman and it's repos. And system use Sysvinit. I installed KDE as DE and it works properly. Now problem is I'm using my LFS in virtualbox and I want to install the guest addition but I'm getting some error. First time when I start installation of guest addition I get error "modprobe vboxguest failed" but then I manually run "modprobe vboxguest" and it solves that problem then it gives me some kernel error. Please refer below attached logs of it.

I already have linux-headers also. And the autoconf file which virtualbox guest addition is checking. I checked into my /lib/modules/5.10.17/ all the files are there in proper directory where it expected to be. I personally think it's a kernel module problem so I tried to build the kernel with virtualization option too but still it's not working. If it's a kernel module problem then please tell which menu config I need to select or share the config file which works for virtualbox. Any help would be grateful because I'm trying to solve this problem from last several days. Any help would be grateful.

Kernel Version: 5.10.17
Virtualbox Guest Addition Version: 6.1.18

Thank you in advance.
Attachments
vboxadd-setup.log
(24.26 KiB) Downloaded 22 times
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Unable to install virtualbox guest addition

Post by scottgus1 »

Try this, the same concept for installing Virtualbox on Linux hosts applys for GAs in a Linux VM. viewtopic.php?f=7&t=101686

Also, a recent post (which I cannot find, aaarrggghh) says that newer 5.1something kernels need more development from Virtualbox. Try the test builds or wait for 6.1.20.
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Unable to install virtualbox guest addition

Post by fth0 »

FWIW, VirtualBox 6.1.18 supports Linux kernel 5.10, but not 5.11. I cannot help you with the build error, though.
Post Reply