LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-26-2004, 04:57 AM   #1
stefannenzen
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Rep: Reputation: 0
Question No init found on rescuedisk


I'm building a rescuedisk on one floppy.
When I'm booting it, I get:
"Warning: Unable to open an initial console.
Kernel panic: No init found. Try passing init= option to kernel."

I've tried with using both with initrd=/boot/initrd.img and without. Still the same result.
I have /sbin/init (since missing it would be the obvious).
Been sitting with this problem all night, and the lack of sleep isn't pleasant ;-)

I would really appreciate if someone could help me with this problem.
 
Old 08-26-2004, 08:37 AM   #2
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

Why don't you try:
Code:
init=/sbin/init


Oliv'
 
Old 08-26-2004, 09:24 AM   #3
stefannenzen
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
No, that didn't work either.
 
Old 08-26-2004, 09:37 AM   #4
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Well you can try:
Code:
init=/bin/sh
Oliv'

PS: I find really strange that when you do init=/sbin/init, it still displays "no init found"... 'cause for me it means that you don't have init file or at the wrong place... unless it comes from your /etc/inittab file which is either inexistant or corrupted.
 
Old 08-26-2004, 10:57 AM   #5
stefannenzen
LQ Newbie
 
Registered: Aug 2004
Posts: 4

Original Poster
Rep: Reputation: 0
I tried with /bin/sh. Got the same error.

My inittab looks like this:

id:2:initdefault:
si::sysinit:/etc/rc
1:2345:respawn:/sbin/getty 9600 tty1
2:23:respawn:/sbin/getty 9600 tty2
 
Old 09-01-2004, 06:33 AM   #6
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hi,

Quote:
Warning: Unable to open an initial console.
Have you correctly configured your kernel? I mean not forgotten to set these options:
Code:
CONFIG_VT=y
CONFIG_VT_CONSOLE=y
CONFIG_UNIX98_PTYS=y
CONFIG_UNIX98_PTY_COUNT=256
Oliv'
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel Panic No init found. Try passing init..... Adrian Baker Mandriva 2 02-28-2005 11:47 AM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-18-2004 11:10 PM
error: No init found. Try passing the init= option to the Kernel neylitalo Linux - Laptop and Netbook 3 01-22-2004 09:34 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 03:37 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