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.
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.
Hi
It cannot find your root filesystem, so 1) the grub configuration might be wrong or 2) your kernel does not have the ability to access the hardware which hosts your root filesystem (drivers compiled as modules but not loaded by initrd OR drivers compiled in the kernel but they're the wrong ones OR drivers not compiled at all).
Now I have a stupid question: what's LFS?
What you could do is to have a look at the configuration of the kernel and compile the drivers of your IDE-bus not as modules but inside the kernel? That way you would jump over all the initrd-stuff and if it would still not work you could review the configuration of grub (where does it come from? did you write it on your own? was it working sometimes "before"?)
I wrote the grub configuration file myself according to LFS book.
No it never worked before.
My grub configuration file seems ok.
As you said, I think i have to configure the kernel by myself and stop using modules as a start.
Ok
And about grub, if I remember correctly, it should contain "root hd(0,0)" because you probably installed grub in the first partition of the hda-drive and yes, the "--root=/dev/hda2" appended in the root kernel option.
Good luck
no I did not solve it:
- in the LFS liveCD boot script, ext3 and ext2 driver were compiled as modules : I switched to "built in"
- the same for IDE/ATA drivers the where compiled as modules : i swtched to "built in"
I still get the same message.
I suspect the compilation of ide/ata drivers to still be wrong
the thing is : in menu config, one can choose to "built in" ATA support and then you can enter the sub list and you have additionnal choices to make (I dont know if i am clear).
I probably missed something there (in the sub list).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.