LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
Search this Thread
Old 03-18-2008, 04:04 AM   #1
lszanto
LQ Newbie
 
Registered: Mar 2008
Location: Down Under
Distribution: Ubuntu 7.10
Posts: 8

Rep: Reputation: 0
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
 
Old 03-18-2008, 05:51 AM   #2
TheBeli
LQ Newbie
 
Registered: Feb 2008
Distribution: LFS
Posts: 23

Rep: Reputation: 15
Quote:
Originally Posted by lszanto View Post
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).
 
Old 03-18-2008, 03:43 PM   #3
lszanto
LQ Newbie
 
Registered: Mar 2008
Location: Down Under
Distribution: Ubuntu 7.10
Posts: 8

Original Poster
Rep: Reputation: 0
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?
 
Old 03-19-2008, 02:30 AM   #4
TheBeli
LQ Newbie
 
Registered: Feb 2008
Distribution: LFS
Posts: 23

Rep: Reputation: 15
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.
 
Old 03-19-2008, 04:14 AM   #5
lszanto
LQ Newbie
 
Registered: Mar 2008
Location: Down Under
Distribution: Ubuntu 7.10
Posts: 8

Original Poster
Rep: Reputation: 0
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?
 
Old 04-03-2010, 02:21 AM   #6
forusword
Member
 
Registered: Apr 2010
Location: USA
Distribution: OpenSUSE
Posts: 70

Rep: Reputation: 15
Post 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.
 
Old 04-03-2010, 02:22 AM   #7
forusword
Member
 
Registered: Apr 2010
Location: USA
Distribution: OpenSUSE
Posts: 70

Rep: Reputation: 15
oh you gotta add a www. before that.
 
  


Reply

Tags
compiling, dsl, lfs, moving


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentOS System Requirements Question dsschanze Linux - Enterprise 8 08-10-2008 08:20 PM
Noob question about Mandrake 10.1 system requirements... Eerath Mandriva 17 06-15-2006 04:54 PM
Question relating to Scrot shazam75 Linux - Software 4 04-13-2006 04:12 AM
kernel build requirements - do I need them, where to get them amarillion Fedora 0 07-24-2004 04:46 PM
quick question relating boot cmack Arch 3 08-23-2003 03:30 PM


All times are GMT -5. The time now is 12:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration