LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Where is can I find kernel ? (https://www.linuxquestions.org/questions/linux-newbie-8/where-is-can-i-find-kernel-95127/)

rokga 09-21-2003 08:58 AM

Where is can I find kernel ?
 
I use Red Hat 8. I have kernel 2.4.18-14 installed, but I don't know where on my disk is it.

Thanks

trickykid 09-21-2003 09:22 AM

Kernels sources are usualling in /usr/src
and the kernel itself usually resides in your / directory called vmlinuz or in your /boot directory.

What are you wanting to do or accomplish when you find it? Are you wanting to recompile or something like that?

antken 09-21-2003 09:26 AM

hello,

i asume your talking about your fully compiled kernel?

if so the kernel is normall kept in /boot in there are all the files that bring up your system ( minus any config files )

your kernel may be called something like linuxzzzzzzz

( where zzzzzzz are the version numbers )

best thing to do is to login to the system as root, goto your /etc directory and do

cat ./lilo.conf |more

( if your using lilo as your boot manager )
and look for the line that says image=/boot/xxxxxxx
xxxxxxx is the filename of your kernel

if your talking about source its normally kept in /usr/src/

:)

rokga 09-21-2003 09:30 AM

I don't have it in /usr/src .
any other options...

thanks

antken 09-21-2003 09:36 AM

i presume then you are trying to re-compile it?

if you see nothing with the name linux in there you will need to download the kernel source

goto www.kernel.org and download the version you are looking for either by clicking on the F next to the latest stable kernel or using the public FTP to download an onder version


All times are GMT -5. The time now is 04:53 PM.