LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Trying to recover HDD space after new kernel compilation (https://www.linuxquestions.org/questions/linux-software-2/trying-to-recover-hdd-space-after-new-kernel-compilation-275545/)

adriaanbw 01-08-2005 07:31 PM

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

Brian1 01-08-2005 07:49 PM

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 "

adriaanbw 01-08-2005 07:56 PM

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.

trashmatic 01-08-2005 11:09 PM

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.

adriaanbw 01-08-2005 11:42 PM

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.

adriaanbw 01-09-2005 05:00 PM

bump

Brrro 08-21-2005 12:44 PM

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.

tkedwards 10-11-2005 07:06 PM

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


All times are GMT -5. The time now is 11:06 AM.