How to install VirtualBox Guest Additions kernel modules on Debian Jessie ?

To install VirtualBox Guest Additions kernel modules on Debian Jessie, make sure to attach the “Guest Additions” CD-ROM image.
Copy the “VBoxLinuxAdditions.run script to /tmp

Then run it as below :Virtualbox_guest_additions_tools_missing_compilation_tools

 

Install the missing tools gcc and make :

[fool@localhost:~]$ sudo apt-get install gcc make

Run the script again :

 

Virtualbox_guest_additions_tools_missing_compilation_tools_1

There is still a missing dependency :

Virtualbox_guest_additions_tools_missing_compilation_tools_2

Install it :

[fool@localhost:~]$ sudo apt-get install linux-headers-$(uname -r)

The VirtualBox Guest additions kernel modules can now be compiled and be loaded successfully :

Virtualbox_guest_additions_tools_missing_compilation_tools_3

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s