

- #Virtualbox guest additions ubuntu linux headers how to
- #Virtualbox guest additions ubuntu linux headers install
The only problem is, I have gotten into a state where I saw all 3 of the expected services running, but I know for example that the folder sharing isn’t working shared folders fail to mount in CL. But one thing I wanted to mention from the installation guide – it tells you to check if the extensions are running after reboot by doing a lsmod | grep ^vbox.
#Virtualbox guest additions ubuntu linux headers install
I can also try doing yet another fresh install of Clear Linux and focus on getting VBox GAs installed there.

Point well taken about cleaning /tmp since I know a lot of intermediate files are being dumped there. Reminds me of when a QA resource keeps finding bugs that I miss because I prefer keyboard navigation, and they use the mouse for everything. This suggests to me that there’s some unspoken assumption being made, for example some step that is considered so “obvious” that nobody bothers to write it down. I’m aware that the install-vbox-lga script is a wrapper around the install script(s) provided by VirtualBox – my experience in the past has been that this approach is brittle at best.īut what’s really bothering me is your claim that everything is working perfectly for you. I’ll try to provide those logs and list of installed bundles tonight after my day job. I’ve got linux-lts-dev installed, and I made sure to install flex and bison just in case. I tried installing which, but that seems to already be present. I’m really not sure what the next steps are for fixing this and moving forward. It’s my understanding that this is a legit LTS kernel and should work. (cat /dev/null echo kernel//tmp/vbox.0/vboxguest.ko ) > /tmp/vbox.0/modules.orderĭoing a uname -r gives the following string: 4.19.42-31.lts2018 Mkdir -p /tmp/vbox.0/.tmp_versions rm -f /tmp/vbox.0/.tmp_versions/*

Test -e include/generated/autoconf.h -a -e include/config/nf || (Įcho >&2 " ERROR: Kernel configuration is invalid." Įcho >&2 " include/generated/autoconf.h or include/config/nf areĮcho >&2 " Run ‘make oldconfig & make prepare’ on kernel src to fix it. However, here’s the very beginning of the log:>īuilding the main Guest Additions module for kernel 4.19.42-31.lts2018.Įrror building the module. I can’t upload the setup logs here because apparently attachment types are restricted. install.sh: line 143: VBoxControl: command not found Removing installed version 6.0.8 of VirtualBox Guest Additions… During execution, I saw this echoed to the console: When the previous “install” was detected, I chose to have the script remove it. OK, so I just attempted to install the VirtualBox 6.0.8 Guest Additions under Clear Linux.
#Virtualbox guest additions ubuntu linux headers how to
Is there a way to fix this easily? The docs explaining how to install the VBox GAs are very bare-bones and seem very incomplete.Įither knowing where to go to run the make or obtaining the kernel config using an alternate mechanism would probably help me get past this issue.

(It doesn’t seem to be in the usual spots.) Then I realized I had no idea where the kernel sources were (pretty sure I have them somewhere because I installed bundle linux-lts-dev) and couldn’t find anywhere in the docs where this might be. I have the kernel headers as well as flex and bison, so those errors are not present, but I am seeing errors that mention fixdep.c and messages telling me to run make oldconfig to generate the missing config. Looking at the logs tells me there are some missing pieces, including a kernel. Part of the problem is that the install-vbox-lga script suppresses any errors and gives the appearance of succeeding, but the building of kernel modules “completes” way too fast. The install goes pretty well (with the exception that the CL installer doesn’t believe in updating progress indicators), but installing VirtualBox Guest Additions fails. For reference, I’ve been using VB 6.0.6 until this morning (6.0.8 was just released), and I just tried again last night with release 29400 of Clear Linux. I’ve been having awful luck trying to install Clear Linux in VirtualBox.
