LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-18-2003, 12:45 PM   #1
phobosd
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Rep: Reputation: 0
kernel panic: no init found


got this error on bootup the other day:

kernel panic: no init found

So i boot into rescue mode to try and fix lilo, but how do i mount the raid5 scsi drives? does rescue mode support raid? Never really played around with raid a lot. any help concerning mounting raid drives in rescue mode would be greatly appreciated. Thanks!
 
Old 07-18-2003, 01:48 PM   #2
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 49
Here is what you can do ... tryng to recollect what I had done 2 years ago ....

Use a boot floppy,
Select the option that allows to provide additional drivers
linux: linux expert ???? or ....
provide your scsi driver disk when prompted.....
Move over to vty2

Get the idea?

Sorry I will need more time to get the whole thing back ... but the steps go something like what I have jotted above.

All the best.
 
Old 07-18-2003, 02:23 PM   #3
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
In your boot loader try init = 3 or init = 5. What this does (I think) it runs one of your rc level scripts.

Example:

linux init = 3

or

linux init = 5

5 is gui in some distributions. In slackware its 4 (info that I from this forum).

If that doesn't work, you may need to recompile your kernel and give support for your SCSI controller. You can either compile your controller as a module or have it built-in. If you have compiled it as a module you have to run a ram disk image utility against your re-compiled kernel. Then copy both the kernel and the image to /boot. Next edit your boot loader configuration file. If you have an ram disk image don't forget to add ram disk size to suite your disk image file.
 
Old 07-18-2003, 02:54 PM   #4
martinman
Member
 
Registered: Apr 2003
Distribution: Gentoo 1.4
Posts: 290

Rep: Reputation: 30
is your initrd in the right place?

check /boot/ for your initrd along with your vmlinuz, then make sure they match in your lilo/grub.conf
 
Old 07-18-2003, 05:34 PM   #5
phobosd
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally posted by martinman
is your initrd in the right place?

check /boot/ for your initrd along with your vmlinuz, then make sure they match in your lilo/grub.conf
this would be all good if i could just mount the drives...do i need to execute "raidstart" and then try and mount /dev/sda to /foo?

Thanks for all the input so far.

i will have to try the init=3 option. i have tried initrd= and different root partitions, but to no avail. i really think the initrd just needs to be rebuilt, but i can't even mount the drives.
 
  


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: No init found. Try passing init= option to kernel ridak Fedora 0 07-14-2004 08:23 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-19-2004 12:10 AM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Mandriva 7 03-14-2004 03:37 PM
error "Kernel panic: No init found. Try passing init= option Anauj0101 Linux - Newbie 3 05-06-2003 11:18 PM
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to fbl Linux - General 12 01-14-2003 04:38 AM


All times are GMT -5. The time now is 05:12 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration