View Full Version : [ubuntu] Cannot expand Ubuntu partition with GParted

October 10th, 2011, 02:45 AM
I discovered after installing Ubuntu that Windows 7 allocated it a very small portion of the harddrive. I was able to use GParted to shrink the Windows partition, however, I am unable to expand the Ubuntu partition. Below is a screenshot of how my harddrive is currently partitioned via GParted:
When I shrank the Windows partition (dev/sda2) it left all the unallocated space in the middle. I am able to move/resize dev/sda5 (which is the one immediately to the right of the unallocated space and is shared drive accessible from both Windows and Ubuntu that already was set up when I got the laptop, a Lenovo G470) but when I then try to resize dev/sda4 (where Ubuntu is installed) it will not let me enlarge or move it, only make it smaller.
dev/sda4 was previously flagged as "diag" but I changed that thinking it might allow expansion, which it did not (both via the boot CD and the version running in Ubuntu).

October 10th, 2011, 06:08 PM
You do not have a partition for Ubuntu. It looks like a wubi install.


Resize wubi - bcbc

Agostino: Wubi actually wasn’t designed to do long-term installations. The main aim was really to let people try out Ubuntu with confidence. Normally, users that start with Wubi tend to upgrade to a full installation to a dedicated partition at the next release cycle.

HOWTO: migrate wubi install to partition - bcbc

October 16th, 2011, 06:54 PM
I did repart my g470 and only kept the 1st and last part
resized win7 one to 64 GB and OKR even worked...