Linux Lite Forums
Software - Support => Installing Software => Topic started by: Duckeenie on November 02, 2015, 08:42:04 AM
-
Trying to use Virtualbox with kernel 4.2 but keep getting error: "No suitable module for running kernel found".
Anything we can do to troubleshoot this?
-
What version of VirtualBox?
-
I tried both the one in the LL Repo and 5.0.8 for Ubuntu 15.10
-
So which one is and installed that you are using that you get the error with?
-
I had the same error using both but currently I have 4.3.10 installed.
-
In that case it is unlikely to work with the LL kernels we supply, they're built differently than the Ubuntu ones. You'll have to use the stock kernel that ships with LL. Cheers :)
-
Obviously I'm still learning...
I read that Virtualbox builds it's modules automatically on first install.
It needs to cater for all the variants of kernels.
If the kernel changes, it should re-build them, if dkms is installed.?
Not sure if this helps..??,
see section 2.3.2 (https://www.virtualbox.org/manual/ch02.html#install-linux-host)
maybe what I posted in other thread was wrong..??
-
I am running 5.0.8 with kernel 4.3 without issue. Perhaps you could remove everything VirtualBox related and start from scratch, and I mean everything.
-
@Jerry
Sorry, "Off Topic"..
What version of VBox is provided by Lite Software Centre.?
I have my pre Lite Software Centre version, the last update took it to 4.3.32
I think this was the last in the 4.x family.
-
@Wirezfree, whichever is in the Ubuntu repos at the time (see Synaptic).
-
I am running 5.0.8 with kernel 4.3 without issue. Perhaps you could remove everything VirtualBox related and start from scratch, and I mean everything.
Which of the numerous Virtualbox packages are you running? https://www.virtualbox.org/wiki/Linux_Downloads
-
Obviously I'm still learning...
I read that Virtualbox builds it's modules automatically on first install.
It needs to cater for all the variants of kernels.
If the kernel changes, it should re-build them, if dkms is installed.?
Not sure if this helps..??,
see section 2.3.2 (https://www.virtualbox.org/manual/ch02.html#install-linux-host)
maybe what I posted in other thread was wrong..??
This is useful info.
At this point I can't really remember whether I upgraded my kernel before installing Virtualbox or vice verse. This is what happens when you try fumbling in the dark. (I still remember reinstalling Win95 on an almost weekly basis)
All good fun though :)
-
So today I learned the importance of using apt-get purge when appropriate.
Working fine now :)
-
Cool :)
-
@Duckeenie
Did you do a full purge of 4.x, and then a new install of 5.0.8.?
Was this with with an updated kernel already on the Host.?
Which install method did you use to install 5.0.8
The one in the link I provided, or another.??
Thanks...
-
@Wirezfree
I was already on Linux 4.3, I did the following...
apt-get purge virtualbox of 4.x
apt-get autoremove dkms (with hindsight this was likely unnecessary but at the time I wasn't exactly sure how it related to VB)
Downloaded the 5.0.8 release for Ubuntu 12.04, installed it, created a VM, did a test install to it then on completion proceeded to punch the air.
All seems so simple now...
-
@Duckeenie,
Many Thanks...
Can you fill in a couple of blanks.?
> Where did you down load from.? Virtualbox Wiki (https://www.virtualbox.org/wiki/Downloads) or Synaptic.
The dkms, from what I have read takes care of VBox when you update the Kernel.
Maybe it gets installed along with VBox on a new install.?
Have you installed the "Extension Pack" also on the above wiki page?
It's a download, then use VBox File > Preferences > Extensions to install it?
Have you installed the "Guest additions" in your 12.04 Guest.?
I'm on 4.3.32, the last in 4.x series
I installed it manually early in the year using instructions on the above VBox wiki page,
It then proceeded to update it'self whenever an update was available via the normal "LL Install Updates".
I was hoping it was going to do that for 5.x, but it appears not to want to.
-
@Duckeenie
Given you seem to be at the bleeding edge with Kernels/VBox
It's over my head, but you may find it of interest when it comes to further Kernel updates (https://forums.virtualbox.org/viewtopic.php?f=7&t=74238)
-
@Wirezfree
I downloaded from https://www.virtualbox.org/wiki/Linux_Downloads (https://www.virtualbox.org/wiki/Linux_Downloads)
DKMS does exactly what you say though it isn't exclusive to VB. Not sure whether it comes packaged with your distro or is packaged with programs that require it. (One for Jerry I guess)
I haven't tried the extensions yet, RDP with VB looks like something I might be interested in trying though, even if it''s just so I can say I did.
Haven't bothered with guest additions yet as I was just testing but I have used them previously and find them to be an essential really.
VB 5.x doesn't appear to be in the LL repos yet so I imagine that's why there are no updates forthcoming. There is a little info directly below the VB download wiki that outlines adding their PPA, if you run that through your Enigma machine it might help with your update woes. :)
-
@Wirezfree - RE: Further kernel upgrades.
Now I need that Enigma Machine. :)
-
@Duckeenie..
Many Thanks..
Enigma..!! I think I need a new brain,
unfortunately my usual supplier (http://www.amazon.co.uk/Brain-Squeezer-Stress-Balls-StressCHECK/dp/B00HYBZ4CC/ref=sr_1_16?ie=UTF8&qid=1446585153&sr=8-16&keywords=brain) is out of real ones
-
LOL@Wirezfree
-
The voyage of discovery continues...
Whilst doing some more research I came across some references to "Two versions of Guest additions being installed"
So I checked my Linux Lite VM's, sure enough I have this warning:
dave@vm-ll22:~$ sudo dkms status
[sudo] password for dave:
vboxguest, 4.3.26, 3.13.0-24-generic, x86_64: installed
virtualbox-guest, 4.3.10, 3.13.0-24-generic, x86_64: installed
(WARNING! Diff between built and installed module!)
(WARNING! Diff between built and installed module!)
(WARNING! Diff between built and installed module!)
dave@vm2-ll22:~$
I have the up-to-date version 4.3.26, and the default 4.3.10 which is in most(all) Ubuntu based distros
The default is there to enable certain features immediately if you install straight into a VM.
There is an issue with the Guest Additions installer, it does not remove the default, it's named differently.
It should not cause any problems, but can under certain condition, "not found what they are..??"
After much digging, and trial and error I fixed it with:
So do the following in the "guest", it's case sensitive.?:
sudo apt-get purge VirtualBox*
sudo apt-get purge virtualBox*
Re-boot,
Now you will end up with a small 800X480 display and maybe limited mouse movement
So you may need to do manual, not mouse clicks.
Open a terminal, ctrl-alt-t.
sudo apt-get install dkms
sudo /etc/init.d/vboxadd setup
Open the little Virtualbox menu and select "Insert Guest Additions CD image"
Open the CD image, then right click "Open Terminal Here", then:
sudo sh ./VBoxLinuxAdditions.run
Close terminal, and reboot VM.
Open the little Virtualbox menu and select "View" and click on "Switch to Fullscreen"
Then check again:
dave@vm2-ll22:~$ sudo dkms status
[sudo] password for dave:
vboxguest, 4.3.32, 3.13.0-24-generic, x86_64: installed
dave@vm2-ll22:~$
Now fixed, 1 vboxguest additions.