Falha ao instalar VBoxGuestAdditions [RESOLVIDO]

1. Falha ao instalar VBoxGuestAdditions [RESOLVIDO]

Julian Soares
juliansoares

(usa Debian)

Enviado em 23/05/2012 - 12:48h

Bom dia galera,

tentei instalar o adicionais para convidados pelo VIrtualBox numa VM Debian e não consigo :

hades /tmp/vbox # ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.12 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.1.12 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
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.11 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.


log :
hades /tmp/vbox # tail -1000 /var/log/vboxadd-install.log
/tmp/vbox.0/Makefile.include.header:97: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again. Pare.
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.


  


2. MELHOR RESPOSTA

Carlos APC
Carlos_Cunha

(usa Linux Mint)

Enviado em 23/05/2012 - 13:38h

Opa!! Cara duas coisas vc tem alguma interface gráfica nesse Debian???
Se não tiver não instala os Adicionais do Virtual Box..

Até

3. Re: Falha ao instalar VBoxGuestAdditions [RESOLVIDO]

Julian Soares
juliansoares

(usa Debian)

Enviado em 23/05/2012 - 14:34h

PretoOoO escreveu:

Opa!! Cara duas coisas vc tem alguma interface gráfica nesse Debian???
Se não tiver não instala os Adicionais do Virtual Box..

Até
vi agora sobre isso, realmente estava tentando instalar na VM somente texto, agora fui tentar instalar em meu note debian wheezy com gnome-shell e aparece quase o erro de cima :

julian@zeus /tmp/vbox $ sudo ./VBoxLinuxAdditions.run
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.14 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.1.14 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules ...done.
Doing non-kernel setup of the Guest Additions ...done.
Starting the VirtualBox Guest Additions ...fail!
(modprobe vboxguest failed)
Installing the Window System drivers
Installing X.Org Server 1.12 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.




4. Re: Falha ao instalar VBoxGuestAdditions [RESOLVIDO]

Thiago Reis de Oliveira
trooliveira

(usa Debian)

Enviado em 05/06/2012 - 02:35h

Segundo a manual do virtualbox, no link

https://www.virtualbox.org/manual/ch04.html#idp19765808

vc tem que instalar isto aqui na sua maquina virtual antes de instalar o guest additions nela

In order to fully update your guest system, open a terminal and run

apt-get update

as root followed by

apt-get upgrade

Install the make tool and the GNU C compiler using

apt-get install make gcc

Reboot your guest system in order to activate the updates.

Determine the exact version of your kernel using uname -a and install the correct version of the linux-headers package, e.g. using

apt-get install linux-headers-2.6.26-2-686

Fiz o que esta no manual para o CentOS e funfou. No Debian deve funcionar tambem.


5. Re: Falha ao instalar VBoxGuestAdditions [RESOLVIDO]

Andre (pinduvoz)
pinduvoz

(usa Debian)

Enviado em 05/06/2012 - 04:14h

Instale o build-essential e os cabeçalhos (headers) do Kernel atual diretamente, assim:

# apt-get install build-essential linux-headers-`uname -r`

(o "uname -r" fica entre duas crases, o famoso "acento agudo ao contrário" - rrrssss).






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts