Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 01-12-2006, 02:18 PM   #1
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.

Old 01-12-2006, 04:56 PM   #2
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:

[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:

[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.

Old 01-12-2006, 09:14 PM   #3
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: 57
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;
Old 01-12-2006, 09:35 PM   #4
Registered: Apr 2004
Distribution: CentOS6, CentOS5, F16, F15, Ubuntu, OpenSuse
Posts: 620

Rep: Reputation: 39
May I suggest my notes:
Old 01-13-2006, 10:39 AM   #5
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!


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
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 > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:15 PM.

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