LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-30-2006, 10:57 AM   #1
LordOfer
LQ Newbie
 
Registered: Jul 2004
Location: Israel
Distribution: Fedora 2
Posts: 21

Rep: Reputation: 0
Having 2 Kernels - Same Version?


Hi all,
I just compiled me a 2.6.11.6 kernel. Now I want to change the configuration and compile another 2.6.11.6 kernel, but with the old one still listed on grub menu.

How can I accomplish that without stepping on the old 2.6.11.6 directory in /lib/modules?

If I just change the version name in /incluse/version.h under the source directory, will it work?

thanks!
 
Old 01-30-2006, 03:40 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
I haven't done a kernel compile in so long! But, if I was to try it, I'd use a utility called 'buildkernel'. You configure the control script to do what you want to do. There is an option called EXTRAVERSION= which you can edit before building a new kernel.

I assume you want a new kernel because you want to:
a- reduce the bloat of a default kernel.
or
b- want to take advantage of features of your computer hardware, or some such, by compiling a custom kernel.

What buildkernel does, when you invoke the EXTRAKERNEL= is build the new kernel and a new /lib/modules for the new kernel (in parallel with the original), without touching the original. That way, you get to test the new kernel until you are satisfied before deleting the old, and you still have the old to boot into if the new doesn't work.
 
Old 01-31-2006, 05:51 AM   #3
LordOfer
LQ Newbie
 
Registered: Jul 2004
Location: Israel
Distribution: Fedora 2
Posts: 21

Original Poster
Rep: Reputation: 0
thanks!
will do
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Regarding distribution + kernel version + gcc version + glib version. JCipriani Linux - General 8 04-19-2008 02:54 PM
anyone know the commands to rebuild kernels for version 2.0.* and 2.2.*? t3gah Linux - Distributions 1 06-13-2005 06:16 AM
Xfree Error (EE) module ABI minor version (7) is newer than the server's version (6) jimdaworm Slackware 0 10-17-2003 05:26 PM
Xfree prob radeon.o kernel module version is 1.1.1 but version 1.5.0 or newer needed. jimdaworm Slackware 0 10-01-2003 06:27 PM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 10:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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