LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-08-2005, 07:31 PM   #1
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Rep: Reputation: 16
Trying to recover HDD space after new kernel compilation


So I compiled my first kernel last night and it seems to be working. However I have noticed that now I have about 1.9Gb less free harddisk space.

I figured this would be in the source files and compiled objects used/made during the compilation and indeed they are taking up about 1.2Gb.

Where is the other ~700Mb going? Is that the size of an installed, compiled kernel?? If so, where can I find these files? If i can i would like to clean out some of the older kernel options so free up some space.

Thanks
 
Old 01-08-2005, 07:49 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
Some will be under a newly created modules directory under /lib/modules/kernel version name.

Brian1
" Google the Linux way @ http://www.google.com/linux "
 
Old 01-08-2005, 07:56 PM   #3
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Original Poster
Rep: Reputation: 16
Yeh I figured it would all be scattered around the disk (both a boon and a bane for linux in comparison to windows).

Basically I want to scrub my disk clean of an old boot/kernel option. In what places must I look to find files associated with a kernel 2.6.x for example.

After that i plan on removing the GRUB loader entry.
 
Old 01-08-2005, 11:09 PM   #4
trashmatic
LQ Newbie
 
Registered: Jan 2005
Location: USA
Distribution: Gentoo
Posts: 3

Rep: Reputation: 0
Those figures seem terribly large. Are you sure you need all (or even most) of the modules you are compiling? For reference, my source directories after compilation weigh in at about 230 megabytes, and i wouldn't consider them "minimal" configurations -- they just match the hardware I am using. Don't worry about needing some oddball driver in the future. If you keep your source dir around, you can always build and install the module in a few minutes, without even a reboot.

Also, if you want help in tracking disk usage, I recommend an excellent graphical utility for KDE called Filelight. Tell it to scan a directory, and it will recurse the subdirectories and give you an attractive looking radial chart that you can zoom in and out on to quickly find exactly which folders are causing the bloat. It's so nice for what it does that it's one of the few KDE programs I use on Gnome.
 
Old 01-08-2005, 11:42 PM   #5
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Original Poster
Rep: Reputation: 16
Thanks for that program trashmatic, I will look into it.

Yeh, it was my first kernel compile and i did get rid of a bunch of stuff but ultimately i just wanted to get a kernel compiled to try out software suspend. I will probably recompile the kernel again in the future and dump a bunch of stuff.

Still wondering where all the kernel files are stored once installed.
 
Old 01-09-2005, 05:00 PM   #6
adriaanbw
Member
 
Registered: May 2003
Location: Brisbane, Australia
Distribution: Fedora Core 4 with XFCE
Posts: 128

Original Poster
Rep: Reputation: 16
bump
 
Old 08-21-2005, 12:44 PM   #7
Brrro
Newbie
 
Registered: Aug 2005
Posts: 4

Rep: Reputation: 0
Hi,

You can try using Active@Undelete to recover your data. It really supports many special and effective recover algorithms and supports many file systems. Visit (URL deleted) to get more information and download it.

Last edited by mcleodnine; 10-11-2005 at 07:32 PM.
 
Old 10-11-2005, 07:06 PM   #8
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Brrro stop spamming your Windows junkware here: http://www.linuxquestions.org/questi...hreadid=278819
 
  


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
recover data from formatted hdd sebastiano Linux - General 5 03-27-2006 08:40 AM
X won't come up. No space on HDD inon^ Fedora 2 07-30-2005 04:29 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 03:58 PM
Wine compilation eating my whole free space ivanatora Linux - General 5 08-03-2004 07:26 AM
Where does all that hdd space really go? durden2.0 Linux - General 4 07-02-2003 02:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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