LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-05-2005, 07:29 PM   #1
rafiqul
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4
Posts: 46

Rep: Reputation: 15
Post How to compile kernel for Red Hat Linux 7.2


I am new to Linux, I have Red Hat 7.2 . And I want to play around with the kernel. My current version says 2.4.7-10, and most of the procedure says to download a latest kernel image from linux.org and put this in my /usr/src/linux directory...But i have /usr/src/redhat/...Also if I download any new image - and follow the installation...I am concerened my devices will work properly ?

Can anyone help me pointing out the simple steps to compile the latest kernel, and let me know the effects on my machine peripherals (device drivers) ?

Last edited by rafiqul; 01-05-2005 at 07:37 PM.
 
Old 01-05-2005, 09:42 PM   #2
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
Compiling a new kernel is a major task, not at all something for a newbie. Red Hat 7.2 is at least 4 years old I think. If you have a high speed connection, you can download the newest version of Red Hat, which is called Fedora Core 3. I would strongly suggest download some new distro (any is fine, doesn't have to be Fedora Core 3). You can't update the packages from Red Hat 7.2 anymore. You could get a new kernel, and then upgrade things, but that is so much work and downloading that you'd be better off just getting a new distrobution. If you don't have high speed, you can usually get CD's with a distro on them for like $2 or so.

Peace,
JimBass
 
Old 01-05-2005, 10:30 PM   #3
rafiqul
Member
 
Registered: Jan 2005
Location: Chicago
Distribution: Fedora Core 4
Posts: 46

Original Poster
Rep: Reputation: 15
fedora installation after download

Thanks for your sugestion. I have DSL , so I believe I will be able to download it from Red Hat web site. However I still have two questions :

1. In case I chose the download option. Should I have to burn the whole image to a CD ? And create a boot disk, and do my hrd disk partition, and follow the installation ?

2. In case I buy the CD, where to find it from ? Can you give me some links ?
I believe I have to back up all the files...in case I have to reformat my HD.

My email is rafiqul_a@hotmail.com

Thanks
Rafiqul
 
Old 01-05-2005, 11:08 PM   #4
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
If you download the CD's, they will be in the form of .iso files. You do NOT want to burn the iso file directly, that would be like trying to install from a .zip file - it isn't useable, it is slightly compressed. What you should do is download the .iso file, then use NERO, and select "burn image" under the file button. Point nero at the .iso file, and it will "translate" it into a working form. Whatever burning program you use should have a "burm image" choice, and that is what you want. AN .iso file isn't actually compressed, I think it is a like a map of the directories and files, but in any case if you just copy an .iso onto a disk it will be useless, it has to be converted.

If the machine can boot from CDRom, you have no need for a boot disk to install. If it is old and can't boot from CDRom, then you will need a boot disk to access the installers on the CD.

Here is a link to a location to buy the Fedora Core disk I mentioned before.
http://www.linuxcd.org/view_item.php...bc7220ff95144f

You can get many distrobutions from them, if you want a different one, feel free to try them instead.

I would suggest completely formatting your machine when installing the new OS. If you just installed 7.2 and didn't do anything, then there is nothing worth saving. If you did work on the machine and want that saved, then you should do something with the data, burn it off, copy it to the network, or anything along those lines. You have no need to backup things if you just built is recently.

Besides all of that, every question you asked is asked in this forum frequently. The search feature is your friend. Look up what you are trying to do, and this site and google probably has the answer. We don't mind answering the same questions over and over again, but you'll get much faster results by searching before you post.

Peace,
JimBass
 
  


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
upgraded kernel, won't let me compile kernel once Suspend2 patches are applied microsoft/linux Linux - Laptop and Netbook 3 10-02-2005 03:37 PM
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 01:15 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM
Kernel 2.4.23 compile causes kernel panics on ATA RAID-1 (mirror) array Raptor Ramjet Slackware 3 12-18-2003 02:40 PM
Linus leaves Transmeta and will now work on the Linux kernel full time jeremy Linux - General 3 06-17-2003 10:15 AM


All times are GMT -5. The time now is 06:39 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration