LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-25-2003, 01:26 PM   #1
sirbaconyy
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Lightbulb Recompile qusestion. Redhat 8.0 kernel 2.4.14


I need to recompile my kernel to add usb and scsi support for a digital camera and a cd-burner.

The howto that came with my distro is muddled and useless. The howto on The Linux Documentation Project's site has been "Removed for Review"

Can anyone point me towards a howto that is clear, concise, and actually works?

Thanks so much in advance for your help.

 
Old 11-25-2003, 05:20 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Right here. I've followed it religously and it has never, ever, failed me. Unless I've made the mistakes. Yes, I know it's in the Slackware forum, but the advice will almost certainly apply to RH. About the only change you'll need to investigate is how to update GRUB since I think RH uses it by default instead of LILO.
 
Old 11-25-2003, 07:36 PM   #3
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
If you're using the kernel source provided by redhat then "make install" will work for grub, if I'm not mistaken it also creates an initrd for you as well.
so basically you just do:

make menuconfig (or xconfig)
make dep && make bzImage && make modules && make modules_install && make install

and that's it you've successfully recompiled the kernel.
 
Old 11-25-2003, 08:13 PM   #4
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
if you are going through all the effort of recompiling a kernel, why not compile the new one ? 2.4.22 from kernel.org
 
Old 11-25-2003, 08:51 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Of couse there is always living a touch closer to the edge.....

2.6.0-test10 is out. Just be sure to have a good kernel set aside and ready to boot in case of trouble.


I'm running 2.6.0-test7 and loving it.
 
Old 11-26-2003, 06:41 PM   #6
vincebs
Member
 
Registered: Oct 2003
Location: Mississauga, ON
Distribution: Ubuntu 9.04
Posts: 496

Rep: Reputation: 30
After recompiling, are there any files I can delete? other than the source?

How do I delete a kernel that I don't need anymore?

Last edited by vincebs; 11-26-2003 at 06:56 PM.
 
Old 11-26-2003, 08:06 PM   #7
qwijibow
LQ Guru
 
Registered: Apr 2003
Location: nottingham england
Distribution: Gentoo
Posts: 2,672

Rep: Reputation: 47
rm as root will work just fine, it will be in the same /boot/ directory as the new one.
alo, you may want to edit /boot/grub/grub.conf (assuming ur using grub)
 
  


Reply



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
how to recompile kernel for ntfs read only in Redhat * dj_prime Linux - Newbie 3 10-31-2004 10:43 AM
how do I recompile the KERNEL for NTFS in redhat 8? dj_prime Linux - General 2 10-31-2004 03:42 AM
Redhat 9 Kernel recompile 2.4.22 VFS unable to mount root fs on 00:00 greek_guy Linux - Software 0 06-11-2004 07:06 PM
Recompile Kernel in Redhat 8.0 inprogress Linux - Newbie 4 07-26-2003 11:14 PM
kernel recompile in Redhat-8.0 moeminhtun Linux - General 9 01-21-2003 10:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 PM.

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