Kernel-Headers (3.5.5)
Hi,
I just compiled and installed the Linux 3.5.5 and installed the appropriate Modules as well. The only thing I'm unsure of is where I can get a copy of the Linux-Headers. The Nvidia proprietary drivers require them and I'm not really sure how to get a hold of them. Any ideas? I'm running Mint 13 w/ compiled 3.5.5 (Core2Duo x86-64) Kernel System Specs Gigabyte GA-G31m-S2L Core2Duo E6600 @ 3.15Ghz 2 GB Memory Nvidia Geforce 9800GT Thanks |
Not sure if you want to use YUM or not but these articles refer to a few differnt ways of How To Install Headers for the Kernel.
http://www.clearfoundation.com/compo...view/id,40863/ http://blog.gambliser.com/2012/08/in...on-oracle-6-3/ You might want to consider the backports and maybe the gcc tools for other architectures depending on your target architecture. http://forums.linuxmint.com/viewtopic.php?f=47&t=108436 I'm still learning how to as well but I hope this helps. |
How did you build your kernel?
Did you build any packages? Back when I used Debian, I used to build my kernels using the following method: Alternate Build Method: The Old-Fashioned Debian Way https://help.ubuntu.com/community/Ke...ned_Debian_Way which will generate a kernel-headers .deb along with the kernel-image .deb |
I'm not sure how msxenix built his/her 3.5.5 kernel but I'm wondering how as well-
So; msxenix; do tell..... |
I downloaded the source from kernel.org (tar.gz file)
I extracted the source directory to a location in my home directory. (/home/msxenix/src) I ran a 'make mrproper' in order to make sure that the source was clean i configured the kernel with 'make menuconfig' I ran 'make' to build the kernel I ran 'sudo make install' to install the kernel I ran 'sudo make modules_install' to install the modules The kernel boot successfully to Linux 3.5.5. Everything works great, and the GUI might be more responsive. The only problem is that I can't install the nvidia drivers due to not having the kernel headers. I'm guessing there may be a step I may have overlooked. I used the directions included with the kernel but I didn't see any mention of installation of Kernel-Headers. |
This article might be your answer.
http://www.cyberciti.biz/faq/howto-i...aders-package/ It's for Debian or Ubuntu but it should help you to get the understanding you need to perform the task to install kernel headers. Make sure you do an update first as the article recommends it. I'm thinking you need to run: Code:
apt-get install linux-headers-$(uname -r) I'll keep looking to help you- |
Just for grins and giggles I looked in my synaptic package manager.
There are multipule 'kernel headers" Check your package manager the headers that you need may already be in there. If not try looking in /usr/src or lib/modules Here's the driver instructions for your Nvidia drivers for your distro- http://www.aoaforums.com/forum/linux...s-install.html |
I have the copy with MATE rather than cinnamon.
Modules are present in the /lib/modules I only have the original 3.2 headers in /usr/src I'm trying this command right now. It was in one of the links 'fakeroot make-kpkg --initrd --append-to-version=-some-string-here kernel-image kernel-headers' I had to get kernel-package from apt-get. It's going to take some time to run. I'll let you know if that helped. Thanks for all the help so far though :-) |
Quote:
|
Ok I have the kernel-headers installed using the fakeroot make-kpkg command i listed.
I was able to get the Nvidia drivers installed in recovery mode afterwards. Thanks everyone. |
Quote:
Quote:
Code:
#!/bin/sh |
Glad to hear you got the kernel-headers installed and your Nvidia drivers installed!
Good for you Msxenix:) |
All times are GMT -5. The time now is 02:56 AM. |