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.
When I booted, I had 3 error messages saying that I was'nt suppose to see and that I should look into the LFS book to correct this error. I did look, but sadly enough, I did'nt find what I was looking for.
The error was when loading :
/etc/rc.d/rcsysinit.d/S20mountproc
with an error code 32, if it means something to you
the same thing again for
/etc/rc.d/rcsysinit.d/S40mountfs
Mounting proc file system
modprobe: modprobe: can't locate module default
mount: proc has wrong device number or fs type default not supported
the second one is:
Mounting remaining file system
warning: can't open /etc/mtab : No such file or device
modprobe: modprobe: can't locate module default
mount: proc has wrong device number or fs type default not supported
the last one is:
Setting default gateway
SIOCADDRT: Network is unreachable
Those look like kernel problems to me. compile the kernel again but make sure that it has proc filesystem support, as well as support for your network card (that's where the SIOCADDRT is comming from.
I already have linux mandrake installed on my pc. I just copied the lfskernel on /boot/ and I configured mandrake's lilo... Do I have to copy System.map too, and if so, how do I do it without removing mandrake System.map ???
I could be wrong, but I think that you copy System.map to the system that is going to use it, but you need to copy the kernel to /boot of both the system using it and the system with lilo.
try that out... compile your kernel in lfs, copy lfskernel and System.map to /boot. Then boot up mandrake, mount the lfs partition and copy $LFS/boot/lfskernel to /boot. Then run /sbin/lilo -v . I hope that helps....
Hi, I already did copy my lkskernel to my /boot in mandrake... I just did'nt copy the System.map, because I did'nt want to overwrite the mandrake's System.map...
when on mandrake...
/lfs/boot/System.map (from lfskernel compilation)
/lfs/boot/lfskernel (from compilation too..)
/boot/System.map (from original mandrake kernel)
/boot/lfskernel (a copy from the other one)
/boot/allotherstuff (originally there in mandrake 8.2)
this is how I put everything.
this is my lilo.conf in mandrake (I did run "lilo" after I made this configuration)
I don't know buddy..... The only thing else that I can think of is maybe your /etc/fstab is wrong and that you need a different driver for your network card. If that is way off, you might have missed a crutial step when building the lfs??? what DOES your /etc/fstab look like?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.