LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 08-20-2003, 10:19 AM   #1
DarkDrive
LQ Newbie
 
Registered: Jul 2003
Location: Albuquerque, NM
Distribution: MDK 9.1
Posts: 24

Rep: Reputation: 15
Ran out of disk space at the end of chapter 6!!


I'm near the end -- installing Util-linux, and my lfs partition is full!! How frustrating! I had reserved 2.1 gig for LFS, and I guess its not quite enough. I don't have a means to backup this partition (my other partitions are close to full). Nor do I have a CD burner, zip drive, etc.. So resizing the partition is not an option at this point.

Are there any files that I can remove? I've done a 'make clean' on all the package directories already. I'm thinking man-pages could be the first to go.

Thanks!
 
Old 08-20-2003, 12:27 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
My suggestion: keep your compressed package files and their patches. Remove all your source trees when you're done using them. If you ever need them again, you can decompress them and apply the patch(es) using an on-demand basis.

As soon as you boot into the system the first time, remove the static directory when you feel the system is stable. Then also consider stripping the debug information from your executables (mentioned a little later in the book).

However, this problem won't go away just because you finish the system. You'll still need to acquire more space if you plan to install anything later.
 
Old 08-21-2003, 10:29 AM   #3
DarkDrive
LQ Newbie
 
Registered: Jul 2003
Location: Albuquerque, NM
Distribution: MDK 9.1
Posts: 24

Original Poster
Rep: Reputation: 15
When you say "remove source trees" do you mean all the decompressed pacakges (including sub directories)? Does the install process put all the executables, libraries, etc into /bin, /lib, etc. so that its safe to delete souce trees?

BTW, I was able to free up just enough space to squeak by the rest of the chapter, and when I removed the bebugging info and /static, I am down to 60% used!

Thanks for the suggestion.
 
Old 08-21-2003, 11:13 AM   #4
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 374Reputation: 374Reputation: 374Reputation: 374
Yeah, after you issue "make install" command, all the needed files are copied over to your system directories. So you can remove the directories created when you un-tarred the package.
 
Old 08-22-2003, 04:15 AM   #5
sud_crow
Member
 
Registered: Aug 2003
Distribution: Arch Linux
Posts: 41

Rep: Reputation: 15
There is a issue with that actually...
When you finish with installing the system and you begin with the beyond lfs, you will need that space so its recomended to delete the /static tree, as these are the sources and are not needed any more.

But, if you actually plan on upgrade/update something, you will have to uninstall the previous version (always a good idea, although you can install over the old one) prior to install the new one, this is made from the source using "make uninstall", also, not every app has the uninstall option.

When i was told of this i had already deleted the sources so i couldnt uninstall, but i kept the tarballs in a directory in another partition, where i have the lfs and blfs directories, and i install/uninstall decompressing the sources over there and when im finish with them i delete them again. its always a food idea to keep secure all the tarballs...

just a though
 
  


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
Ran out of disk space during upgrade - broke system DyeKid Slackware 7 08-22-2005 08:12 PM
LFS 6-1: Glibc Test Suite Fails at end with 2 errors in Chapter 6 TGWDNGHN Linux From Scratch 1 07-26-2005 12:23 PM
bad compile -ran out of disk space juan18 Linux - Software 2 01-30-2005 11:32 AM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Attempt to build custom kernal through rpm but ran out of disk space.... krazibon3 Linux - Newbie 0 09-04-2004 09:17 PM

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

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