LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   File system root low disk space (https://www.linuxquestions.org/questions/ubuntu-63/file-system-root-low-disk-space-769895/)

prickee 11-18-2009 04:02 AM

File system root low disk space
 
2 Attachment(s)
I just did a dual boot install of win 7 and ubuntu 9.10. My ubuntu install went off without a hitch until I started installing my normal programs. I ran into this error. During install here were my partitions. / 10G /boot 64M and Swap 6G /home for rest of space. When I hit examine it's shown on 2nd screen shot. All help is appreciated. Btw I'm not really liking the fact that I lost my custom login/logout sound ability and I cant switch my login screen to another theme....not liking 9.10 right now.....

eth1 11-18-2009 04:29 AM

The best way to determine file/directory file system hogs is using a command such as this,

Quote:

find / -size +1000000000c
This will output all files/folders which have a size of 1G+

prickee 11-18-2009 04:40 AM

Ok so can I increase my / partition. I mean I have plenty of space on this partition I just figured 10G was plenty.

prickee 11-18-2009 05:23 AM

1 Attachment(s)
Here is screenshot of gparted. I keep thinking to myself did I partition everything the right way. I got this partition idea from a book. Any suggestion on partitioning....

tommcd 11-19-2009 05:04 AM

Prickee,
I have been following your thread here:
http://ubuntuforums.org/showthread.php?t=1330028
As I said in my last post in that thread, your /usr directory is 7GB. This is likely the problem, since your root partition is only 10GB. Do you have any big programs like 3D games installed on your system? If so, then you may need to remove some programs to free up some space. Either that or you could use GParted on the Ubuntu live CD to shrink one of your other partitions and grow Ubuntu's root partition into the unallocated space after you free up some space. You could shrink the Windows7 partition. You also have a lot of free space on /home. The /boot directory is in the way though. I'm not sure if you could grow root into that partition with /boot in between them.
Post the output of these 2 commands:
Code:

sudo du -csh /usr/*
sudo du -csh /usr/local/*

Also, as I said in the Ubuntu forums thread, you can free up a bit of space in /var with:
Code:

sudo apt-get autoclean
or to free up more space:
Code:

sudo apt-get clean

prickee 11-19-2009 02:48 PM

I posted result on other thread http://ubuntuforums.org/showthread.php?t=1330028

So if I wanted to increase / which I would rather do I would do this by booting to live CD?? and running GParted?

tommcd 11-20-2009 04:06 AM

Quote:

Originally Posted by prickee (Post 3763080)
So if I wanted to increase / which I would rather do I would do this by booting to live CD?? and running GParted?

The GParted on the Ubuntu live CD should be able to do this. You could also use a GParted or Parted Magic live CD to do this.
You first need to shrink one of the adjacent partitions, then grow the root partition into the newly created free space. Your /home partition would be a good choice to shrink. Your boot partition is in the way though, so you may not be able to do that. You could shrink the Windows7 partition though, and grow Ubuntu's root into that space. You should probably make root at least 15GB. If you decide to add a lot more stuff to your system then make root 20GB.
BTW, you don't really need a separate boot partition. I have never used one and I have WindowsXP, Ubuntu, and Slackware on my system.


All times are GMT -5. The time now is 02:12 PM.