modprobe vboxguest failed
I am running an Ubuntu Server (12.0.4-beta2; kernel 3.2.0) in VirtualBox (host is Win7) and I want to use shared folders. I've followed the manual to set up vbox guest additions but this error occurs with every startup:
Starting the VirtualBox Guest Additions ...fail!
(modprobe vboxguest failed)
Starting VirtualBox Guest Addition service VirtualBox Additions module not loaded!When I try it myself:
$ modprobe vboxguest
FATAL: Module vboxguest not found.Did I do something wrong, what do I need to fix it? Thanks for help.
48 Answers
I had this problem today, and solved it by installing the kernel-headers
yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers then
yum install kernel-develor
yum install kernel-PAE-develThen re-run VBoxLinuxAdditions.run.
I discovered here that the standard guest additions install includes a built-in setup function, so there's no need to reinstall:
/etc/init.d/vboxadd setupThis gave me the error about missing kernel sources, so as brendan's answer, yum install kernel-devel, and then that setup command works, and everything seems to be back to normal again!
I had a similar problem today, but it turns out the vagrant-vbguest plugin was not installed. So, in the folder with my Vagrantfile:
vagrant plugin install vagrant-vbguestThat solved it for me.
1on Centos 8, first run
sudo yum install elfutils-libelf-devel 1 When installing from an ISO that has had point fixes made to it, the kernel-devel headers will most likely be a newer version than the kernel that shipped with the ISO.
You need to make sure everything is up to date and in lockstep.
What worked for me on a CentOS 8 install was the following:
sudo yum updatesudo yum install binutils gcc make patch libgomp glibc-headers glibc-devel elfutils-libelf-devel kernel-headers kernel-develsudo reboot- Insert VBox Guest Additions again
Had the same problem on a Debian guest. Based on dualed's answer:
Find out your kernel architecture, i.e.:
$ uname -r 4.9.0-3-686Install make and the kernel headers (replace "686" with your architecture: "amd64", "686-pae",...):
$ sudo apt install make linux-headers-686Finally, install the Guest Additions:
$ sudo sh ./VBoxLinuxAdditions.run
I followed till this below : None of them cleared issue. After below step, worked fine.
sudo yum install elfutils-libelf-devel
My environment: OVM : 6.1 Oracle Linux 7.9
I've found this and sort everything out!:
yum install kernel-uek-headers-$(uname -r)
yum install kernel-uek-devel-$(uname -r)
it's intall what VBoxLinuxAdditions.run needs.