VirtualBox guest additions

From Alpine Linux
Revision as of 20:42, 29 August 2015 by Zzggbb (talk | contribs) (Added instructions for installing virtualbox guest additions)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

How to install VirtualBox guest additions

First install virtualbox-additions-grsec:

apk add virtualbox-additions-grsec

The following error may occur:

ERROR: unsatisfiable constraints: virtualbox-additions-grsec (missing): required by: world[virtualbox-additions-grsec]

If the error occurs, then you need to enable the alpine testing repo:

echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories"

Then update respository indexes from all remote repositories:

apk update

Then add vboxpci,vboxdrv, and vboxnetflt to /etc/modules:

echo vboxpci >> /etc/modules echo vboxdrv >> /etc/modules echo vboxnetflt >> /etc/modules

And reboot to put these changes into effect.