|
|
Line 1: |
Line 1: |
| =How to install VirtualBox guest additions= | | =How to install VirtualBox guest additions= |
|
| |
| == For Alpine Linux 3.11 and later ==
| |
|
| |
|
| # install {{Cmd|apk add virtualbox-guest-additions}} | | # install {{Cmd|apk add virtualbox-guest-additions}} |
Line 7: |
Line 5: |
| {{Cmd|apk add virtualbox-guest-additions-x11 | | {{Cmd|apk add virtualbox-guest-additions-x11 |
| rc-update add virtualbox-drm-client default}} | | rc-update add virtualbox-drm-client default}} |
|
| |
| == For Alpine Linux 3.10 ==
| |
|
| |
| # install {{Cmd|apk add virtualbox-guest-additions virtualbox-guest-modules-virt}}
| |
| To enable X11 display auto-resizing:
| |
| {{Cmd|apk add virtualbox-guest-additions-x11
| |
| rc-update add virtualbox-drm-client default}}
| |
|
| |
| == For older versions ==
| |
|
| |
| First install [https://pkgs.alpinelinux.org/package/testing/x86/virtualbox-additions-grsec virtualbox-additions-grsec]:
| |
|
| |
| {{Cmd|apk add virtualbox-additions-grsec}}
| |
|
| |
| The following error may occur:
| |
|
| |
| {{Cmd|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:
| |
|
| |
| {{Cmd|echo "http://nl.alpinelinux.org/alpine/edge/testing" >> /etc/apk/repositories}}
| |
|
| |
| Then update respository indexes from all remote repositories, and install <code>virtualbox-additions-grsec</code>
| |
|
| |
| {{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>:
| |
|
| |
| {{Cmd|echo vboxpci >> /etc/modules
| |
| echo vboxdrv >> /etc/modules
| |
| echo vboxnetflt >> /etc/modules}}
| |
|
| |
| And reboot to put these changes into effect.
| |
|
| |
|
| [[Category:Virtualization]] | | [[Category:Virtualization]] |