Using VirtualBox 5.0.20 r 106931 on Windows 10 Home (64bit) host
Linux guest is Linux Mint 17.3 64-bit
I insert guest additions from the devices menu (in the guest window.) that mounts the .iso to /media/cdrom/ in my environment.
I open a terminal and type "sudo su -" to become the root user.
I change directory (cd /media/cdrom)
I execute the .run file (./VBoxLinuxAddtions.run) and get permission denied error. ( o.0 ) as root!?
The .run file has the following permissions:
-r-xr-xr-x 1 root root 7996878 Apr 28 09:22 VBoxLinuxAdditions.run*
So, I copy the .run file to /root, chmod to 777 and execute. And it works. It starts installing. Here's the output:
Code: Select all
nightmarevm ~ # ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.0.20 Guest Additions for Linux............
VirtualBox Guest Additions installer
Removing installed version 5.0.16 of VirtualBox Guest Additions...
Stopping VirtualBox Additions ...fail!
(Cannot unload module vboxguest)
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Copying additional installer modules ...
Installing additional modules ...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
You should restart your guest to make sure the new modules are actually used
nightmarevm ~ # pwd
/root
OH, this is the best part. Now that I've updated guest additions to 5.0.20 and rebooted the guest -- I get a blank screen after I log in. Just black. And of course I DID NOT take a snapshot before I upgraded the guest additions. That would've been smart of me. And VirtualBox is all locked up - can't task switch to it. Can't kill the guest. Real nice.
UPDATE: I guess I should have halted (instead of restarted) the guest. After I killed the guest process using Windows Task Manager, and re-started the guest a few times, I got it to come back. Phew!