VirtualBox guest additions: Difference between revisions
(Added instructions for installing virtualbox guest additions) |
Glueckspilz (talk | contribs) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
=How to install VirtualBox guest additions= | =How to install VirtualBox guest additions= | ||
== For Alpine Linux Version 3.10 == | |||
# enable edge/community package | |||
# install {{Cmd|apk add virtualbox-guest-additions virtualbox-guest-modules-virt}} | |||
== For older versions == | |||
First install [https://pkgs.alpinelinux.org/package/testing/x86/virtualbox-additions-grsec virtualbox-additions-grsec]: | First install [https://pkgs.alpinelinux.org/package/testing/x86/virtualbox-additions-grsec virtualbox-additions-grsec]: | ||
Line 13: | Line 20: | ||
If the error occurs, then you need to enable the alpine testing repo: | If the error occurs, then you need to enable the alpine testing repo: | ||
{{Cmd|echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories | {{Cmd|echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories}} | ||
Then update respository indexes from all remote repositories | Then update respository indexes from all remote repositories, and install <code>virtualbox-additions-grsec</code> | ||
{{Cmd|apk update}} | {{Cmd|apk update | ||
apk add virtualbox-additions-grsec}} | |||
Then add <code>vboxpci</code>,<code>vboxdrv</code>, and <code>vboxnetflt</code> to <code>/etc/modules</code>: | Then add <code>vboxpci</code>,<code>vboxdrv</code>, and <code>vboxnetflt</code> to <code>/etc/modules</code>: | ||
Line 26: | Line 34: | ||
And reboot to put these changes into effect. | And reboot to put these changes into effect. | ||
[[Category:Virtualization]] |
Revision as of 07:47, 27 October 2019
How to install VirtualBox guest additions
For Alpine Linux Version 3.10
- enable edge/community package
- install
apk add virtualbox-guest-additions virtualbox-guest-modules-virt
For older versions
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, and install virtualbox-additions-grsec
apk update apk add virtualbox-additions-grsec
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.