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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
04-08-2003, 11:01 AM
|
#1
|
Member
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Rep:
|
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.
|
|
|
04-08-2003, 11:27 AM
|
#2
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
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.
|
|
|
04-08-2003, 11:33 AM
|
#3
|
Member
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591
Rep:
|
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.
|
|
|
04-08-2003, 11:49 AM
|
#4
|
Member
Registered: Mar 2003
Location: Harrisburg, PA
Distribution: Gentoo, Debian, Ubuntu, Red Hat/CentOS
Posts: 719
Original Poster
Rep:
|
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 ?
|
|
|
04-08-2003, 12:46 PM
|
#5
|
Member
Registered: Jan 2003
Location: Poland, Warsaw
Distribution: LFS, Gentoo
Posts: 591
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:33 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|