Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I have the linux 7.1 (seawolf) 2.4.2-2 kernel. This is working fine. I put this kernel even though I have RH linux 8.0 kernel because my modem will work only on the 2.4.2-2 kernel. So now I want to add the kernel of RH linux 8.0 too without loosing the old kernel which is very important to me. I have the RH linux 8.0 kernel in the CD Rom of RH linux 8.0 as RPM. So what should I do? Is it complicated? After this, I wanted to upgrade almost all the packages from 7.1 to 8.0. So will these work with the old as well as the new kernel? Will I be able to choose the kernel with LILO?
You can copy your current kernel to a safe place, just to be sure you don't lose it. The important files are...
/boot/initrd-kernel_number.img -- if it's there
/boot/vmlinuz-kernel_number -- this is the actual kernel
lilo.conf -- I forget... Prob'ly in /boot (I use GRUB.)
As long as you save those, and can boot, either from the new kernel or a floppy, then you should be able to restore them to put your old kernel back if anything happens to it.
When you install the 2.4.18 RPM, then it will set your system up to boot that. When you reboot, you should be able to choose which of the two kernels you want to run. If it clobbers your old kernel, restore the top three files above to /boot, and edit your new lilo.conf to add the lines pointing to your old kernel from your old lilo.conf.
You might want to make a boot-floppy, just in case. Use the command mkbootdisk. Check the man page to see what options you need to pass. You might be able to just run mkbootdisk 2.4.2-2 to get it to work.
As for upgrading the other packages and having them run on the old kernel. I can't tell... Some will work fine, others won't.
it should work fine, but you'll want to back up your existing /etc/lilo.conf first to make sure it doesn't do anything you don't approve of. check through it and it's normally best to ensure that it's not defaulting to teh new kernle, and so should be safer to boot. if it all goes ok and you want to keep it just change the default in lilo.