LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 10-22-2004, 02:48 AM   #1
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Rep: Reputation: 15
How do I keep the kernels separate?


Hey all,
It's been a long time since my last post here.
I've learned so much that I can do a lot on my own now.

My question is,
I want to keep the original kernel System.map, and the new kernel System.map separate.
Basically I want the two kernels to be completely independent of each other.
To compile I use the following format,
#make xconfig
#make bzImage
#make modules
#make modules_install
P.S. thanks to Shilo for this procedure.
http://shilo.is-a-geek.com/slack/kernel14.html
If anyone has any thoughts or advice I would appreciate it.
Thanks,
Wolfy
 
Old 10-22-2004, 03:12 AM   #2
synapse
Member
 
Registered: Jan 2004
Location: On Planet Earth.
Distribution: Slackware 12
Posts: 244

Rep: Reputation: 30
Hi

First unpack the kernel, it should unpack to a folder named linux-2.6.x etc
then do a make menuconfig within that folder and make the choices for your system.
once done do as you have stated above.

When you complete this cp .config to the /boot dir and at the same time rename it to config-2.6.x
do the same with system map
and bzimage

eg
cp .config /boot/config-2.6.x
cp System Map /boot/SystemMap-2.6.x
cp arch/i386/boot/bzImage /boot/vmlinuz-2.6.x

then do lilo
and you should have two different kernels to boot.

linux 2.4.x
linux 2.6.x

cheers
 
Old 10-22-2004, 05:01 AM   #3
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Original Poster
Rep: Reputation: 15
Thank you for replying, Synapse.
Will this make the two kernels independent and most importantly bootable?????
Providing of course the new kernel is compiled correctly.
Let me know,
Thanks,
Wolfy
 
Old 10-22-2004, 05:02 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
I will add that with these naming convention each kernel will use the good system map, eg :

If a System.map is named System.map-2.6.9, vmlinuz-2.6.9 will use it
If a System.map is named System.map-2.4.26, vmlinuz-2.4.26 will use it
...
 
Old 10-22-2004, 05:30 AM   #5
Wolfy
Member
 
Registered: Jun 2004
Location: WA
Distribution: Slackware 11 Kernel 2.6.20.7-SMP
Posts: 144

Original Poster
Rep: Reputation: 15
Thank you Cedrik,
That is the key I was looking for.
I will then proceed with that idea in mind.
Thanks again for everyones help.
Wolfy
 
  


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
Separate Compiling in C++ frankie_DJ Programming 8 10-08-2005 12:21 AM
Separate LAN oupajohannes Linux - Networking 1 02-05-2005 10:55 AM
Separate Partitions for Separate User groups volvic Slackware - Installation 2 09-16-2004 03:42 AM
how do i separate the partitions...? perry Slackware 2 11-20-2003 04:40 AM
RH 8 kernels and their relation to 'stock' kernels psweetma Linux - Distributions 1 03-29-2003 11:46 PM


All times are GMT -5. The time now is 11:06 PM.

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