LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-03-2004, 05:55 PM   #1
mmmfanta
LQ Newbie
 
Registered: Aug 2004
Posts: 1

Rep: Reputation: 0
Unhappy kernel panic: No init found


Hi!

I am a complete newbie, I am trying to get Fedora core 2 rup and running, I have tried to install it twice, but it keeps displaying this message.

kernel panic: No init found. Try passing init = option to kernel

What does this mean, and is it fixable

(I am trying to boot to X btw)

Any help, greatly appreciated

KC
 
Old 08-03-2004, 07:34 PM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
This error message whilst accurate is a bit misleading. The problem is not usually that the init= option is missing as it isn't usually necessary. The missing/incorrect option is usually root= which specifies the first filesystem to mount which contains the operating system's other files. What partition did you install / to in the installer? When lilo (or grub) loads you should be able to override the root option. In lilo when the options come up you press escape and then type the name of the linux option (press TAB to get a list of the options) and after the name type root=/dev/hda2 (assuming you installed linux on a second primary partition of the primary master IDE drive). Other likely possibilities are /dev/hda3, /dev/hda5, /dev/hda6 and possibly /dev/hdb1 or /dev/hdb2 if you have a second hard drive. I haven't used grub for a while so I can't give a detailed procedure however I believe that when the options list comes up you should press 'e' to edit the option (have linux selected first) and I think you then need to edit the kernel line although I could be wrong and looking for root= somewhere after pressing e is probably the best bet.

Once you have managed to boot you will need to edit either /etc/grub.conf or /boot/menu.lst (I can't remember which is the correct one for grub) or, if you use lilo then /etc/lilo.conf. If you use lilo then you must run /sbin/lilo after editing /etc/lilo.conf. This isn't required for grub.

Last edited by nhs; 08-03-2004 at 07:38 PM.
 
  


Reply



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 07:23 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 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 - Distributions > Fedora

All times are GMT -5. The time now is 11:30 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
Open Source Consulting | Domain Registration