LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-12-2006, 02:18 PM   #1
majara
Member
 
Registered: Apr 2005
Location: Burgos (Spain)
Distribution: Fedora Core 4
Posts: 46

Rep: Reputation: 15
Installing FC4 and the vanilla kernel


I am working with 2.6.11-1.1369_FC4 and I should like to install also a vanilla kernel in the same HD.

I have the linux-2.6.15.tar.bz2 and patch-2.6.15.bz2 files.

I think I must compile the kernel but:

How can I patch the linux kernel?
How must the HD be prepared before compiling?.
The boot loader is Grub. How must it be modified to start in Fedora or in Linux?

I know they are too many questions for a forum, and maybe this is not the best place to ask them, but any information will be appreciated.

Saludos.
 
Old 01-12-2006, 04:56 PM   #2
Ahmed
Member
 
Registered: May 2005
Location: München, Germany
Distribution: Slackware, Arch
Posts: 386

Rep: Reputation: 41
I'm sorry I don't know anything about patching kernels, and I'm pretty sure it's done before installation, but to install the kernel do this:

1. Unzip the Kernel archive (linux-2.6.15.tar.bz2)
2. Move the folder (linux-2.6.15) to /usr/src/kernels (If you have the kernel-devel package installed you should see the folder of the old kernel)
3. Enter the folder in a root terminal and execute the following command:

Code:
[root@whateverhost linux-2.6.15]# make xconfig
You'll get a graphical interface for choosing kernel modules and drivers. With this you choose what hardware to support, or to remove support for different things (you'll find lots of internet sources for this). WARNING: Don't do anything you're unsure of here.

When you're done, do the following:

Code:
[root@whateverhost linux-2.6.15]# make bzImage && make modules_install && make install
This should take quite a while. If all goes well and no errors occur, simply reboot and you should find the new kernel as an option in grub. It's done automatically. If anything goes wrong (Kernel panic or whatever), you can reboot into the old kernel at any time for troubleshooting.

-A
 
Old 01-12-2006, 09:14 PM   #3
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
You have the kernel source file linux-2.6.15.tar.bz2 so the patch-2.6.15.bz2 file is not needed.

It would be better to;

cp /boot/config-2.6.11-1.1369 .config (a starting point so you)
make xconfig (can customize the kernel here a little bit quicker)
make && make modules_install && make install

If you never built your own kernel before, may I suggest that you read;

http://www.digitalhermit.com/linux/K...ild-HOWTO.html
 
Old 01-12-2006, 09:35 PM   #4
mjmwired
Member
 
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
May I suggest my notes:
http://www.mjmwired.net/resources/mjm-kernel-fc4.html
 
Old 01-13-2006, 10:39 AM   #5
majara
Member
 
Registered: Apr 2005
Location: Burgos (Spain)
Distribution: Fedora Core 4
Posts: 46

Original Poster
Rep: Reputation: 15
You have clarified all the asked questions.

Thank you very much everybody!
 
  


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
What is Vanilla kernel ? suriyamohan Linux - General 8 08-07-2008 09:34 AM
Vanilla Kernel paddyjoy Linux - Newbie 3 06-08-2005 12:49 AM
Reg. Installing vanilla kernel on existing redhat blpriya12 Linux - General 6 05-17-2005 06:31 AM
vanilla kernel b123coder Red Hat 1 12-05-2004 01:58 PM
Vanilla kernel RichardSimmons Linux - General 2 03-21-2004 12:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04: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