LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 03-17-2004, 06:37 PM   #1
raees
Member
 
Registered: Nov 2003
Posts: 65

Rep: Reputation: 15
Kernal Panic: No init found. Try passing init= option to kernel


Kernal Panic: No init found. Try passing init= option to kernel.

I rebuilded and rebooted my linux server , I got this message !!

What need to do ?

Raees
 
Old 03-17-2004, 07:47 PM   #2
aeolus
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
Your kenel must have a bit of problem.I think you should rebuild your kernel as steps:
1.modify /usr/src/linux/Makefile,EXTRAVERSION=-8(if your system is redhat9,remove custom)
2.make mrproper
3.make menuconfig and save
4.make dep
5.make clean
6.make bzImage
7.make modules(if you select modules)
8.make modules_install(if you select modules)
 
Old 03-17-2004, 07:51 PM   #3
aeolus
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
or if you ever changed your H/W settings?
 
Old 03-17-2004, 08:12 PM   #4
arrruken
Member
 
Registered: Apr 2003
Distribution: gentoo
Posts: 238

Rep: Reputation: 32
did you make sure the root and boot partitions file system type are included in the kernel and not modules? I had the same error and it was that before.
 
Old 03-17-2004, 10:34 PM   #5
taillefer
LQ Newbie
 
Registered: Mar 2004
Distribution: RH9
Posts: 21

Rep: Reputation: 15
http://thomer.com/linux/migrate-to-2.6.html

http://kerneltrap.org/node/view/799

are two sites that I found useful while recompiling my 2.6.3 kernel. Check it out..
 
Old 03-17-2004, 11:09 PM   #6
alucard2
LQ Newbie
 
Registered: Mar 2004
Location: Singapore
Posts: 13

Rep: Reputation: 0
I had the same problem when I tried to compile 2.6.0. I think it needs an initrd image to be placed in the /boot.
Goto bzImage (newly compiled) directory and use mkinitrd to create initrd, copy it to /boot
 
Old 03-17-2004, 11:45 PM   #7
taillefer
LQ Newbie
 
Registered: Mar 2004
Distribution: RH9
Posts: 21

Rep: Reputation: 15
The main thing is to compile ext3 directly into the kernel _not as a module_

Run-

#make xconfig

Go to FileSystems & put a check on Ext3 journalling file system suport.

Then follow the usual steps -
#make bzImage
#make modules
#make modules_install
#make install

You _do not_ need to run make dep and make clean for ver 2.6 kernel
 
Old 03-17-2004, 11:59 PM   #8
taillefer
LQ Newbie
 
Registered: Mar 2004
Distribution: RH9
Posts: 21

Rep: Reputation: 15
http://www.linuxquestions.org/questi...threadid=73436

will show you the way
 
Old 03-18-2004, 09:40 AM   #9
raees
Member
 
Registered: Nov 2003
Posts: 65

Original Poster
Rep: Reputation: 15
When I made a boot floppy disk for linux.. My notion was to have a disk like MSDOS boot disk ,which will give me a console that will alow me to go through the file systems and make necessary changes to reboot.. But the one I made did not look like that .. even after tried to boot the stuff with folppy .. I ran in to same problem of kernel panic ...

I know, all that i have to do is to change the grub.cofig for my system to work but

What a stupid stuff .. I can't even do that with this boot floppy ....

I don't know how i will recover from this

Raees
 
Old 03-18-2004, 11:15 AM   #10
raees
Member
 
Registered: Nov 2003
Posts: 65

Original Poster
Rep: Reputation: 15
Help please
 
Old 03-18-2004, 06:54 PM   #11
aeolus
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
what is your system?Redhat or ....
If your system is RH,you can insert RH disc1,then enter rescue mode.
You might operate like you say above.
 
Old 03-18-2004, 08:43 PM   #12
raees
Member
 
Registered: Nov 2003
Posts: 65

Original Poster
Rep: Reputation: 15
How to start in rescue mode ?. Will there be a menue to select ..Or any special key ?
 
Old 03-18-2004, 11:10 PM   #13
aeolus
Member
 
Registered: Feb 2004
Posts: 66

Rep: Reputation: 15
When you insert RH disc1,run linux rescue
 
  


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 ridak Fedora 5 09-08-2004 01:25 AM
Kernel panic: No init found. Try passing init= option to kernel. Kramer Linux - General 3 08-12-2004 09:23 PM
Kernel Panic: No Init Found Try Passing Init=option To Kernel Bakame Mandriva 7 03-14-2004 02:37 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 01:22 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