LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel panic-not syncing: No init found (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-not-syncing-no-init-found-277502/)

joirnange 01-13-2005 06:21 PM

Kernel panic-not syncing: No init found
 
i install red hat 9 with coming kernel 2.4.20
now i upgrade my kernel to 2.6.10.

when i reboot using new kernel
error come out

Mounting root filesystem
mount:error 19 mounting ext3
pivotroot:pivot_root(/sysroot./sysroot/initrd) failed:2
umount /initrd/proc failed:2
Freeing unused kerenl memory: 244k freed
kernel panic- not syncing: No init found. Try passing init=option to kernel


What should i do to fix this error??
my grub config is::

default=1
timeout=10
splashimage=(hd1,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20-8)
root (hd1,0)
kernel /vmlinuz-2.4.20-8 ro root=LABEL=/
initrd /initrd-2.4.20-8.img
title DOS
rootnoverify (hd0,0)
chainloader +1
title Red Hat Linux (2.6.10)
root (hd1,0)
kernel /vmlinuz-2.6.10 ro root=LABEL=/
initrd /initrd-2.6.10.img

Can someone guide me???
Thanks a million...

adamwenner 01-13-2005 06:50 PM

make sure that this file exists
/boot/initrd-2.6.10.img

if not, theres your problem, figure out where that file is and change the reference accordingly

if its there and referenced correctly, then

highlight your linux grub line with the new kernel and append to the end of it
init=/bin/sh
this should bring you to a base shell using your new kernel

from there, you can troubleshoot further

--adam

elioza 01-19-2005 10:21 PM

heeeelp
 
i am using kernel that came with RH 9, have no clue about number of it.

have similar problem- "kernel panic: No init found. Try passing init=option to kernel"

any suggestions?

adamwenner 01-19-2005 10:26 PM

kernel is 2.4.20-8

lemme find a rh9 machine tomorrow @ school and see what the config should say

--adam

joirnange 01-28-2005 11:53 AM

Quote:

Originally posted by adamwenner


highlight your linux grub line with the new kernel and append to the end of it
init=/bin/sh
this should bring you to a base shell using your new kernel

from there, you can troubleshoot further


how to troubleshoot???Guide me plz...

p/s: even i append init=/bin/sh to LABEL/, it also seem like the same..
why i can install this fresh kernel in fedora , but in RedHat, i face this problem??
or is there any guide to install the fresh kernel 2.6 .10 into Redhat??

adamwenner 01-28-2005 10:45 PM

installing a new kernel is almost like installing an entire new OS, so you didnt actually expect it to be easy

i accidentally installed a new kernel just by running that redhat network tool and installing the new kernel

honestly, i dont know what you should do, cause something went haywire with your install, get a copy of knoppix, save your files somewhere on another machine or another partition, and reinstall FC

honestly, i dont know what you did, but something isnt right, and i dont know enough about installing a new kernel except that i accidentally did it with redhat network

--adam

tormented_one 01-28-2005 11:08 PM

If you can get to a command line. You need: mkinitrd -c -k 2.6.10 -m ext3. There is an error cause you have no initrd

rabeeque1 09-12-2010 04:27 AM

kernel panic not syncing
 
Hi,

I am new to this forum.Guyz please help me out.
Our email server and fax server configured in a Linux server.
2day mornin onwards i am getting the error.

kernal panic -not syncing : attempted to kill init.

I am not getin any other options to trouble shoot.

Please help me.how should i trouble shoot this and get rid of this issue?

i m using Centos-4 ( 2.6.9-11 EL)


All times are GMT -5. The time now is 09:15 AM.