Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question
    
GParted won't let me expand the first partition (most likely because the linux-swap partition (in red) is in front of it.) –  Anderson Green Nov 15 '12 at 2:05
    
I think I've found a comprehensive walkthrough for this problem: blog.mwpreston.net/2012/06/22/… –  Anderson Green Nov 15 '12 at 2:26

1 Answer 1

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).

share|improve this answer
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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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