Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
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.
I can't boot into my new LFS system yet. I get into the boot sequence, and about the time where my Mandrake system would say:
Init version 2.8
Welcome to Mandrake Linux
Press "I" for interactive startup
Instead my LFS system freezes and says:
Kernel panic! Try passing init= to the kernel
Or something very close to that. I was thinking it was my iniitab file, but I copied the one from my bootable system to the $LFS/etc directory, but still, same error. So I copied from the bootable /boot directory the init.img file to my $LFS/boot, but still no luck.
Yeah, I did the search first, and tried them all. No luck yet. Yeah, I thought of the kernel thing too, (and yes at first I did compile it) so I recompiled it just to make sure, but same thing still. I am going to check on that lilo thing, I think that may be where my problem is. Thanks for the ideas!
Also make sure you selected the proper partition to be mounted as the root partition. If LFS sits on /dev/hdb1 but you selected /dev/hdb2 (which may be the /home partition) then the kernel will mount /dev/hdb2 as / and try to run /sbin/init which doesn't exist so it'll panic. This is one reason. Just make sure that all paths and devices are properly setup in the lilo configuration file and apply to the way LFS is setup. Not the way the host distribution is setup (in case you copied the host distro's lilo.conf file)