LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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

Reply
 
Search this Thread
Old 01-13-2005, 06:21 PM   #1
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Rep: Reputation: 15
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
pivotrootivot_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...
 
Old 01-13-2005, 06:50 PM   #2
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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
 
Old 01-19-2005, 10:21 PM   #3
elioza
LQ Newbie
 
Registered: Jan 2005
Location: usa/nj
Posts: 4

Rep: Reputation: 0
Question 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?
 
Old 01-19-2005, 10:26 PM   #4
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
kernel is 2.4.20-8

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

--adam
 
Old 01-28-2005, 11:53 AM   #5
joirnange
Member
 
Registered: Dec 2004
Distribution: Fedora
Posts: 88

Original Poster
Rep: Reputation: 15
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??

Last edited by joirnange; 01-28-2005 at 12:03 PM.
 
Old 01-28-2005, 10:45 PM   #6
adamwenner
Member
 
Registered: Aug 2003
Distribution: windows xp home, windows 98, red hat 9, fedora core 3, redhat enterprise linux, win2000 pro/server
Posts: 217

Rep: Reputation: 32
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
 
Old 01-28-2005, 11:08 PM   #7
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
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
 
Old 09-12-2010, 04:27 AM   #8
rabeeque1
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
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)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic - not syncing: Attempted to kill init! potsilui Linux - Kernel 28 05-09-2012 11:46 AM
Kernel Panic - Not Syncing: Attempted To Kill Init! tegralens Linux - Software 13 06-23-2008 03:15 PM
"Kernel panic - not syncing: No init found." rwhite7890 Linux - General 6 06-26-2005 05:13 AM
kernel panic not syncing no init found CloudBuilder Suse/Novell 2 04-30-2005 03:26 AM
kernel panic - not syncing:no init found amimusa Linux - Software 17 01-17-2005 05:10 AM


All times are GMT -5. The time now is 12:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration