LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 12-28-2004, 08:22 PM   #16
rvijay
Member
 
Registered: Aug 2003
Location: Quebec, Canada
Distribution: Debian HD install of Knoppix 5.0.1
Posts: 921

Original Poster
Blog Entries: 24

Rep: Reputation: 64

Here is something that will help me increase my confidnce. I have already added some programs/packages to my existing Linux system. This probably is similar to making BLFS. I probably need to expand on this a little bit more.

Vijay
 
Old 12-31-2004, 11:56 AM   #17
Yerp
Member
 
Registered: Jun 2004
Distribution: Turtle Kevux 0.8.8
Posts: 129

Rep: Reputation: 15
LFS 5.1.1 takes me 5 hours on my Mobile Pentium 4 1.6ghz (512RAM), 4 hours on my AMD athlon-xp 1600 1.4ghz (512RAM), and 6 hours on my friends Pentium 4 2.0ghz (256RAM).
(Double the time when using BLFS in addition to LFS)

Notice how the one with the lower RAM is much slower than the slower systems with more RAM.

How fast you install depends more on your ram than your architecture. All the RAM i tested was 233 bus speeds. Anything slower will make a significant impact.

-----------------

As far as burning an image. I prefer to tar.bz2 it. That way all of the file permissions is saved and it is compressed so I can put a lot more data into the cd-rom. (There probably is a way though for mkisofs to preserve file permissions, but my concern is when mounting, but once again I imagine there is a way around that too...being Linux and all..)

as root in / I ran:
Code:
tar -c bin dev etc home lib root sbin usr var > tar.tar && bzip2 -c tar.tar > lfs-pentium4.tar.bz2 && rm tar.tar
*tar doesn't like grabbing /proc, but /proc doesn't matter as it's mounted & managed by the kernel (as far as LFS-5.1.1) /tmp is pointless to grab, and I don't use /opt, add /boot if you compiled a generic kernel image..

Doing this also allows you to fit 2+gigs into a cd-rom. Thanks to Bzip Compression. (Just LFS alone a 570+ meg space taker compresses to 110+ megs)

------------------
To use mkisofs and make it Windows Friendly (Joliet), I use something like:
Code:
mkdir /lfs-pentium4 && mv /lfs-pentium4.tar.bz2 /lfs-pentium4 && \
mkisofs -iso-level 3 -J -l -o lfs-pentium4.iso /lfs-pentium4
Anything can be added to the /lfs-pentium4 directory, which represents the root of the cd/iso image.

For cdrecord (dev=0,0,0 is the tricky part...its system dependant):
Code:
cdrecord -eject -v dev=0,0,0 lfs-pentium4.iso
Once I've done that I can format a new partion on my hard drive, untar/unbzip the cd into the blank harddrive.

* This method will not work on a system that doesn't already have Linux on it.
- of course if you have a bootable linux, this can work! and it is better to tar/bzip2 the file if not running on that system, that way you can use * and not worry about proc..

Last edited by Yerp; 01-14-2005 at 05:20 PM.
 
  


Reply



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
hotplug-ng-002 + LFS bootscripts 3.2.2 = a complete mess :( ParticleHunter Linux From Scratch 1 07-21-2005 09:27 PM
Looking for a complete Linux System AndeAnderson Linux - General 5 07-21-2005 02:21 PM
System lags and eats a lot of swap space over a few days Kremit Linux - General 4 06-27-2005 12:30 PM
System Clock sets itself to midnight 5 days ahead everytime I reboot. Valhalla Linux - Software 6 04-18-2005 08:24 AM
please help - complete system loss caraphor Linux - Newbie 4 02-02-2004 03:00 PM

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

All times are GMT -5. The time now is 02:26 PM.

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