LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-27-2002, 05:32 PM   #1
Bert
Senior Member
 
Registered: Jul 2001
Location: 406292E 290755N
Distribution: GNU/Linux Slackware 8.1, Redhat 8.0, LFS 4.0
Posts: 1,004

Rep: Reputation: 46
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
 
Old 10-27-2002, 06:52 PM   #2
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
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
 
Old 10-28-2002, 09:42 AM   #3
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
Old 10-28-2002, 06:51 PM   #4
adam_boz
Member
 
Registered: Jul 2002
Location: Santa Cruz, CA
Distribution: lfs
Posts: 538

Rep: Reputation: 30
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?
 
Old 10-29-2002, 04:39 AM   #5
Bert
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: Reputation: 46
Thanks for your help. I Parted the partition to 2 GB. Just to be safe.

Cheers
Bert
 
  


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
What to do with spare 10GB? mikieboy Linux - Software 3 03-11-2005 03:30 PM
Anyone got a spare initrd-2.4.20-8 jamie_barrow Linux - Software 4 01-27-2004 11:45 AM
What to do with a spare HD? KungFuHamster General 11 12-27-2003 12:47 PM
What can I do with a spare box? downinthemine Linux - Networking 6 12-06-2003 10:46 AM
A spare comp, what should i do with it Goatdemon General 12 08-11-2002 01:13 AM

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

All times are GMT -5. The time now is 11:44 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