Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to
Linux - GeneralThis 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
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Compiled own kernel and got: Kernel panic: No init found. Try passing init= option to
Dear,
I have installed Red Hat 8.0 , but I needed to build a vanilla kernel because of my network card. It does not seems to work under the RH kernel.
So I downloaded the 2.4.20 sources, roled up my sleeves, and got started. I have to say that I am very new to Linux, so I think everything went OK during the building process, but I can't be very sure of that.
For installing the kernel on the boot partition, I used make install. That did not seem to work with "root=LABEL=/", so I changed that to the boot partition.
That got me to where I am now: stuck on "Kernel panic: No init found. Try passing init=option to kernel".
I found a lot of other postings concerning the "No init found message", but I was not able to get a clear idea of what I should do out of those.
Any help would be greatly appreciated,
Frankie
-> my grub.conf looks like this:
# 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,5)
# kernel /vmlinuz-version ro root=/dev/hda8
# initrd /initrd-version.img
#boot=/dev/hda6
default=1
timeout=10
splashimage=(hd0,5)/grub/splash.xpm.gz
title Red Hat Linux (2.4.20)
root (hd0,5)
kernel /vmlinuz-2.4.20 ro root=/dev/hda6
initrd /initrd-2.4.20.img
title Red Hat Linux (2.4.18-14)
root (hd0,5)
kernel /vmlinuz-2.4.18-14 ro root=LABEL=/
initrd /initrd-2.4.18-14.img
title Windows
rootnoverify (hd0,0)
chainloader +1
Chaging to root=LABEL=/" results in another Kernel panic;
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root:" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00
But it was indeed the grub.conf that was the problem, it had to be root=/dev/hda8
I got that from somebody in Linuxnewbie, but thanks for your post.
Of course my network card still doesn't work, ..., and although it's hard to believe; I still love learning Linux, "when men where men, and 'compiled' their own device drivers" !
Originally posted by fbl Chaging to root=LABEL=/" results in another Kernel panic;
VFS: Cannot open root device "LABEL=/" or 00:00
Please append a correct "root:" boot option
Kernel panic: VFS: Unable to mount root fs on 00:00
But it was indeed the grub.conf that was the problem, it had to be root=/dev/hda8
I got that from somebody in Linuxnewbie, but thanks for your post.
Excellent! I'm impressed
But when did hda8 come into the picture?
Quote:
Of course my network card still doesn't work, ..., and although it's hard to believe; I still love learning Linux, "when men where men, and 'compiled' their own device drivers" !
Originally posted by charlie123 Hi, i have recieved a similar message. I have XP home and RH8.0 on a partition and i am using lilo to boot. After a while booting into linux i get:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.