اصلاح الوهمي لكرنل الباك الجديد


The headers for the current running kernel were not found. If the following module compilation fails then this could be the reason.

and
Building the main Guest Additions module ...fail!
(Look at /var/log/vboxadd-install.log to find out what went wrong)

Both issues result to:

Starting the VirtualBox Guest Additions ...fail!
(modprobe vboxguest failed)

Solution


   
apt-get install linux-headers-$(uname -r) linux-headers xserver-xorg xserver-xorg-core file-roller # file-roller is not needed, but recommended
cd /usr/src/
tar jxf linux-source-3.2.6.tar.bz2
cd /usr/src/linux-headers-3.2.6/include/
rm asm
ln -s /usr/src/linux-source-3.2.6/arch/x86/include/asm asm
cd /lib/modules/3.2.6/
ln -s /usr/src/linux-headers-3.2.6 build

Ready to install VBOXADDITIONS :-)
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.10 Guest Additions for Linux..........
VirtualBox Guest Additions installer
Removing installed version 4.1.10 of VirtualBox Guest Additions...
tar: Record size = 8 blocks
Removing existing VirtualBox DKMS kernel modules ...done.
Removing existing VirtualBox non-DKMS kernel modules ...done.
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module ...done.
Building the shared folder support module ...done.
Building the OpenGL 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.7 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...




إرسال تعليق

أحدث أقدم