LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-11-2009, 02:42 PM   #1
ddel
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Rep: Reputation: 0
Compiling kernel on Fedora 10 and copying it to another machine with Fedora 5 on it


Is it ok to compile latest kernel on a Fedora 10 machine and then copying the kernel over to a machine with Fedora 5 on it?
 
Old 04-11-2009, 05:33 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by ddel View Post
Is it ok to compile latest kernel on a Fedora 10 machine and then copying the kernel over to a machine with Fedora 5 on it?
Sure, but I'd be amazed if it worked. There's lots of things the kernel depends on, and that depend on it, and Fedora 5 is ancient.

If you need the latest kernel, it'd be best to upgrade the F5 machine, or compile the new kernel on the F5 box native.
 
Old 04-12-2009, 09:28 AM   #3
bg3075
Member
 
Registered: Apr 2009
Posts: 34

Rep: Reputation: 15
Can someone guide me as to how to compile the kernel in Fedora 10; I am a virgin to Linux and have no idea how to do this. It appears this is what I need to do to install ipswrapper so that I can load a wireless PCI card driver (which does not contain Linux drivers)?
 
Old 04-12-2009, 10:47 AM   #4
ddel
LQ Newbie
 
Registered: Feb 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Ok given the situation I will have to continue with Fedora 5 ( because its on a virtual machine) and I want to do kernel modification for it.
1- Is it recommended to do the the kernel compilation on a machine with Fedora 5 on it ?
2- Is there a limitation to the kernel version I should chose?
 
Old 04-12-2009, 11:50 AM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by bg3075 View Post
Can someone guide me as to how to compile the kernel in Fedora 10; I am a virgin to Linux and have no idea how to do this. It appears this is what I need to do to install ipswrapper so that I can load a wireless PCI card driver (which does not contain Linux drivers)?
Start your own thread, don't hijack someone elses.
 
Old 04-12-2009, 11:53 AM   #6
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by ddel View Post
Ok given the situation I will have to continue with Fedora 5 ( because its on a virtual machine) and I want to do kernel modification for it.
1- Is it recommended to do the the kernel compilation on a machine with Fedora 5 on it ?
2- Is there a limitation to the kernel version I should chose?
There is no "recommended" machine to do kernel compilation. If you're trying to build a kernel for F5, build it on the machine you want to run it on. Limitations? You bet...the latest kernel probably will complain, since your machine/libraries/etc., are so old, and you'll have to disable some things. That's a 'maybe' though...never tried going back that far.

Don't know why you have to continue with F5, because it's a virtual machine....F5 got loaded on there at some point, so you can load FC10, or whatever else you want....
 
Old 04-12-2009, 07:17 PM   #7
maresmasb
Member
 
Registered: Apr 2009
Posts: 108

Rep: Reputation: 24
I agree that building kernels works bet when compiled on the target system, or a similar system. Simply moving an FC10 kernel to an FC5 box is extremely unlikely to work.

As a matter of fact, you can do a much better job by simply upgrading the whole FC5 system via yum to FC6, and later on to FC7, etc, etc. You have to install the fedore-release packages and then run 'yum upgrade'. I'm sure that Googling for 'Fedora yum upgrade' will throw some infos.

Last edited by Tinkster; 10-30-2010 at 03:34 PM.
 
Old 04-12-2009, 07:41 PM   #8
John VV
Guru
 
Registered: Aug 2005
Posts: 13,051

Rep: Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740Reputation: 1740
I would NOT try using "upgrade on a fedora 5 box
This will NOT work
5 upgrade to 6
6 upgrade to 7
7 upgrade to 8 ...
won't work ( or there is about a less than 5% chance it might )
do a fresh install of fedora 10 or in about 1 month fedora 11
 
Old 04-13-2009, 08:14 AM   #9
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,767

Rep: Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613Reputation: 2613
Quote:
Originally Posted by John VV View Post
I would NOT try using "upgrade on a fedora 5 box
This will NOT work
5 upgrade to 6
6 upgrade to 7
7 upgrade to 8 ...
won't work ( or there is about a less than 5% chance it might )
do a fresh install of fedora 10 or in about 1 month fedora 11
Couldn't agree more....I've never had good luck with upgrades. Even when they do work, I've always found some library or other widget, that has two copies somewhere, an old version in a different place, etc., just waiting to cause problems.

Much better to do a fresh install.
 
  


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
Problem compiling v4l-dvb-kernel w/ 2.6.25.7 kernel - Fedora 9 SD-user Linux - Kernel 3 10-11-2008 10:49 AM
Compiling linux kernel (fedora 4) steveman2000 Linux - Newbie 9 10-23-2005 01:30 PM
Machine crash - Fedora Kernel error akronbt Linux - Software 4 08-31-2005 09:36 AM
Kernel compiling under Fedora Core 2 midimarcus Linux - Newbie 7 07-08-2004 06:23 AM
Compiling the Kernel for Fedora Jeff_G_1974 Linux - Newbie 2 02-24-2004 08:34 PM


All times are GMT -5. The time now is 09:46 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration