I’ve been having awful luck trying to install Clear Linux in VirtualBox. 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.
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.
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. Looking at the logs tells me there are some missing pieces, including a kernel .config
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. 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. (It doesn’t seem to be in the usual spots.)
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.
Either 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.