LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2003, 09:42 AM   #1
newbie2003
LQ Newbie
 
Registered: Feb 2003
Distribution: Redhat 8.0
Posts: 4

Rep: Reputation: 0
Angry new kernel won't boot!!!


I just installed redhat 8.0 on my HP ZE5170 laptop. I compiled the 2.4.20 kernel and when I try to boot it I get the error "no init found. try passing init= option to kernel" I am booting from grub and I have tried everything that I can think of.
 
Old 02-13-2003, 10:14 AM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Did you run make install , or did you move the bzImage to /boot by yourself?

If you didn't make install , then you'll prob'ly need to run mkinitrd kernel_version to create the initrd. That's the INITial RamDisk, and is used to boot. Check the man page to see what options there are to mkinitrd.
 
Old 02-13-2003, 11:22 AM   #3
newbie2003
LQ Newbie
 
Registered: Feb 2003
Distribution: Redhat 8.0
Posts: 4

Original Poster
Rep: Reputation: 0
I ran the make install feature but that doesn't move the bzImage to the /boot. I had to do that manually. Their is a file initrd-2.4.20.img in /boot
 
Old 02-13-2003, 12:23 PM   #4
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Well, then, it could be something in your GRUB configuration. Post your /boot/grub/grub.conf for us to look for any problems.
 
Old 02-13-2003, 12:25 PM   #5
The Ennead
LQ Newbie
 
Registered: Feb 2003
Location: Red Half Of Manchester UK
Distribution: Gentoo
Posts: 25

Rep: Reputation: 15
How do you have your menu.lst set up? It could be the same problem I had a while back when I forgot how grub counts its hard drives. If you have only the one drive (hda) then is it possible it was setup as hd1,0 whereas the grub equivalent should be set as hd0,0
 
Old 02-13-2003, 12:37 PM   #6
newbie2003
LQ Newbie
 
Registered: Feb 2003
Distribution: Redhat 8.0
Posts: 4

Original Poster
Rep: Reputation: 0
Here is the grub.conf file
grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=1
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20)
root (hd0,0)
kernel /vmlinuz-2.4.20 ro root=LABEL=/ hdc=ide-scsi nomce
initrd /initrd-2.4.20.img
title Red Hat Linux (2.4.18-14)
root (hd0,0)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/ hdc=ide-scsi nomce
initrd /initrd-2.4.18-14.img
 
Old 02-13-2003, 01:14 PM   #7
newbie2003
LQ Newbie
 
Registered: Feb 2003
Distribution: Redhat 8.0
Posts: 4

Original Poster
Rep: Reputation: 0
I just changed one line of the file to
kernel /vmlinuz-2.4.20 ro root=LABEL=/ hdc=ide-scsi nomce
ide=nodma idebus=66
That fixed the kernel panic but now it says that that hda is not ready for command.!?!

Making progress but still not there
 
  


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
DSL Kernel Wont detect Flash drive on boot, cant boot =( Javahulk Linux - General 1 03-24-2005 02:59 PM
Kernel update boot problems, no boot loader StaticSage Red Hat 2 01-09-2004 06:05 AM
CAVEAT: /boot/kernel.h & how not to clobber your kernel sources (Conectiva, Red Hat) JCCyC LinuxQuestions.org Member Success Stories 0 08-07-2003 07:49 AM
Kernel Compile Boot Loader? boot disk? SPMcRuube Linux - Newbie 3 12-03-2002 07:02 PM
What to do with /boot/System.map on dual Kernel boot? cathodion Linux - General 2 05-17-2002 11:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:48 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