Closed miyoku157 closed 10 months ago
The VirtualBox Guest Additions install logs look fine except for the missing unmount log: Unmounting Virtualbox Guest Additions ISO from: /mnt
Maybe VBoxLinuxAdditions.run
does not exit for some reason?
Is there a way to get more logs from it? to see where it get stucks? Am i the only one with this version getting this problem?
Am i the only one with this version getting this problem?
No, you are not. I'm having exact the same problem. Vagrant 2.3.4, the rest seems to match.
In VirtualBox 6.1 works as espected, at first provision crashes (doesn't reload Guest Additions and can't mount shares, should do a vagrant reload --provision
) but in VirtualBox 7.0, when it freezes, logging into another terminal, and executing: rcvboxadd reload
, it continues provisioning:
vagrant@bullseye:~$ sudo rcvboxadd reload
VirtualBox Guest Additions: reloading kernel modules and services
VirtualBox Guest Additions: kernel modules and services 7.0.10 r158379 reloaded
VirtualBox Guest Additions: NOTE: you may still consider to re-login if some
user session specific services (Shared Clipboard, Drag and Drop, Seamless or
Guest Screen Resize) were not restarted automatically
An alternative solution could be disabling the plugin at all as stated here:
"The vagrant vbguest plugin is not needed with the Debian boxes and we don't test it.
If you use boxes up to Debian 10 Buster, use the contrib boxes at https://app.vagrantup.com/debian. The contrib boxes already include the needed kernel modules, so you don't have to recompile the modules via the vagrant-vgbuest module.
If you use Debian 11 Bullseyes and higher, the kernel modules are already included in the box itself, since the kernel modules are now part of the official kernel releases.
Disabling vbguest with
config.vbguest.auto_update = false
disables it for the current Vagrantfile without removing the plugin globally."
I've just tested this approach with debian/bookworm64:
Checking for guest additions in VM...
The guest additions on this VM do not match the installed version of
VirtualBox! In most cases this is fine, but in rare cases it can
prevent things such as shared folders from working properly. If you see
shared folder errors, please make sure the guest additions within the
virtual machine match the version of VirtualBox you have installed on
your host and reload your VM.
Guest Additions Version: 6.0.0 r127566
VirtualBox Version: 7.0
Apart from being stuck with VBox Guest Additions v6.0.x this seems to be good enough for shared directories to work. No idea though how about the support for more recent features (if there were any).
This issue seems to occur with VirtualBox 7.0.8 and 7.0.10. I downgraded to 7.0.6 and everything works with Vagrant 2.3.7.
This issue seems to occur with VirtualBox 7.0.8 and 7.0.10. I downgraded to 7.0.6 and everything works with Vagrant 2.3.7.
I was also able to get it to work with VB 7.0.6 Windows 10 host, Ubuntu 20.04 guest
Hi, I just updated virtualbox from 7.0.8 to 7.0.10 and vagrant just freeze without any logs : Here is the last logs i have before it stops
I'm on virtual box 7.0.10 and vagrant 2.3.7 and the box i'm trying to mount is a Debian 11. Am i the only one getting this?