Saturday, 27 May 2017

Installing Virtualbox Guest modules into Devuan

This involves the following:

1. Remove the cdrom as a package source
2. Add jessie-backports as a package source
3. Update the installation
4. Add the required packages


1. Remove the cdrom as a package source

As a privileged user, edit the /etc/apt/sources.list file and put a hash character in front of any line starting with 'deb cdrom':

$ sudo vi /etc/apt/sources.list


2. Add jessie-backports as a package source

Add the following three lines (if you're using the GB mirror) to your sources.list:

# jessie-backports
deb http://gb.mirror.devuan.org/merged/ jessie-backports main contrib
deb-src http://gb.mirror.devuan.org/merged/ jessie-backports main contrib

Adjust the URL if you are using a different mirror to what you are using for e.g. jessie-updates


3. Update the installation

$ sudo apt update
$ sudo apt dist-upgrade
$ sudo apt autoremove
$ sudo apt autoclean


4. Identify your kernel architecture:

$ uname -a
Linux devuan 3.16.0-4-amd64 #1 SMP Debian 3.16.43-2 (2017-04-30) x86_64 GNU/Linux

4. Add the required packages, replace amd64 with the architecture identified above as appropriate:

$ sudo apt install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms dkms linux-headers-amd64 build-essential




No comments:

Post a comment