paulodr
(usa Ubuntu)
Enviado em 25/10/2012 - 13:26h
amarildosertorio escreveu:
Tente definir na mão.
# KERN_DIR=/usr/src/kernels/`uname -r`
# export KERN_DIR
# echo $KERN_DIR
# /etc/init.d/vboxdrv setup
Eu executei os comandos e olha o resultado.
[root@PauloDionatam ~]# KERN_DIR=/usr/src/kernels/`uname -r`
[root@PauloDionatam ~]# export KERN_DIR
[root@PauloDionatam ~]# echo $KERN_DIR
/usr/src/kernels/3.6.1-1.fc17.x86_64
[root@PauloDionatam ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! echo
Your kernel headers for kernel 3.6.1-1.fc17.x86_64 cannot be found at
/lib/modules/3.6.1-1.fc17.x86_64/build or /lib/modules/3.6.1-1.fc17.x86_64/source.
[FALHOU]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FALHOU]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@PauloDionatam ~]#
Obrigado!