Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-23-2004, 09:13 PM   #1
LQ Newbie
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 9

Rep: Reputation: 0
how do i patch Fedora core 2 kernel

i am a total n00b and i nee dthe driver for my wireless adapter i got the patch from but dont no how to use it says there is no directory called /usr/src/linux-2.6.x/ some one help plz
Old 06-23-2004, 10:52 PM   #2
Registered: Jul 2003
Location: Osaka, Japan
Distribution: Arch, Ubuntu
Posts: 421

Rep: Reputation: 31
I am not using FC2 now but I think the problem is you don't have the source of the kernel 2.6.x installed. You should be able to find the rpm for the source on the installation media. But I m not sure what it is named.

Good luck.
Old 06-23-2004, 11:14 PM   #3
Senior Member
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 52
hi this envolves patching the kernel source code and then building a new kernel....

I suggest getting the kernel source that is the source for the kernel you are running now
uname -r
at the command line to find out what version you are running
get the kernel developement package that goes with you kernel
is will most likely be installed in /usr/src/linux-x.x.x
then follow the instructions that came with the patch to apply it.
then see if there is a configure file .config
in the top directory of the kernel source
if not try to find in there somewhere where your distribution has given you the default cofniguration they use and copy it to the top dir renamed .config
open the top level Makefile in an editor and edit the EXTRAVERSION= line
have it say
EXTRAVERSION=PATCHED (or any other valid directory name)
that way your current kernel modules will be safe should you need them
from here on in you just have to read about compiling and installing the kernel for your distribtion
i know how i do it but different people cope with this differently
at the end edit the boot loader so it will dual boot your old kernel and the new one so if things go bad you can still get in and try again
that's the reason for EXTRAVERSION=
so in the end you have both the old and the new one
Old 06-24-2004, 11:18 AM   #4
LQ Newbie
Registered: Jun 2004
Distribution: Fedora Core 2
Posts: 9

Original Poster
Rep: Reputation: 0
that is very confusing


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
Unable to patch kernel with Reiser4 mm patch SlackwareInAZ Slackware 9 04-26-2005 06:33 AM
Dansguardian 2.6.13 with virus patch on fedora core 2 dino1973 Fedora 0 05-23-2004 04:16 AM
debian-patch-debianlogo w/2.6.5 kernel-patch-lpp Outabux Debian 11 05-20-2004 01:21 PM
ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0 cddesjar Linux - Laptop and Netbook 4 02-19-2004 07:18 PM
ACPI Patch for BIOS 25 Dell Inspiron 1100 w/ Fedora Core 1.0 cddesjar Linux - Laptop and Netbook 0 01-22-2004 09:36 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:24 AM.

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