Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 10-07-2004, 05:31 PM   #1
LQ Newbie
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
no init found when installing 2.4.27

I'm having trouble when I upgrade to kernel 2.4.27.. I dont understand why, but I keep getting the error -

"Warning: unable to open an initial console. Kernel panic: No init found. Try passing init= option to kernel"

I've read previous posts about this problem and have google'd it but anything suggested doesn't seem to fix it for me. I installed Debian using the cd ISO's with the bf24 boot image(i've tried 2.2 boot and it does the same thing), so it currently has 2.4.18. I got the NIC working and downloaded the source for 2.4.27, and when compiling the kernel everything goes smoothly, I make my lilo image, reboot, and when I choose the new "Linux" option, it attempts to boot the new kernel and it gets this message. It does the same with the 2.6 series kernel. I've compiled kernel's on debian quite a few times in the past and have never run into this problem, its only on this specific machine. I can load the original kernel(2.4.18) just fine.

I've tried using init=/bin/sh, init=/sbin/init at the boot prompt and I still get the same message. It's strange how I can boot 2.4.18 just fine but when trying other kernel's that I've compiled it wont work.. Maybe I'm missing something in the compile but I've never had this problem before. I'll give some hardware info about the machine:

Pentium 4 3.0ghz
ATI Radeon 9700PRO
1 GB ram

Any other info anyone needs please just ask for it, and I appreciate any feedback. Thanks.
Old 10-07-2004, 06:32 PM   #2
Registered: Apr 2004
Location: Europe:Salzburg Austria USA:Orlando,Florida;
Distribution: Debian
Posts: 643

Rep: Reputation: 32
report this poswhy compile from s kernel already exists...

apt-get install
Old 10-07-2004, 06:38 PM   #3
LQ Newbie
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Originally posted by utanja
report this poswhy compile from s kernel already exists...

apt-get install
I like compiling it from source because I've always done it that way.. I'll try using apt to install it that way, but can anyone help with why im getting that specific error?
Old 10-11-2004, 05:27 PM   #4
Senior Member
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,534

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Maybe a stupid question, but the bf2.4 kernel does not use an initrd image, while non bf kernels usually do.

Are you sure that your kernel does not expect an intrd image?

If it does expect an initrd image, turn it off by building the kernel without the --initrd option.

If you re-use the old config file, that is without initrd, be sure to use the 2.4.18-bf2.4 config file, which has IDE support compiled in:

If you use initrd, be sure that it is mentioned in your lilo.conf
initrd=/initrd.img #make sure this is the correct file!

Also, I have experienced problems that the cramfs format for initrd was not supported. A precompiled kernel using initrd worked fine, a self-built did not!



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..... 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 > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration