Resizing Ubuntu partition

ThatDudeWithTheFood

TRIANGLEZ
Member
Joined
Mar 9, 2009
Messages
2,198
Solutions
2
Reaction score
292
Trophies
1
Location
Illuminati
XP
546
Country
United States
I want to increase the size of my Ubuntu partition.

I had a 250 GB windows partition which I deleted to make some unallocated space.(I wasn't using it and I moved all my files I needed to the Ubuntu partition.)

Then I went into GParted and moved my swap partition over all the way to the right so i could increase the size of my Ubuntu partition then I resized the partition and hit apply.

Then I got an error with no message it just said unknown.

When I looked at the logs it said at the very last step.

"Cant have overlapping partitions"
and also something about constraints.

Also I forgot to mention there were 2 other bits of unallocated space both were around 2 GB.

My partition table looks like this

Macintosh HD|Unallocated Space|Ubuntu|Unallocated Space|Swap|Unallocated space
140 GB 1-2gb 90 GB 1-2 GB 3GB 250 GB


Also Disk Utility on the mac side doesnt show the small unallocated space areas so I don't know about them.
 
I don't do a lot of partition resizing, but you could try this (preferably from a Live CD/USB as not to mess up any partitions in use at the time):
Delete the swap partition - this should create somewhere around 255GB of unallocated space
Create a new partition using that entire amount of space
Shrink that partition by however much swap space you want (I assume you just want the 3GB you already have)
Create a swap partition in that new amount of open space
Delete the unused ~250GB partition between Ubuntu and the swap space
Extend your Ubuntu partition using the space you just re-freed.

Sorry if that didn't make too much sense, I'm having an off day.
 
FireEmblemGuy said:
I don't do a lot of partition resizing, but you could try this (preferably from a Live CD/USB as not to mess up any partitions in use at the time):
Delete the swap partition - this should create somewhere around 255GB of unallocated space
Create a new partition using that entire amount of space
Shrink that partition by however much swap space you want (I assume you just want the 3GB you already have)
Create a swap partition in that new amount of open space
Delete the unused ~250GB partition between Ubuntu and the swap space
Extend your Ubuntu partition using the space you just re-freed.

Sorry if that didn't make too much sense, I'm having an off day.

Thanks will try and post again after.
 
Well since this was a double post Ill use this as the solution post.

What I did:

Moved swap partition
Deleted swap partition
Left those 2 small unallocated spaces alone
Grew my Ubunut partition
remade swap partition.
 

Site & Scene News

Popular threads in this forum