Page 1 of 1

[Solved] Debian stretch VirtualBox Guest Additions

Posted: 17. Jan 2018, 15:55
by ariegeois
hello

i can't install Guest additions on Debian stretch, i do:

Code: Select all

apt update
apt upgrade
apt install build-essential module-assistant dkms
m-a prepare
./VBoxLinuxAdditions.run
and i have

Code: Select all

Verifying archive integrity... All good.
Uncompressing VirtualBox 4.3.36 Guest Additions for Linux............
VirtualBox Guest Additions installer
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
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.

Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Installing the Window System drivers
Warning: unknown version of the X Window System installed.  Not installing
X Window System drivers.
 ...done.
Installing graphics libraries and desktop services components ...done.
Warning: unknown version of the X Window System installed. Not installing
X Window System drivers.


on 2 hosts machines and differents installation of Debian 9/Stretch

Can you help me ?

Thanks

Re: Debian stretch VirtualBox Guest Additions

Posted: 17. Jan 2018, 16:08
by towo2099
Uncompressing VirtualBox 4.3.36 Guest Additions for Linux............
Ancient and EOL Version of Vbox.

Re: Debian stretch VirtualBox Guest Additions

Posted: 17. Jan 2018, 19:32
by socratis
If you want to use the latest version for your host/guests, you should also consider doing the same for VirtualBox. As of this writing, that would be version 5.2.6 from http://www.virtualbox.org/wiki/Downloads.

Re: Debian stretch VirtualBox Guest Additions

Posted: 19. Jan 2018, 08:28
by ariegeois
it's the same on windows 7 host / Virtualbox 5.2.4

Re: Debian stretch VirtualBox Guest Additions

Posted: 19. Jan 2018, 09:03
by socratis
You would need to install VirtualBox 5.2.6 from the Downloads page.

NOTE: Due to a mishap with Linux guests, you will need to download the new guest additions (5.2.7) again from the Downloads page, note the "Important" section at the beginning of the page.

Oh, BTW, DKMS is no longer required by VirtualBox.

Re: Debian stretch VirtualBox Guest Additions

Posted: 19. Jan 2018, 16:28
by ariegeois
it's alright with host 5.2.6 with guest additions 5.2.6
thanks a lot !

Re: Debian stretch VirtualBox Guest Additions

Posted: 19. Jan 2018, 20:39
by socratis
Actually, if you take a close look, the GAs are 5.2.7, not 5.2.6. But I'm glad you got it going. Marking as [Solved].