LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
Search this Thread
Old 10-07-2004, 06:31 PM   #1
ecliptic
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
200GB HDD

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

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

apt-get install kernel-image-2.4.27.xxx.deb
 
Old 10-07-2004, 07:38 PM   #3
ecliptic
LQ Newbie
 
Registered: Oct 2004
Posts: 2

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

apt-get install kernel-image-2.4.27.xxx.deb
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, 06:27 PM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,187

Rep: Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513Reputation: 513
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:
CONFIG_IDEDISK_MULTI_MODE=y

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!

jlinkels
 
  


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..... Adrian Baker Mandriva 2 02-28-2005 12:47 PM
Kernal Panic: No init found. Try passing init= option to kernel raees Linux - General 12 03-19-2004 12:10 AM
error: No init found. Try passing the init= option to the Kernel neylitalo Linux - Laptop and Netbook 3 01-22-2004 10:34 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:07 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration