3

I have a laptop with a dual boot Windows/Ubuntu. I'd like to move and resize the partitions, as the default installation put Ubuntu on a 12GB partition and I'd like to use more. I have booted my system from a USB stick, started G-parted, but the situation looks a bit complex: my Ubuntu partition is blocked by the Linux swap partition and I don't know how to move it.

enter image description here

Partition /dev/sda5 is not needed, (it's Windows D disk).

1 Answer 1

3

Here's what I would do:

  1. Backup your important data! Messing with partitions is dangerous!

  2. Delete the sda7 swap partition and sda5 data partition, and extend your main sda6 to fill all the unallocated space except 8GB at the end (which you will use for your new swap partition)

  3. Create a new swap partition in the remaining 8GB of unallocated space

  4. Follow this Q&A on Superuser to change your installation to use your new swap partition

1
  • Thanks, it worked, I had to re-install GRUB after it as it was corrupted, but after fixing this I had my partitions resized (and no loss of data).
    – toti08
    Commented Jan 25, 2018 at 10:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .