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.
Hey, I have just begun on my journey to build a lfs system. I have damn small linux installed on the machine to act as a host machine and I have installed all the needed packages with appropriate versions but a big problem that I have only just realised is that I don't have a 2.6.X Kernel but rather a 2.4.X Kernel.
So my questions are these:
Is it possible to build my LFS from scratch system with only the 2.4.x kernel(I am using LFS 6.3 which specifies 2.6)
Are there any other small distros that I could try on this machine that have the 2.6.x Kernel? (I have an older computer though with only 32mb ram)
Is it possible to upgrade the Kernel on DSL to 2.6 which is a hard drive install?
I have another computer running ubuntu that I could compile it under but would I be able to just move it across to my old computer after building the system?
Hey, I have just begun on my journey to build a lfs system. I have damn small linux installed on the machine to act as a host machine and I have installed all the needed packages with appropriate versions but a big problem that I have only just realised is that I don't have a 2.6.X Kernel but rather a 2.4.X Kernel.
So my questions are these:
Is it possible to build my LFS from scratch system with only the 2.4.x kernel(I am using LFS 6.3 which specifies 2.6)
Are there any other small distros that I could try on this machine that have the 2.6.x Kernel? (I have an older computer though with only 32mb ram)
Is it possible to upgrade the Kernel on DSL to 2.6 which is a hard drive install?
I have another computer running ubuntu that I could compile it under but would I be able to just move it across to my old computer after building the system?
Thanks in advance, Luke
You could use the Ubuntu machine to run LFS live CD, build the system and move everything to to host.
Or if your host machine is capable, run LFS live CD there.
I wouldn't recommend using DSL to build a LFS if it's your first time (unless you are willing to spend a lot of time).
Well, thats just up to how you'd like to do it.
You should build the basic system on another machine, make a filesystem on the host and then just move all the files you've built to the new filesystem (temporarily move the hard disk to the other machine for example) and then you just install Grub to the host machines hard disk and thats about it.
Hmm, I don't think i'll be able to do it that way as my old computer is a desktop while my good computer is a laptop which i can't put the harddrive into, is there any other lightweight distros that I might be able to use?
You can just compile the kernel up to 2.6.X, from what I understand its a pain in the serial port though because you have to remove incompatible libs and packages or update them in a certain order to do it, just like is required to build LFS. It might even be healthy practice in software compiling. Go to http://tldp.org? They should have relevant documentation.
Even still it would be simpler to just use the LiveCD or to install Ubuntu or another relevant host because from what I learned the toolchain is designed to remove remnants of the host so you don't have to worry about lingering elements.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.