Não é possível instalar o VBox Guest Additions no Ubuntu. Isso mostra algum problema com o cabeçalho do Linux. PS: Estou usando o convidado do Ubuntu 12.10 no Windows8 Host. Quando tentei instalá-lo, obtive o seguinte: -
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.2.10 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing installed version 4.2.10 of VirtualBox Guest Additions...
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
The headers for the current running kernel were not found. If the following
module compilation fails then this could be the reason.
Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Doing non-kernel setup of the Guest Additions ...done.
Installing the Window System drivers
Installing X.Org Server 1.13 modules ...done.
Setting up the Window System to use the Guest Additions ...done.
You may need to restart the hal service and the Window System (or just restart
the guest system) to enable the Guest Additions.
Installing graphics libraries and desktop services components ...done.
Press Return to close this window...
Responder1
Para instalar o VirtualBox Guest Additions com sucesso, você precisa do linux-headers-generic
pacote, que pode ser encontrado no Centro de Software. Se não aparecer depois de digitado, clique no canto inferior esquerdo onde diz "Mostrar itens técnicos", então deverá listá-lo. Instale o pacote.
Alternativamente, você pode ir para o site de pacotes do UbuntuAqui(Para Ubuntu de 64 bits). Se você possui Ubuntu de 32 bits, acesse este linkAqui. Independentemente do link que você clicar, clique em “quantal” e baixe o pacote. Clique duas vezes no pacote baixado e instale-o.
De qualquer forma (uma vez feito isso), agora você pode instalar o VirtualBox Guest Additions sem problemas.
Espero que isto ajude.
Responder2
Se você está em uma distribuição baseada em Debian e é um pescoço como a maioria de nós que usa Linux, você também pode simplesmente abrir uma janela de terminal e digitar:
(sudo) apt-get install linux-headers-generic
Fiz assim porque ele não estava aparecendo no centro de software por algum motivo (e não consegui encontrar a Show Technical Items
opção mencionada por Vikramjeet.
Responder3
Tive um problema semelhante no Ubuntu 14.04 Desktop com VirtualBox 4.3.10.
Quando executo, ls -al /sbin/mount*
mostra que /sbin/mount.vboxsf
é um link simbólico /usr/lib/VBoxGuestAdditions/mount.vboxsf
que não existe. Depois de fuçar um pouco, os VBoxGuestAdditions são instalados em/opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions/
sudo ln -s /opt/VBoxGuestAdditions-4.3.10/lib/VBoxGuestAdditions /usr/lib/VBoxGuestAdditions
Isso corrigiu as pastas compartilhadas para mim