LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   I want to have kernel headers (https://www.linuxquestions.org/questions/linux-kernel-70/i-want-to-have-kernel-headers-446328/)

smsundar 05-19-2006 02:04 AM

I want to have kernel headers
 
Hi all,

I want to have kernel-headers.rpm, kernel-source.rpm, dev86.rpm, bin86.rpm for the kernel 2.4.32.

could you please help me by providing the link?

GlennsPref 05-19-2006 02:27 AM

I can only suggest searching, http://rpm.pbone.net

Or one of the kernel mirrors, http://www.kernel.org/

Although I must admit I don't know of (dev86.rpm, bin86.rpm)these, but would suggest that they maybe available with your Distro. (you emitted the distro type although I see it's old by the kernel version number.)

You may have a better chance searching for source files

smsundar 05-19-2006 02:53 AM

Hi GlennsPref,

Thanks for the immd response.
Actually my problem is I am using FC3 with 2.6 kernel. now i would like to have 2.4 kernel also in that same machine, same FC3. I know its ispossible. but i don't know how to do that succesfully.
i have downloaded the source fron kernel.org and do the following commands
Code:

$gzip -cd linux-2.4.XX.tar.gz | tar xvf -
$make config
$make dep
$make clean
$make bzImage
$make install
$make modules
$make modules_install
$vi /etc/lilo.conf

i have got bzImage at ./arch/i386/boot/bzImage.
but don't know how to create initrd img

could u or any one help me?

GlennsPref 05-19-2006 03:03 AM

(edit) hold that thought, I'll just log into linux and make sure I'm telling you right.

(original post)
I usually do "Make install" last on the list.

"make xconfig" may be easier on the eye and mouse.

I'm not too sure as I said before, you may need dev packages to get those other (dev86 and bin86) packages.

"Make install" takes care of the "lilo" step. you should see a few things flash by on screen, then the new and existing entry's for the boot manager.

By the way, to make the kernel you'll need the "source" for that version of the kernel.

and be booted with that version of the kernel.

Couldn't you find an rpm?

smsundar 05-19-2006 03:08 AM

no the problem is at initrd img

[root@localhost linux-2.4.32]# /sbin/mkinitrd /boot/initrd-2.4.32.img 2.4.32
No dep file found for kernel 2.4.32

what shall i do for this?

GlennsPref 05-19-2006 03:20 AM

Yep, that's right, initrd(which is the ram drive that sets up during boot).

You only need kernel-source if you want to edit the kernel.

Also I found from the readme that comes with the kernel 2.6.17.rc3, this

make mrproper
make xconfig (, you only need this if you want to edit the kernel.)
make clean && make bzImage modules modules_install install

notice the install is at the end?

I wonder if that's the prob!?

try just using "make install" after what you've done, it may work.

Then again "make install" might have moved the bzImage (renaming it to initrd.img) file so it could

be in the boot directory now. if so, although time consuming, try the whole lot again.


All times are GMT -5. The time now is 08:54 AM.