Linux kernel in my system
Hi,
I have to have the source code for the mandriva. My version is 2.6.22.9-laptop-1mdv. When I open the software management program. I find that I have it on my hard drive( the kernel). Not to mention that there is like a couple of dozen of kernel that you can download which are the same version. Anyway, how do i find it. What's the name of the dir or file of kernel? Is it many files? It's supposed to be in /usr/src/linux but i don't have that directory. Thanks |
Are you looking for the kernel executable file or for the source code?
The kernel is in /boot, and is typically named "vmlinuz....." The source code is normally in /usr/src |
I have to compile the kernel,
and i have been told that it is in: /usr/src/linux. But I don't have that directory. thanks |
Have you installed the kernel source code?
|
Hi there,
I'm not sure we're on the same page here. If you have compiled the kernel, then you would have known where you compiled it from (the location of the source code)?? :\ Anyway, back as pixellany is saying, the executable for kernel file, is typically within the /boot folder. There you should find an ELF file like bzImage.. or vmlinuz... Typically, the source code for kernels should be placed in /usr/src/kernels. But as you said, if it's not there, then it's somewhere else. If you compiled it, makes more sense that you know where you compiled it from. Good luck. |
All times are GMT -5. The time now is 09:58 AM. |