This page is about how to move partitions on Windows/Linux using Gparted and its free alternatives when gparted cannot move partitions.
Moving partitions using Gparted? Why not using another easier free tool IM-Magic Partition Resizer for Windows that can help easily mange disk partitions even when Gparted failed to move partitions.
Here is a comparsion of what Gparted can do and cannot.
Tutorial: how to move partition using IM-Magic Partition Resizer on Windows 11/10/7
Prepartion: Download the free tool on your Windows computer, install and open it.
Note: If you want to move the boot c drive on Windows using Partition Resizer, you can directly right click C drive and get it moved when there is free space before/after the c drive.
Gparted will only work under certain conditions no matter on Windows or Linux computers. Here are some of them.
#1, Gparted can only move partition in bootable media, ie before booting the pc
Gparted Live USB/CD is needed that you need to run Gparted iso from bootable media and then use Gparted there before the PC boots into regular OS mode.
Step1: Burn Gparted ISO to USB, the essential step to get the work started.
Why Gparted Live USB is required?
Burning GParted ISO to a USB drive is essential for several reasons.
Step2: Move partition using Gparted
This following video shows how to move a partition using Gparted.
When there is already some unallocated space on the disk, you may right click the in-between partition, and then type its starting/ending sector bytes to be 0 to get the location changed and then the whole partition will be moved.
#2, Unallocated space required
Moving partitions is based on unallocated space on the disk. There are three ways to add/create unallocated spaces.
Note: The disk partitions order cannot be changed. The moving partition only happens between the location of the target partition and the unallocated space. For instance:
Disk with partition C, D, E cannot be moved/changed to partition C, E, D (The drive letter can only be changed when you delete/rename a partition, create a new partition).
Moving the root partition in Linux can be a complex and potentially risky operation, so it should be done with caution and proper backups. Here are the general steps to move the root partition using GParted:
Important: Before proceeding, make sure you have a backup of all your important data. Mistakes during partition operations can lead to data loss.
Boot from Live CD/USB: You cannot move the root partition while it's mounted. You'll need to boot from a live CD or USB containing GParted or another partition management tool.
Open GParted: Once booted into the live environment, open GParted. If it's not installed by default, you can usually install it using package manager commands like sudo apt install gparted on Debian/Ubuntu-based systems or sudo yum install gparted on Red Hat-based systems.
Unmount the Root Partition: Right-click on your root partition (usually mounted at /) and select "Unmount." This will make the partition unmounted and ready for manipulation.
Resize the Root Partition: Now that the root partition is unmounted, you can resize it. Right-click on the root partition and select "Resize/Move."
Drag the Partition: In the Resize/Move dialog, you can drag the partition to its new location within the available space on the disk. Make sure you leave enough space before and after the root partition for any necessary boot or system files.
Apply the Changes: Once you're satisfied with the new partition layout, click the "Resize/Move" button in the dialog. GParted will apply the changes, which may take some time depending on the size of the partition and the speed of your storage.
Update the Bootloader: If your bootloader (GRUB, for example) uses the partition's UUID or label to locate the root filesystem, you may need to update its configuration to reflect the new partition location. You can usually do this using commands like update-grub on Debian/Ubuntu or grub2-mkconfig -o /boot/grub2/grub.cfg on Red Hat-based systems.
Reboot: After successfully moving the root partition and updating the bootloader configuration, you can reboot your system. Ensure that it boots correctly and that all your data is accessible.
Warning: Moving the root partition is a risky operation, and there is a chance of data loss or system boot failure if not done correctly. Always have a backup, and only proceed if you're confident in your understanding of the process.