I have an Ubuntu 10.04 LTS guest with an annoying additions problem. The additions work just fine just after installing them - they get build and become immediately operative. After the reboot, however, they are not active. They start working if I install again. Here's the install log:
Code: Select all
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.26 Guest Additions for Linux.............
VirtualBox Guest Additions installer
Removing installed version 5.0.26 of VirtualBox Guest Additions...
Stopping VirtualBox Additions ...fail!
(Cannot unload module vboxguest)
Removing existing VirtualBox non-DKMS kernel modules ...done.
update-initramfs: Generating /boot/initrd.img-/2.6.32-21-generic
update-initramfs: failed for /boot/initrd.img-/2.6.32-21-generic
update-initramfs: Generating /boot/initrd.img-/2.6.32-22-generic
update-initramfs: failed for /boot/initrd.img-/2.6.32-22-generic
Copying additional installer modules ...
tar: Record size = 8 blocks
Installing additional modules ...
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module ...done.
Building the shared folder support module ...done.
Building the graphics driver module ...done.
update-initramfs: Generating /boot/initrd.img-2.6.32-22-generic
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used
Well, I don't know to fix all of that, I'd be happy enough to know which commands I should issue to manually start the already built additions without the need to insert the media, reinstall, etc. Like that I could just make a simple script and it gets less annoying... I looked around and tried out something, but I'm not getting any result up to now.
Thanks for any ideas!