[xubuntu-users] virtualbox issue with linux/version.h and shared folders between guest and host

Dan Hitt dan.hitt at gmail.com
Mon Jan 23 05:56:32 UTC 2017


I have an xubuntu 16.04 box which i'm attempting to use as a host for
an xubuntu 16.10  guest.

On the host, i installed these packages for virtualbox:
  virtualbox
  virtualbox-guest-additions-iso
  virtualbox-ext-pack
  vde2
  virtualbox-qt

On the guest, i installed the additions cd through the virtualbox gui,
which created a directory
/media/<<USERNAME>>/VBOXADDITIONS_5.0.24_108355 and in that directory,
i ran
  sudo ./VBoxLinuxAdditions.run
but not very successfully.

It errors out looking for the file
   /lib/modules/4.8.0-22-generic/build/include/linux/version.h

So i've been trying to get that file installed.

Following suggestions on the net, i've added these packages to the
guest (aside from emacs, which i sort of needed to install no matter
what):
  xserver-xorg
  xserver-xorg-core
  build-essential

I believe that's the complete list, but it's possible that i installed
some other package in order to get the version.h header listed above.

The net suggested doing
  sudo apt-get install linux-headers-$(uname -r)
but when i try that, the system says that
linux-headers-4.8.0-22-generic is already the newest version.

So i went to the packages.ubuntu.com site to see if i could find the
build/include/linux/version.h file.

That didn't seem to be part of any package for 16.10.

For reference, it looks like this issue comes up from time to time,
and usually some solution emerges, but this latest time
(October/November 2016), the issue has come up, but i haven't found
any solution yet.

Also note that i have the directory of the file that it is looking
for, and similar sounding files, like vermagic.h, but not that exact
file.

Bringing it up to this list because it seems like a pure xubuntu
matter (host and guest both xubuntu, and package for virtualbox also
coming from the usual ubuntu repository).

(And the reason i want to install the additions is so i can share a
folder between guest and host.)

TIA for any clues on how to deal with it!

dan




More information about the xubuntu-users mailing list