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


Reply
  Search this Thread
Old 06-19-2005, 02:38 AM   #1
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 39
kernel panic: no init found


hi all,
suddenly I am facing a problem booting my RHEL3 which @ boot time gives me this messsage:-

pivotroot : pivor_root (/sysroot,/sysroot/initrd) failed :2
umount /initrd/proc failed :2
kernel panic : no init found : try passing init = option to kernel.

Any idea. I think I had deleted some init file or something.
Thanks in advance.
 
Old 06-22-2005, 11:57 AM   #2
rwhite7890
LQ Newbie
 
Registered: Jun 2005
Posts: 28

Rep: Reputation: 15
Re: kernel panic: no init found

Quote:
Originally posted by tanveer
hi all,
suddenly I am facing a problem booting my RHEL3 which @ boot time gives me this messsage:-

pivotroot : pivor_root (/sysroot,/sysroot/initrd) failed :2
umount /initrd/proc failed :2
kernel panic : no init found : try passing init = option to kernel.

Any idea. I think I had deleted some init file or something.
Thanks in advance.
Tanveer,
I am getting the same error message when I recompiled my kernel and trying to boot it up. Did you figure this out? What was the problem?

If you could help me, that'd be great. My post is:

http://www.linuxquestions.org/questi...hreadid=335927

Thanks so much
 
Old 06-23-2005, 12:14 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Re: Re: kernel panic: no init found

Quote:
Originally posted by rwhite7890
If you could help me, that'd be great. My post is:

http://www.linuxquestions.org/questi...hreadid=335927
your link is broken... here's the fixed one:

http://www.linuxquestions.org/questi...hreadid=335927
 
Old 06-23-2005, 10:12 PM   #4
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Original Poster
Rep: Reputation: 39
Hi,
I haven't yet completely figured that out. But I think somehow I accientallly deleted an empty directory named 'initrd'. But dont know the exact location where to make that dir again. If I find I will let u know. The directory was offcourse empty. If you find let me know. I think making that dir will solve the prob.
-Tanveer
 
Old 06-24-2005, 07:02 PM   #5
floppywhopper
Member
 
Registered: Aug 2004
Location: Western Australia
Distribution: Mageia , Centos
Posts: 643
Blog Entries: 2

Rep: Reputation: 136Reputation: 136
Do you have a file called
/etc/inittab
if so
you should have a line in that file that reads something like
id : 5 :initdefault :
or
id : 3 : initdefault :

hope this helps
floppy
 
Old 06-24-2005, 07:12 PM   #6
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
rwhite7890,

I think you need to create an initial RAMdisk, which your kernel will be looking for when it boots. The following link should provide you with all the information you need -

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Good luck!
 
Old 06-24-2005, 07:19 PM   #7
rwhite7890
LQ Newbie
 
Registered: Jun 2005
Posts: 28

Rep: Reputation: 15
Quote:
Originally posted by kevinatkins
rwhite7890,

I think you need to create an initial RAMdisk, which your kernel will be looking for when it boots. The following link should provide you with all the information you need -

http://www.digitalhermit.com/linux/K...ild-HOWTO.html

Good luck!
Hey thanks for the reply, but I already did this. Any other suggestions?
 
Old 06-24-2005, 07:31 PM   #8
kevinatkins
Member
 
Registered: Jan 2004
Location: cheshire, uk
Distribution: Ubuntu Hoary
Posts: 605

Rep: Reputation: 33
OK, so initrd is in order.. Have you remembered to point to the RAMdisk in your GRUB / LILO config files?

If you've done all that, then I'm a bit puzzled.

Only other thing I can suggest, if you continue to struggle with the RAMdisk business is to reconfigure and recompile your kernel so that vital drivers (eg, filesystem, etc) are compiled in to the kernel, not built as modules.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic: no init found. Try passing init= option to kernel. ericb Slackware - Installation 3 10-20-2005 11:03 AM
Kernel Panic: No init found. Try passing init=option to Kernel ridak Fedora 5 09-08-2004 01:25 AM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 10:18 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 03:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:19 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration