Kali VM and VirtualBox Guest Additions
Pat CINLUG
pat-cinlug at indy.rr.com
Sat May 12 14:25:52 EDT 2018
I recall someone in a meeting earlier this year mentioned a problem with
using the Guest Additions with a Kali VirtualBox VM. I believe they
wanted to access an USB drive on the host.
I think the solution is to use the VirtualBox packages from the Kali
repositories.
> # dpkg -l virtualbox*
> Desired=Unknown/Install/Remove/Purge/Hold
> | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
> |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> ||/ Name Version Architecture Description
> +++-=================================-=====================-=====================-=======================================================================
> ii virtualbox-guest-dkms 5.2.8-dfsg-5 all x86 virtualization solution - guest addition module source for dkms
> un virtualbox-guest-modules <none> <none> (no description available)
> un virtualbox-guest-source <none> <none> (no description available)
> ii virtualbox-guest-utils 5.2.8-dfsg-5 amd64 x86 virtualization solution - non-X11 guest utilities
> ii virtualbox-guest-x11 5.2.8-dfsg-5 amd64 x86 virtualization solution - X11 guest utilities
This worked for me even though the host is running VirtualBox 5.2.12. I
also had to be sure the USB drive was not mounted on the host.
If I try to update the VirtualBox Guest Additions from the virtual
CD-image, there is a warning that advises sticking with the distro
> # bash /media/cdrom0/VBoxLinuxAdditions.run
> Verifying archive integrity... All good.
> Uncompressing VirtualBox 5.2.12 Guest Additions for Linux........
> VirtualBox Guest Additions installer
> This system appears to have a version of the VirtualBox Guest Additions
> already installed. If it is part of the operating system and kept up-to-date,
> there is most likely no need to replace it. If it is not up-to-date, you
> should get a notification when you start the system. If you wish to replace
> it with this version, please do not continue with this installation now, but
> instead remove the current version first, following the instructions for the
> operating system.
>
> If your system simply has the remains of a version of the Additions you could
> not remove you should probably continue now, and these will be removed during
> installation.
More information about the cinlug
mailing list