I'm trying to resize a partition (using GParted) so that the first partition (in yellow) will fill the empty space (in gray). Using GParted, is it possible to resize a partition in order to fill all the unallocated space on the hard disk? I haven't found an option for this under "resize/move" in GParted.

enter image description here


As far as I know, the only option is to remove the linux-swap partition (I think - but I can't check it - that you could move it to the end), then resize the partition (and create the swap partition again if you removed it).

  • 1
    A relevant question on Askubuntu: askubuntu.com/questions/143513/… – Anderson Green Nov 15 '12 at 2:09
  • Is it possible to move a partition (instead of resizing it) using the resize/move option? I'd like to move the swap partition instead of deleting it (if it's possible to do that.) – Anderson Green Nov 15 '12 at 2:13
  • I don't know (am not on my machine so I can't test much). – Renan Nov 15 '12 at 2:13
  • In the GParted manual, I found instructions for moving a partition: gparted.sourceforge.net/… However, this can cause the operating system to not boot correctly, in some cases. – Anderson Green Nov 15 '12 at 2:16
  • Also, how can you create a new swap partition using GParted? – Anderson Green Nov 15 '12 at 2:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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