What I'm doing
I have a dual boot setup with Ubuntu & Windows. I want to shrink the Ubuntu partition in order to expand the Windows partition. I'm using GParted from a USB (formatted with Rufus).
My problem
I can resize and move the Ubuntu partition (/dev/sda5
), but I can't expand the Windows partition into the unallocated space (/dev/sda2
). I can only make it smaller.
My question
Q. How can I expand the Windows partition into the unallocated space?
Further background
Note: the Ubuntu partition used to be shifted to the left, so that it took up what is currently the grey unallocated
block, and the unallocated
block was on the right side. Does this mean that I can't extent the Windows partition into the unallocated space because it is not yet unallocated? Should I perform the shrinking and moving of the Ubuntu partition first and then running GParted again?
From what I understand, the key symbols shouldn't be an issue because I am running this operation from a USB.
Setup:
The Ubuntu partition is Ubuntu 16.4.7
The Windows partition is Windows 10
The boot USB was made with Rufus 3.7
Thank you!
swapoff
, and then tried to shrink/dev/sda3
as you suggested, but I was not able to change its size in the Resize/Move window.