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.
if so i had this problem, make sure you have compiled the ext3 into your kernel, otherwise you will end up with a chicken and egg situation:
you cannot read the disk - need module to do so, modules on the disk, cannot read disk - need module to do so, module on disk....
its like putting the driver for a network card on a network server with out any means to get it to the workstation !
and so on i think you will get the idea.
as far as compiling problems go with LFS i found that mandrake as the host system is quite useless, most of the libs are missing etc. most people here recommend downloading knoppix of the internet, i followed their instructions and it works perfectly for me.
knoppix is a bootable linux cd ( a root boot i beleve is the correct term ) just stick it in and off you go
Distribution: gentoo,RH, mandrake, debian, slackware, lfs, and more.
Posts: 25
Original Poster
Rep:
Screen messages:
Mounting proc file system [ok]
Mounting root file system in read-only mode [ok]
Checking file systems.....
fsck.ext3: no such file or diretroy while trying to open /dev/hdb10
/dev/hdb10: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
File system errors were encountered that couldn't be fixed automatically. This system cannot continue to boot and will therefore be halted until those errors fixed manually by a System Adminstrator.
When you press enter, this system will be halted.
Press enter to Continue.
Distribution: gentoo,RH, mandrake, debian, slackware, lfs, and more.
Posts: 25
Original Poster
Rep:
I have discovered that if I add :
append="devfs=nomount"
to lilo.conf, it boots just fine, without any errors.
Everything seems ok, with the exception of ping.
ifconfig shows eth0 and the network to be OK.
When I ping 192.168.0.1 or any address on my network, I get:
>ping: unknown protocol icmp
I doubt any relationship between ping and devfs.
Still no clue why the kernel compiled in Gentoo, and
moved to the lfs partition boots with devfs enabled.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.