Las ideas no duran mucho, hay que hacer algo con ellas

juliorestrepo.wordpress.com desde el año 2008

Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR= and run Make again.

Contextualización:

virtualdebian:/media/cdrom# sh VBoxLinuxAdditions-x86.run

ó

virtualdebian:~# /etc/init.d/vboxdrv setup

virtualdebian:~# less /var/log/vboxadd-install

Makefile:73: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and run Make again.. Stop.

Solución:

virtualdebian:~# uname -r
2.6.26-2-686
virtualdebian:~# aptitude install linux-headers-2.6.26-2-686

Posiblemente en el caso de la dama o del caballero sería:

aptitude install linux-headers-$(uname -r)

Luego de eso:

virtualdebian:/media/cdrom# sh VBoxLinuxAdditions-x86.run

ó

virtualdebian:~# /etc/init.d/vboxdrv setup

Resultado:

Your guest system does not seem to have sufficient OpenGL support to enable
accelerated 3D effects (this requires Linux 2.6.27 or later in the guest
system).  This Guest Additions feature will be disabled.

Building the main Guest Additions module …done.
Building the shared folder support module …done.
Doing non-kernel setup of the Guest Additions …done.
You should restart your guest to make sure the new modules are actually used

Installing the Window System drivers
Installing X.Org Server 1.4 modules …done.
Setting up the Window System to use the Guest Additions …done.
The following X.Org/XFree86 configuration files were originally generated by
the VirtualBox Guest Additions and were not modified:

/etc/X11/xorg.conf

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.

The End

Responder

Introduce tus datos o haz clic en un icono para iniciar sesión:

Logo de WordPress.com

Estás comentando usando tu cuenta de WordPress.com. Cerrar sesión / Cambiar )

Imagen de Twitter

Estás comentando usando tu cuenta de Twitter. Cerrar sesión / Cambiar )

Foto de Facebook

Estás comentando usando tu cuenta de Facebook. Cerrar sesión / Cambiar )

Google+ photo

Estás comentando usando tu cuenta de Google+. Cerrar sesión / Cambiar )

Conectando a %s

A %d blogueros les gusta esto: