LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 06-29-2005, 05:57 PM   #1
vi595
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Rep: Reputation: 0
Getting "No Init found" even from boot disk


I am getting the following error on system boot :

Kernel Panic : no init found, try using init= option .....

I have a dual-boot system with Debain 3.0 (Kernel 2.2.20) and Windows 98 SE on a Pentium III machine with LILO as the boot loader. The system had been running fine for quite a while and I was able to boot to windows and linux with no problems. However out of nowhere when I tried to boot to Linux today, it gave me the "no init found" error.

I searched around and it appears that many people have encountered this before usually when trying to install a new kernel which they compiled or they did something wrong by mistake.

I have not compiled a new kernel Or deleted any system files or anything like that. So I tried to boot from
1. The Linux boot disk
2. The installation CD.

On both occasions I used : rescue root=/dev/hda2 , however I still get the same error.

I even used a partition manager to verify the integrity of the Linux root partition and it came out fine.

In all the messages that I have read about this , the one common solution was to boot from disk and then check for filesystem errors etc.
However I am unable to boot from the rescue disks themselves. What can I do other than re-installing.

Can anyone help ???

Last edited by vi595; 06-29-2005 at 06:01 PM.
 
Old 06-29-2005, 07:00 PM   #2
mhallbiai
Member
 
Registered: Jun 2005
Posts: 96

Rep: Reputation: 15
i am not familiar with Debian but on redhat i have seen this problem when /initrd has been deleted. have you deleted any empty directories lately... this file is needed to perform the pivot_root. if you look a few lines up does it say anything about pivot_root'ing? again, my experience is with RH distros (and SuSE) and they both pivot_root to /initrd.

hope this helps.
 
Old 06-29-2005, 07:09 PM   #3
vi595
LQ Newbie
 
Registered: Jun 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks for the reply.

I have deleted empty directories but definitely not anything under / and positively not /initrd .

I don't see anything related to pivot_root in the boot messages. It actually says that the root filesystem was mounted some lines before the error.

What's the pivot_root ?
 
Old 06-29-2005, 07:32 PM   #4
mhallbiai
Member
 
Registered: Jun 2005
Posts: 96

Rep: Reputation: 15
google/linux pivot_root
http://linux.about.com/library/cmd/b...pivot_root.htm
http://linux.about.com/library/cmd/b...pivot_root.htm

it is one of the very last (if not the last) steps taken by the initial ramdisk

i just thought i would throw that out there. i have seen time and time again where someone will be poking around and "hey, i have an empty directory. it can't be that important if there isn't anything in it so i'll just delete it" and of course by the time they reboot they will have forgotten all about deleting it.

in all the cases i have seen with that error as the last line it was that the directory where the pivot_root is performed had been deleted. i am definitely interested to know what the solution will be for your situation.
 
  


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
"Successful install" results in "Boot device not found" slackr007 Fedora 2 06-21-2005 05:05 PM
"Successful install" results in "Boot device not found" slackr007 Linux - Newbie 2 05-31-2005 09:02 PM
2.6.3 kernel upgrade reiserfs boot problems "no init found" riskable Mandriva 3 05-28-2004 05:11 PM
Anyone know what the "no init found" error is? I can't boot up. Koroshiya Linux - Software 7 10-23-2003 11:10 AM
Zipslack getting "Kernel panic: no init found. Try passing init= option to kernel" Sam Hobbs Linux - Newbie 4 03-28-2002 11:37 AM


All times are GMT -5. The time now is 10:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration