Linux – How to install virtualbox guest addition in a guest machine with the latest Archlinux

arch linuxvirtualbox

I want to install the virtualbox guest addition in a guest Archlinux machine.
The vbox version is 4.2.10 r84104, and the Arch install media is the latest release 2013.04.01 with systemd as the default program to boot the system.

I mounted the iso file and cd to the mount point, run ./VBoxLinuxAdditions.run, but it reports Unable to determine your linux distribution.

I checked that install script, and finding that in the function check_system_type(), there's no branch dealing with Archlinux. I tried to touch a file like /etc/gentoo-release but failed.

How can I install the additions? Any help or advice will be appreciated.

Best Answer

All you have to do is install virtualbox-guest-utils with pacman. Don't do anything else. Don't even try to install Virtualbox Guest Utils from Virtualbox's menu, and don't mount the iso, that method works with many of the distros, but not with ArchLinux.

When you have done what is said on my first sentence, do what is said on the wiki entry.

Arch doesn't have releases, it's rolling release, so it's wrong to say "with latest Archlinux". And the age of installation medium doesn't affect anything, it just provides programs which are usable while installation, so it doesn't matter if you install arch with installation medium from 2010. You get same versions of programs installed your final arch installation.

Related Question