LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Host Requirements Question - Relating to kernel. (https://www.linuxquestions.org/questions/linux-from-scratch-13/host-requirements-question-relating-to-kernel-628878/)

lszanto 03-18-2008 04:04 AM

Host Requirements Question - Relating to kernel.
 
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:
  1. 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)
  2. 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)
  3. Is it possible to upgrade the Kernel on DSL to 2.6 which is a hard drive install?
  4. 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

TheBeli 03-18-2008 05:51 AM

Quote:

Originally Posted by lszanto (Post 3092342)
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:
  1. 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)
  2. 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)
  3. Is it possible to upgrade the Kernel on DSL to 2.6 which is a hard drive install?
  4. 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).

lszanto 03-18-2008 03:43 PM

Ohok, so my best option is to use the live cd? Oh and if I was to build it on my more powerful computer how would I move the system?

TheBeli 03-19-2008 02:30 AM

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.

lszanto 03-19-2008 04:14 AM

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?

forusword 04-03-2010 02:21 AM

if you're still searching for an answer
 
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.

forusword 04-03-2010 02:22 AM

oh you gotta add a www. before that.


All times are GMT -5. The time now is 04:44 PM.