Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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
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
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.!?!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.