Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed Ubuntu on an old laptop, alongside WinXP. Now I'm trying to download some updates and it says that I don't have enough free disk space - I need to free some more space on "/".

Since there's plenty of room on the machine, I suppose it means that not enough space is allocated for the Ubuntu partition itself, right? How can I solve this?

I'm a Windows guy who hasn't so much as seen a Linux desktop up until about an hour ago.


Apparently it's installed in the same partition as Windows. At least, I don't remember it asking me about space allocation during installation, and when I log into Windows I can see that the disk only has one partition. I do remember it saying something about reduced disk performance if I chose a specific option - and that's the one I chose :).

share|improve this question
Hi, Vitaly - welcome! You understand it correctly. But you'd need to give more details about how your drive is now partitioned before someone can help you out. – rozcietrzewiacz Aug 5 '11 at 13:56
Did you install in a separate partition or inside a magic file saved in the Windows partition? – Caleb Aug 5 '11 at 13:57
@Vitaly Mijiritsky: you might have to reinstall Ubuntu in it's own partition. – woohoo Aug 5 '11 at 18:38
I second Caleb's recommendation on using the GParted live CD. If you want more help here, we need to know how your disk is partitioned. The easiest way for you to tell us that is to run the command sudo fdisk -l in a terminal, and copy-paste the output. – Gilles Aug 5 '11 at 23:59
Thanks guys, I reinstalled it in a separate partition, and it solved it. More noob questions to come :) – Vitaly Mijiritsky Aug 6 '11 at 7:26
up vote 3 down vote accepted

(This answer assumes you installed in a separate partition on the same drive with your Windows partition.)

You should look into using a program like gparted to resize your partions and the file-systems inside them. Since this operation is very difficult to do from a running system, I suggest you use the GParted LiveCD (There are also LiveUSB versions on their site). This will allow you to boot up to a separate software stack without mounting any drives and edit your partition scheme and re-size the file systems.

share|improve this answer
Note that for a beginner, there are many things that can go wrong. Especially, if resizing the Windows partition is necessary. (One may not be able to boot into Windows sometimes, for example.) – rozcietrzewiacz Aug 5 '11 at 14:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.