LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 05-19-2006, 02:04 AM   #1
smsundar
LQ Newbie
 
Registered: Dec 2005
Posts: 16
Blog Entries: 3

Rep: Reputation: 0
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?
 
Old 05-19-2006, 02:27 AM   #2
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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
 
Old 05-19-2006, 02:53 AM   #3
smsundar
LQ Newbie
 
Registered: Dec 2005
Posts: 16

Original Poster
Blog Entries: 3

Rep: Reputation: 0
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?
 
Old 05-19-2006, 03:03 AM   #4
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
(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?

Last edited by GlennsPref; 05-19-2006 at 03:08 AM.
 
Old 05-19-2006, 03:08 AM   #5
smsundar
LQ Newbie
 
Registered: Dec 2005
Posts: 16

Original Poster
Blog Entries: 3

Rep: Reputation: 0
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?
 
Old 05-19-2006, 03:20 AM   #6
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,654
Blog Entries: 33

Rep: Reputation: 283Reputation: 283Reputation: 283
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.

Last edited by GlennsPref; 05-19-2006 at 04:13 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors Compiling Kernel 2.6 on Slackware 10.2 - Old kernel headers required? Dave S. Slackware 8 03-04-2006 12:15 AM
trying to find/install kernel-source or kernel-headers timsch75 Slackware 3 10-22-2005 09:17 AM
Difference between kernel-headers kernel-source twinkers Debian 2 06-18-2005 11:20 AM
send packets with kernel routing and without kernel messing with headers bassdemon Programming 5 02-08-2005 06:29 PM
kernel headers mmm Linux - General 2 08-18-2003 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 10:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration