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.
|
 |
10-27-2002, 05:32 PM
|
#1
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Rep:
|
I've got just over 1GB spare. Is that really enough?
I keep running out of space compiling glibc!
When I read that guidance saying "you should have at least 1 GB free", I thought "1GB. OK, I've got that spare .. " and partitined the system appropriately.
Of course I'm copying everything into the partition as I need it - but I'm still running out of space. I've run strip on the binaries, which may help - I'm trying again now, but does anyone have any other suggestions?
I know changing the optimisation on glibc might not be such a great idea.
Cheers.
Bert
|
|
|
10-27-2002, 06:52 PM
|
#2
|
Member
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538
Rep:
|
Are you on chapter 6? you can try moving your /static directory to a different partition, and then mounting it to $LFS/static
I think that there is a optimazition flag that will do it's thing, as long as it doesn't make the binary larger. I think it's "march=0s" but I don't know for sure... maybe something to look into though.
well, that's all I can think of... good luck
|
|
|
10-28-2002, 09:42 AM
|
#3
|
LFS Maintainer
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372
Rep:
|
I'm guessing you are not removing the source directories after you have installed a package from chapter 5, right? For example you'd still have the bash-2.05a, gcc-* and other directories from chapter 5 around. They take up hundreds of megabytes of space and are a total waste of diskspace: you can't use those source tree again anyways.
Chapter 2 tells you to remove source directories as soon as you have used them to install something.
If you do that, then 1 GB is enough space to build LFS with.
However, for a full fledged Linux system you might want more than a mere 1 GB. After you finish installing LFS you probably want to install more software. You need to have room for those packages too.
|
|
|
10-28-2002, 06:51 PM
|
#4
|
Member
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538
Rep:
|
I was thinking about this.... can't you just have your $LFS directory on one of your other partitions (hopefully with more space), and then just copy it over when you're done?
|
|
|
10-29-2002, 04:39 AM
|
#5
|
Senior Member
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004
Original Poster
Rep:
|
Thanks for your help. I Parted the partition to 2 GB. Just to be safe.
Cheers
Bert
|
|
|
All times are GMT -5. The time now is 06:29 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
|
|