VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: Out of space on /dev/hda1  (Read 1380 times)

digiSal

  • Member
  • *
  • Posts: 4
Out of space on /dev/hda1
« on: December 25, 2008, 05:35:53 pm »

Greetings all.

I am using and old laptop and all of a sudden I am out of space on hda1. I can still get into X by typing startx but otherwsise she wont boot up.

I removed programs i installed but still out of space.

What can I do to free up space on hda1.

I am using 5.9 Light RC2 built on 2008-06-27

The output of df looks like this

Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda1              2018504   2018504         0 100% /
/dev/hda3               531764     35948    468804   8% /home
tmpfs                    28192         0     28192   0% /dev/shm


THANKS!
Logged

bigpaws

  • Vectorian
  • ****
  • Posts: 1872
Re: Out of space on /dev/hda1
« Reply #1 on: December 25, 2008, 06:44:28 pm »

All startx does is to load an X server, the system can boot without
using a X server (GUI).

You have a 2.5 Gig hard drive according to the output which is
small.

How did you remove the programs?

You maybe able to pull off an install if you eliminate some things on
the installation.

Bigpaws
Logged

Witek Mozga

  • Vectorite
  • ***
  • Posts: 113
    • Witek Mozga`s Webpages
Re: Out of space on /dev/hda1
« Reply #2 on: December 26, 2008, 11:08:09 am »

What can I do to free up space on hda1.

analyze your disc usage. You can watch how much space is used in a particular directory (/tmp in my example) with

Code: [Select]
du -h /tmp
you can also find files in a given directory that exceed given size (over 15MB in my example)

Code: [Select]
find /usr/ -size +15M
When you know what has eaten your disk you can remove these files.

I alwas clean /tmp between sessions, you can also try to clean /var/tmp.
You need to know what is going on in your system in order to prevent such situations.

adamlau

  • Member
  • *
  • Posts: 15
Re: Out of space on /dev/hda1
« Reply #3 on: January 03, 2009, 02:33:09 pm »

Clonezilla to image your partitions to another device, Gparted Live CD/USB to shrink (unless your fs is XFS) and expand accordingly.
Logged