I'm trying to resize a /boot partition use gparted from an Ubuntu LiveCD. The problem is that I have a linux swap and extended partition right adjacent to the /boot partition. The unallocated space is after these partitions. The screenshot attached depicts better what I'm trying to say.

By the looks of it, I can't seem to rezise the /boot partition since there are those 2 small partitions in the middle. Can I resize my /boot partition to include the unallocated space in it?

P.S. I'm not extremely knowledgeable about partitions so sry if it's a newbie question. I have working knowledge of Linux though.


enter image description here

closed as off topic by womble, Magellan, MadHatter, Ward, MDMarra Nov 12 '12 at 16:37

Questions on Server Fault are expected to relate to server, networking, or related infrastructure administration within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here. If this question can be reworded to fit the rules in the help center, please edit the question.


You can remove a swap partition, move it to the end of free place and then resize partition sda1 to fill free space on the disk...

Then you will have to use a resize2fs utility to resize filesystem to the whole partition.

  • Ok managed. Didn't understand the scope of resize2fs though. Why is it used? – Krt_Malta Aug 22 '12 at 10:19
  • Resizing the partition only makes the block device bigger. resize2fs makes the changes needed to the internal data of the filesystem so that the new space that has magically appeared can be used. – b0fh Aug 22 '12 at 14:58

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