[Solved] Debian stretch VirtualBox Guest Additions

Discussions about using Linux guests in VirtualBox.
Post Reply
ariegeois
Posts: 4
Joined: 16. Jan 2018, 13:59

[Solved] Debian stretch VirtualBox Guest Additions

Post 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
Last edited by socratis on 19. Jan 2018, 20:39, edited 1 time in total.
Reason: Marked as [Solved].
towo2099
Volunteer
Posts: 362
Joined: 18. Aug 2014, 21:53
Primary OS: Debian Sid
VBox Version: PUEL
Guest OSses: Android, Linux

Re: Debian stretch VirtualBox Guest Additions

Post by towo2099 »

Uncompressing VirtualBox 4.3.36 Guest Additions for Linux............
Ancient and EOL Version of Vbox.
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Debian stretch VirtualBox Guest Additions

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ariegeois
Posts: 4
Joined: 16. Jan 2018, 13:59

Re: Debian stretch VirtualBox Guest Additions

Post by ariegeois »

it's the same on windows 7 host / Virtualbox 5.2.4
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Debian stretch VirtualBox Guest Additions

Post 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.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
ariegeois
Posts: 4
Joined: 16. Jan 2018, 13:59

Re: Debian stretch VirtualBox Guest Additions

Post by ariegeois »

it's alright with host 5.2.6 with guest additions 5.2.6
thanks a lot !
socratis
Site Moderator
Posts: 27330
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Debian stretch VirtualBox Guest Additions

Post 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].
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Post Reply