How do I keep the kernels separate?
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,
P.S. thanks to Shilo for this procedure.
If anyone has any thoughts or advice I would appreciate it.
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
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.
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,
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
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.
|All times are GMT -5. The time now is 08:12 PM.|