I'm running a dual boot (Win 10 Pro, Ubuntu 20.04) system on a single NVMe harddisk. Linux contains one encrypted root partition, an encrypted boot partition and a swap partition. As the root partition was nearly full, I decided to delete the Windows Partition and use the free space for Ubuntu.
Windows was installed on partition /dev/sda3 which is 89,01 GB. I already deleted the partition. Now I want to extend the Linux root partition on /dev/sda5 which is encrypted with Luks.
The current status is shown in the following screenshots from KDE Partition Manager and Ubuntu Disk Utility.
KDE Partition Manager shows 89,01 GB of unallocated space:
https://i.sstatic.net/u0o4y.png
Ubuntu Disk Utility show 96 GB of unallocated space:
https://i.sstatic.net/ADemv.png
I don't know why the two tools show different size of unallocated space. That's the first unclear point.
I know that I only can extend a partition to the right which means I would have to shift the boot partition (/dev/sda4) and the root partition to the left (where the Windows Partition has been before). Unfortunately I didn't find the possibility to do this in GParted or KDE Partition Manager. I can't move or extend the partitions.
What I tried so far: Boot from Live Ubuntu USB Stick (because I cant modify the root partition Ubuntu is running on). Decrypted the boot partition and root partition with the Ubuntu Disk Utility. Launched KDE Partition Manager in order to move and extend the root partition. As you can see in the following screenshots I don't get the possibility to move or extend the boot or root partition (the screenshots show encrypted partitions, I tried it with encrypted and unencrypted partitions, both the same).
https://i.sstatic.net/k20Qr.png
https://i.sstatic.net/7o3DQ.png
As mentioned above I checked the possible options in KDE Partition Manager with encrypted and decrypted partitions. But I couldn't move or increase the partitions.
Does anybody know how to move the partitions to the left so the root partition can use the 89,01 GB additionally?
Thank's and best regards, Chris
dd
) to the backup drive and dump it back to the original one with the locations you desire. Just make sure the new partitions (entries) you create are no smaller than the one you are going to delete.