LinuxQuestions.org
Visit Jeremy's Blog.
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 04-08-2003, 11:01 AM   #1
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Rep: Reputation: 30
loadable/LFS


Hello all!!

I was reading some of these posts and I checked out LFS at the site and read a few pages of the book. Before I invest a bunch of time figuring all this out I was wondering if I could ask a simple question, that is probably in the LFS book somewhere?

Is it possible to make LFS on one machine so that it could be copied to a disc and loaded on to a bare HDD in a different machine.

I realize this would be considerably more work as you would have to integrate an installer package and a config routine, but it would be kinda cool, because you could use legacy hardware and have lean linux that would be crafted to taste.

Just wondering.
 
Old 04-08-2003, 11:27 AM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
Yes it's possible and not even that hard. You don't really need installers and such things.

Here's how you could do it:

Install LFS by the book in /mnt/lfs - you can burn /mnt/lfs to a cdrom and even make it bootable (see hints on making bootable LFS cd's at http://hints.linuxfromscratch.org) and simply copy all the files to a harddisk from that cd.
 
Old 04-08-2003, 11:33 AM   #3
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
Re: loadable/LFS

Quote:
Originally posted by BigNate
Is it possible to make LFS on one machine so that it could be copied to a disc and loaded on to a bare HDD in a different machine.
Yes, it is possible. For me it is typical way to install LFS on old-CPU (f.ex. 486) machines. I am compiling all using my CPU (Athlon XP) and next use the HD in the slow machine. The last step is to make the the system bootable.
This way I am able to safe (up to 80%) time.
 
Old 04-08-2003, 11:49 AM   #4
BigNate
Member
 
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719

Original Poster
Rep: Reputation: 30
ok.

I think you are saying. Compile and setup you LFS on you main mahine set up your HDD from you old hardware formatted but blank, configured as slave and copy LFS to it ?
 
Old 04-08-2003, 12:46 PM   #5
dorian33
Member
 
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591

Rep: Reputation: 32
The easiest way is to take the drive from the old-CPU machine put into the new-CPU box, mount as let's say /mnt/lfs next compile the LFS (remember about proper --march compilere option!).
But if you wish you can do the same in directory on the original harddrive and next copy to the hd in old-CPU box.
 
  


Reply


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
LFS Book Chapter 6 - 1st step (chroot to /mnt/lfs) doens't work bauld Linux From Scratch 11 03-15-2006 12:31 AM
Loadable Kernel Modules jbrashear Debian 7 04-03-2005 05:11 PM
mbstring not loadable deweirdt Red Hat 0 06-24-2004 03:12 PM
of course I have loadable modules enabled! jmynkbht Linux - Software 0 04-26-2004 03:52 AM
loadable kernel module brajesh Linux - General 2 01-17-2003 12:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration