Can't install virtualbox guest addition
by Jeet Rami from LinuxQuestions.org on (#5GH3D)
Hey Guys,
So I build a distro using LFS Project and use arch package manager, pacman and it's repos. 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 posted logs of it.
https://termbin.com/2zss
I already have linux-headers also. And the autoconf file which virtualbox guest addition can't find. I checked into my /usr/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.
LFS Version: 10.1
Kernel Version: 5.10.17
Virtualbox Guest Addition Version: 6.1.18
Thank you in advance.


So I build a distro using LFS Project and use arch package manager, pacman and it's repos. 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 posted logs of it.
https://termbin.com/2zss
I already have linux-headers also. And the autoconf file which virtualbox guest addition can't find. I checked into my /usr/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.
LFS Version: 10.1
Kernel Version: 5.10.17
Virtualbox Guest Addition Version: 6.1.18
Thank you in advance.