Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Disk Space on Ubuntu install

Disk Space on Ubuntu install

Disk Space on Ubuntu install

I just installed the latest version of Ubuntu on a 10 gig HD and I am left with only 2.2 gig of free space after install.
I had Ubuntu format and partition the drive and there is no other OS or software on the drive. It is a dual boot system but XP is on another HD. What can I do to recover some of the disk space? I have been in Syaptic but other than a dialer program, nothing stands out as far as extraneous software. I have 2 kernels loaded and would like to delete the oldest one but don't know how to find it in Synaptic. Any help would be appreciated.

RE: Disk Space on Ubuntu install

I don't think Your Ubuntu install has consumed 7.8 gig of HD space.
Mine is now at approx 5 gig, and I'v added a lot of apps and other stuff to it.
You can check your disk space usage from the commandline with:


df -h | egrep '^(/dev|File)'
Copy and paste the above into a terminal.
this should filter out virtual filesystems, and only show you the real
partitions you have, how big they are, and how much space is used on them.

You find the terminal program at: Menu => Accessories => Terminal

My guess is that the Ubuntu installer formated 7.8 gigs for the system,
about half of it should still be available for you to use,
and the remainding 2.2 gig is swap area for Ubuntu.
Linux uses a separate swap partition, and not just a swap-file like Windows.

As for the extra kernel, dont botter with it. It only 50 megs (approx), so theres
not much to gain by removing it.

RE: Disk Space on Ubuntu install

You might want to look into the options in apt-get - this is the Debian package manager that Ubuntu uses.  Generally, all of the installation package files are stored even after the programs are installed.  apt-get clean will delete those package files. (If you need to re-install, you would just have to download that package again.)

I think you can run this with the --dry-run flag to get a report on what would be deleted without actually doing anything.  

Check man apt-get for a lot more info.  Synaptic is a graphical interface for the aptitude/apt-get toolset.  


Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close