I have windows7 running on my PC which has only one partition(C:). I have installed ubuntu to make it a dual boot. After i installed few applications,i get and error saying no enough free space left. Can someone help me in finding out how to increase the memory without re-installing/ losing the data. Thanks in advance.

  • 1
    I think you meant to say that you have installed it using wubi, because as you have said you have only one partition, and hence it is not possible to have dual boot. For increasing size under wubi, see this question: askubuntu.com/q/45158/58990 – ignite Oct 30 '12 at 10:20
  • Maybe you can use Gparted partition edition manager.. or you can login in to windows and shrink the volume in windows partition and add it to unallocated space. – Nandhu Mar 17 '14 at 10:25

First download the attached file wubi-resize-1.6.tar.gz to your Downloads directory, right-click and choose "Extract here". The rest of the resize is run from the Terminal (press Ctrl+Alt+T to open).

cd ~/Downloads/wubi-resize-1.6

bash wubi-resize.sh --help

sudo bash wubi-resize.sh <your desired space in GB>

This will resize wubi as per you want.

| improve this answer | |

In case it tells you that you cannot increase the size more than 32 GB:

$ sudo bash wubi-resize_1.5b.sh 80
wubi-resize_1.5b.sh: The new disk cannot exceed 32 GB unless the
wubi-resize_1.5b.sh: --max-override option is used (not recommended).

Feel free to run it with --max-override option. I increased my root disk file to 100GB from 30GB. It worked perfectly. wubi-resize makes a new root disk (new.dsk) copies all the files in it from current root disk to it and then asks you to go to windows and rename root.dsk to OLDroot.dsk and new.dsk to root.dsk and restart. This way your old root disk remains saved until you are satisfied that new is working fine and you can delete the old one then. This process does take long though, I ran sudo bash wubi-resize_1.5b.sh --max-override 100 overnight and it was done when I woke up in the morning, so don't know the exact time.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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