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!
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yet I still get "Kernel Panic blah blah try passing init="
I originally had 2.4.20-8 and am upgrading to 2.4.24 and am running Red Hat 9. When I did "make menuconfig" I didnt change anything, just saved since all I needed to do what update to a new kernel.
I have literally tried everything except the right solution. If anyone can help me it would be greatly appreciated
Kernel Panics usually come about due to a bad config of the kernel.
Could you give more detail on what the Kernel Panic message actually was?
Like a few lines before the Panic?
Also in your config, make sure all the important stuff in in there... I used to get kernel panics a lot when I left out filesystem (ext3) and hard disk controller support.
Your primary filesystem you HAVE to compile into the kernel. Otherwise it can't actually find the module to load it. I compile ext2, ext3 amd resier into the kernel. Everything else which isn't needed to boot the system is modularised.
I'll try doing that in the morning, I really hope thats all I forgetting to do. I followed the "How to" completely, so when I recompile with the new settings I'll follow that again and hope for the best. Thanks for the very quick replies.
Copy the 2.4.20-8 config from /boot and load it in menuconfig, then save and do the compile.
IIRC 2.4 won't find your old config automatically, unlike 2.6, but I could be wrong.
There's no need to compile the filesystem/ide chipset etc into the kernel since the initrd in rh9 is suppose to take care of that, in fact I don't think it'll work properly if you do compile it in, unless you change the references to labels in fstab and grub.conf to actual devices.
Oh an becareful just copying an old config file and compiling directly. Each new kernel has new options and it's a good idea to have a look through them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.