kernel panic - not syncing: Attempted to kill init!
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
1. That is an old kernel.
Why don't you try compiling a much more recent kernel?
2. "enterprise linux 4" is not a distribution.
Could it be that you mean "Red Hat Enterprise Linux 4". There is an smp kernel for this distribution - why don't you use that?
Basically, the kernel panic means you left something out. Go back and do it again, slowly. Did you remember to create the initrd?
Kernel panic occurs when you left something that was not supposed to be left, or chose options that don't work. All you have to do is... ahem... compile correctly
PS: This may take time but once you do it successfully, you will remember it
The immediate message that you quoted simply means:
Quote:
Originally Posted by Your computer:
OMG! initdied! It's not allowed to die! I can't run without it..."
What you are looking for, actually, is the reason why it died, which will be found in messages before this one.
(Incidentally, init, or "process #1," is the program that starts and restarts everything in the system, cleans up after the corpses, and so-on. It is started when the system first boots up and it never dies. (As you saw, if it does die, the system immediately halts.)
Fall-back to the previous kernel and try the installation again.
Distribution: Mandriva, Red Hat, Fedora Core, MontaVista
Posts: 23
Rep:
The kernel startup init kernel thread ( process PID 1 ) cannot locate the init program on your root filesystem. The init kernel thread execs the init program to continue the startup procedure. The init program runs as PID 1 and replaces the init kernel thread.
You need to check that your rootfs contains the init program. eg. /sbin/init
It may be that the mounting of your root filesystem failed and therefore the kernel was unable to access the init program.
How did you make the initial ramdisk? I needs to match the kernel. But you say "copied bzImage from /usr/src/linux-2.6.9/arch/i386/boot to /boot"
so the kernel would be would be /boot/bzImage in your case, but you specify /bzImage in the grub.conf.
If Enterprise means Redhat Enterprise, you might be better off installing their ready-made SMP kernel from RPMs because RH makes it somewhat hard to get compiling the kernel right unless you know exactly what you are doing.
How did you make the initial ramdisk? I needs to match the kernel. But you say "copied bzImage from /usr/src/linux-2.6.9/arch/i386/boot to /boot"
so the kernel would be would be /boot/bzImage in your case, but you specify /bzImage in the grub.conf.
RHEL installer creates a boot partition by default. All the entries in grub.conf are relative to the /boot. So the reference should be OK. (Mind you, it's been a while since I used anything redhat.)
Quote:
If Enterprise means Redhat Enterprise, you might be better off installing their ready-made SMP kernel from RPMs because RH makes it somewhat hard to get compiling the kernel right unless you know exactly what you are doing.
You can say that again!
If this was a recompile of the installed distro-kernel, then it is possible to keep all the original settings and only enable [m] for smb. Somehow I suspect this is not what happened.
Now, I suspect, no headway will be gained until OP replies... er... hello sharad?
Last edited by Simon Bridge; 02-19-2007 at 01:46 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.