- Modprobe vboxguest failed astra linux
- #2 2019-12-28 02:49:30
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #3 2019-12-28 11:46:40
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #4 2019-12-28 13:47:53
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #5 2019-12-28 15:25:39
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #6 2019-12-28 15:56:55
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #7 2019-12-28 23:19:14
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #8 2019-12-28 23:36:55
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #9 2019-12-29 00:25:48
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #10 2019-12-29 00:55:24
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #11 2019-12-29 01:42:01
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #12 2019-12-29 15:12:47
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #13 2019-12-29 16:06:42
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #14 2019-12-29 20:55:27
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #15 2019-12-29 23:14:40
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #16 2019-12-29 23:58:49
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #17 2019-12-30 00:44:12
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #18 2019-12-30 01:50:11
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #19 2019-12-30 01:54:57
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #20 2019-12-30 02:28:23
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #21 2019-12-30 02:41:18
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #22 2019-12-30 11:14:21
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- #23 2019-12-30 11:41:07
- Re: [SOLVED] Failing to install VirtualBox Guest Additions
- modprobe vboxguest failed
- 8 Answers 8
- virtualbox.org
- Guest additions — modprobe vboxguest failed
- Guest additions — modprobe vboxguest failed
- Re: Guest additions — modprobe vboxguest failed
- Re: Guest additions — modprobe vboxguest failed
Modprobe vboxguest failed astra linux
Mounted VBoxGuestAdditions.iso as required.
Checked that /media/cdrom/VBoxLinuxAdditions.run is present after starting Helium.
However, getting the following results in terminal:
How to obtain the permission to run the script?
Last edited by pstrg (2020-01-01 19:41:21)
#2 2019-12-28 02:49:30
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Have you made sure that the script is executable?
Be Excellent to Each Other.
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Online
#3 2019-12-28 11:46:40
Re: [SOLVED] Failing to install VirtualBox Guest Additions
I believe that, being the file within VBoxGuestAdditions.iso that’s intended to install the Guest additions, it should already be executable.
Following your suggestion, did the following:
Last edited by pstrg (2019-12-29 17:52:08)
#4 2019-12-28 13:47:53
Re: [SOLVED] Failing to install VirtualBox Guest Additions
It isn’t in your executables $PATH, so you need to use
Be Excellent to Each Other.
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Online
#5 2019-12-28 15:25:39
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Well, well. it seems that I’m still missing something:
Last edited by pstrg (2019-12-29 17:52:44)
#6 2019-12-28 15:56:55
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Copy /media/cdrom to /tmp/ga for example and try to run VBoxLinuxAdditions.run from tmp directory. At least until somebody figures out why the script can’t be run from original mounted location.
Señor Chang, why do you teach Spanish?
#7 2019-12-28 23:19:14
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Copy /media/cdrom to /tmp/ga for example and try to run VBoxLinuxAdditions.run from tmp directory. At least until somebody figures out why the script can’t be run from original mounted location.
Instead of move it, run:
You can not change permission on the cd.
Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under «Help Resources» on the BunsenLabs menu
#8 2019-12-28 23:36:55
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Thanks @rbh but seems it still didn’t work:
vboxadd-setup.log contents are the same as those of my prior post.
Last edited by pstrg (2019-12-29 17:53:59)
#9 2019-12-29 00:25:48
Re: [SOLVED] Failing to install VirtualBox Guest Additions
@pstrg, you need to install the matching version of headers for the kernel. You need to install the headers for the 4.9.0-11-amd64 kernel in the guest.
Last edited by DeepDayze (2019-12-29 00:34:31)
Real Men Use Linux
#10 2019-12-29 00:55:24
Re: [SOLVED] Failing to install VirtualBox Guest Additions
@DeepDayze, it’s really tricky.
After installing kernel headers, I’ve been asked to install gcc make perl packages, but still no success:
—Mod edit— Please use [ code ] tags for terminal output!
Last edited by damo (2019-12-29 01:27:49)
#11 2019-12-29 01:42:01
Re: [SOLVED] Failing to install VirtualBox Guest Additions
This will install all the packages necessary to compile the modules. This is not installed by default.
Real Men Use Linux
#12 2019-12-29 15:12:47
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Still not there.
Followed your advice but:
Next I tried a copy of the script (and everything else on the cdrom):
Last edited by pstrg (2019-12-29 17:31:30)
#13 2019-12-29 16:06:42
Re: [SOLVED] Failing to install VirtualBox Guest Additions
@pstrg PLEASE use [ code ] tags for terminal output. It makes it much easier to read and scroll through
Be Excellent to Each Other.
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Online
#14 2019-12-29 20:55:27
Re: [SOLVED] Failing to install VirtualBox Guest Additions
sudo: unable to execute /media/cdrom/VBoxLinuxAdditions.run: Permission denied
As I wrote before, when installing guest additions from the iso, run the installer through the shell:
[. ]
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
paulo@helium:
You have now installed needed packages before you installed Guest additions, as descibed in section 4.2.2.1, on page https://www.virtualbox.org/manual/ch04.html#additions-linux. The installer informed you that:
«Running kernel modules will not be replaced until the system is restarted».
So, Guet additions should bre ok after restart.
Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under «Help Resources» on the BunsenLabs menu
#15 2019-12-29 23:14:40
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Just done it again (please see below) but still can’t see the shared folder after rebooting.
#16 2019-12-29 23:58:49
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Just done it again (please see below) but still can’t see the shared folder after rebooting.
Done what? reinstalled Guest additions?
You did not try the recommende command, «If you suspect that something has gone wrong,»:
My latest WM, an BL Lithium responds on that command with: «modprobe vboxsf failed».
So, shared folders is not working on that machine. But all other things work, like usb3 support and shared clipboard and so on.
I have not had time to to investigate and it’s not an hurry to do it, as I’ve set up NFS instead.
You could check, if it’s only vboxfs that don work.
Also, whats OS on host? Which virtualbox version on host, also 6.1?
Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under «Help Resources» on the BunsenLabs menu
#17 2019-12-30 00:44:12
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Host is Windows 10; VirtualBox is 6.1.0.
#18 2019-12-30 01:50:11
Re: [SOLVED] Failing to install VirtualBox Guest Additions
I’ve just conducted quick test, everything seems to be in order: Windows 10 machine, VBox v6.0, BL He vitual machine.
Have you set auto-mount and proper paths in Vbox VM machine settings? This works for me:
Señor Chang, why do you teach Spanish?
#19 2019-12-30 01:54:57
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Yes, auto-mount, proper path, Windows 10, VirtualBox 6.1.0.
In fact, have been able to do it with PeppermintOS; used the very same settings on VirtualBox side.
#20 2019-12-30 02:28:23
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Check the log files, maybe we could see something useful there. Here’s how those look in my case.
VBox.log.1 (log file in VM «Logs» directory) shows these lines:
This is the output from the Bunsen Labs:
Señor Chang, why do you teach Spanish?
#21 2019-12-30 02:41:18
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Here’s what I have on VirtualBox side:
#22 2019-12-30 11:14:21
Re: [SOLVED] Failing to install VirtualBox Guest Additions
There is nothing regarding «SharedFolder» in the pasted log, can you confirm that there is no entries in the entire log containing that keyword?
In any case, can you hit this command in Bunsen Labs and report the result:
If this fixed your problem we need to make that module load automatically every time after (re)boot:
This would indicate that Guest additions install is somehow broken. The steps I follow to minimize problems when installing VBox GA on Debian guest are these:
BunsenLabs welcome script offers this option right at the start.
2. Reboot (because of kernel update)
4. Run VirtualBox guest additions install script
Señor Chang, why do you teach Spanish?
#23 2019-12-30 11:41:07
Re: [SOLVED] Failing to install VirtualBox Guest Additions
Here’s what I have on VirtualBox side:
If I interpret it rigt, it is the guest machine log shown from host Virtualbox GUI menu => Machine => Show log => VBox.log
But, it can not be the whole log.
I have now reinstalled linux headers on my faulty WM:
And rerun VBoxLinuxAdditions.run. Now automount of shared directory works. But, I was reminded of why I do not use it: Its only accessible for root. Maybe, I have done something wrong. I have not investigate it, as I use NFS instead.
My VBox.log says:
I asked you if your subject liner realy was true or if it only was shared directory that did not work. You have not answered.
Have you installed Linuxheaders:
(that command should also install gcc.
and after that installed Linux guest additions?
What does the guests /var/log/vboxadd-setup.log say?
If you search for
you will se that most often it will get fixed wit installing linux headers.
Btw, I maybe shall explain why you can not run /media/cdrom/VBoxLinuxAdditions.run directly?
You have an entry for DVD/Cd in your guests /etc/fstab, probaly something like:
«user» also means «noexec». That means you can not execute any program from that filesystem. You can edit fstab and ad «exec» after user, but that can be an security risk.
That, is why you have to execute the shell (bash or sh) and read in the skript. You can test with the copy of VBoxLinuxAdditions.run in your home. Remove the executable bit and you can still execute it with «bash VBoxLinuxAdditions.run».
Please read before requesting help: Guide to getting help,
Introduction to the Bunsenlabs Lithium Desktop and other help topics under «Help Resources» on the BunsenLabs menu
Источник
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 http://www.virtualbox.org/manual/ch04.html#idp5801200 but this error occurs with every startup:
When I try it myself:
Did I do something wrong, what do I need to fix it? Thanks for help.
8 Answers 8
I had this problem today, and solved it by installing the kernel-headers
Then 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:
This 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:
That solved it for me.
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 update
- sudo yum install binutils gcc make patch libgomp glibc-headers glibc-devel elfutils-libelf-devel kernel-headers kernel-devel
- sudo reboot
- Insert VBox Guest Additions again
Источник
virtualbox.org
End user forums for VirtualBox
- Board index‹General‹VirtualBox on Linux Hosts
- Change font size
- Print view
- FAQ
- Login
Guest additions — modprobe vboxguest failed
Guest additions — modprobe vboxguest failed
by poumtatalia » 30. Apr 2013, 19:25
Hi,
I’m trying to install guest additions on a Ubuntu 12.04 guest (host is the same), but I get the following error.
Code: Select all Expand viewCollapse view Starting the VirtualBox Guest Additions . fail!
(modprobe vboxguest failed)
Starting VirtualBox Guest Addition service VirtualBox Additions module not loaded!
but nothing works. Any idea anyone?
Re: Guest additions — modprobe vboxguest failed
by Perryg » 30. Apr 2013, 19:47
Wow the link took me to a place where they are telling you to install kernel-devel.
Anyway the following will install the needed packages.
Code: Select all Expand viewCollapse view sudo apt-get install dkms build-essential linux-headers-$(uname -r)
Re: Guest additions — modprobe vboxguest failed
by poumtatalia » 30. Apr 2013, 20:19
Thanks a lot for your help. I still have the same problem though );
Here’s the msg when installing:
Code: Select all Expand viewCollapse view Verifying archive integrity. All good.
Uncompressing VirtualBox 4.1.12 Guest Additions for Linux.
VirtualBox Guest Additions installer
Removing installed version 4.1.12 of VirtualBox Guest Additions.
Removing existing VirtualBox DKMS kernel modules . done.
Removing existing VirtualBox non-DKMS kernel modules . done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module . fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions . done.
Installing the Window System drivers
Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.
Installing modules . done.
Installing graphics libraries and desktop services components . done.
Press Return to close this window.
And here’s the message in VBoxGuestAdditions.log
Code: Select all Expand viewCollapse view Starting the VirtualBox Guest Additions . fail!
(modprobe vboxguest failed)
Starting VirtualBox Guest Addition service VirtualBox Additions module not loaded!
And just in case, here’s the vboxadd-install.log
Code: Select all Expand viewCollapse view Uninstalling modules from DKMS
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxguest/4.1.12/source ->
/usr/src/vboxguest-4.1.12
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping.
Источник