Kernel Panic

How do I get a 2.1.xx kernel to boot with the S.u.S.E. 5.3
distro?...Have tried many things, but always get this error:
Kernel Panic: No init found. Try passing init= option to kernel. Any help would be appreciated--thanks!
tiveyAsked:
Who is Participating?
 
marcelofrCommented:
I don't know much of suse, but try putting at lilo prompt:

LILO: linux init=/sbin/init

(I hope suse leaves its init binary in /sbin). If this works, edit your /etc/lilo.conf (again your actual directory may be different) and look for an "append" option (maybe there is none) and add (or create a new one to read):

append="init=/sbin/init"

If you still have your original kernel booting, verify paths and files before touching anything.

Good luck
0
 
tiveyAuthor Commented:
Adjusted points to 200
0
 
olvoCommented:
If the system strats the boot phase normally, you can read the messages in the screen
about vmlinuz being boot, hardware tests being done, and at the transition point, it goes to panic, could be that trere are problems with your disk partion. Check your lilo.conf definition at /etc/lilo.conf, if you are using lilo to boot. Check your /etc/rc.d files, see if they are not corrupted. The boot sequence switches from kswap to init, and then init reads the /etc/rc.d/rc.sysinit script and goes from there.
If you can not boot, try using loadlin. It can be downloaded from the Net, and is a DOS -> LINUX boot process. It is not based in disk tables like lilo. Once your in linux, check the boot parameters in /etc/lilo.conf, run /sbin/lilo again, copy the /vmlinuz or /boot/vmlinuz to a floppy and try again. /boot/vmlinuz is just a link to real version of the kernel that you are using.
Now if all this fails, publish some more details of your configuration, and the messages in your screen at boot time.
 
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.