Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
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
    
possible duplicate of Is it possible to extend the disk space available to a wubi install? –  belacqua Oct 30 '12 at 20:57
    
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 at 10:25
add comment

2 Answers 2

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.

share|improve this answer
    
did the trick .. thanks –  Rania-Boy Feb 15 at 15:52
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

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.