Resizing Ubuntu partition

Discussion in 'Computer Software and Operating Systems' started by ThatDudeWithTheFood, May 23, 2011.

May 23, 2011
  1. ThatDudeWithTheFood
    OP

    Member ThatDudeWithTheFood TRIANGLEZ

    Joined:
    Mar 9, 2009
    Messages:
    2,198
    Location:
    Illuminati
    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.
     
  2. FireEmblemGuy

    Member FireEmblemGuy Finally hit 1000 posts

    Joined:
    Jul 6, 2007
    Messages:
    2,274
    Location:
    Michigan, USA
    Country:
    United States
    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.
     
  3. ThatDudeWithTheFood
    OP

    Member ThatDudeWithTheFood TRIANGLEZ

    Joined:
    Mar 9, 2009
    Messages:
    2,198
    Location:
    Illuminati
    Country:
    United States
    Thanks will try and post again after.
     
  4. ThatDudeWithTheFood
    OP

    Member ThatDudeWithTheFood TRIANGLEZ

    Joined:
    Mar 9, 2009
    Messages:
    2,198
    Location:
    Illuminati
    Country:
    United States
    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.
     

Share This Page