Linux - GeneralThis 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
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.
I got an easy question for you. I'm trying to update my Linux kernel and I want to use the same configuration as my current working kernel. I need this because during compilation of the kernel, I get the following messages:
Warning: Unable to open on initial console.
Kernel Panic: No init found Try passing init = option to kernel.
Note, I have lilo configured with a new initrd .img for the new kernel. I know that it has to do with the menuconfig stuff because I added ext3 fs support (apparently was disabled by default) and when I recompiled and restarted, it got a little farther than it previously did, though it still panicked later. Thanks for the help!
hi.
if you are compiling the same kernel subset (2.4.xx to 2.4.yy or 2.6.xx to 2.6.yy), then u can use the same .config file. you cant use it if you are jumping from 2.x to 2.y
also, you do not need the initrd. plus did u run lilo after kernel compile? why dont u post here all the steps u did (it will be in ur bash history, so just copy them out here), and we can see whatsup. also post ur relevant lilo lines, and output of 'df'.
I'm pretty sure it's the configuration that's messing it up. I assumed at first that running menuconfig would show the settings for the running kernel, which was, of course, wrong. The problem is, I don't know what to enable in order to get the system to boot. I even looked at the messages log to see what gets booted after the panic, and enabled those, but it didn't work.
What I need then, is exact instructions on how to use the current kernel configuration. The changes I made in the drivers do not require anything new to be enabled. Thanks for your help.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.