Since the swap partition does not contain any "permanent data", it can be deleted an recreated at the end of the disk. That already make 1.57 GB easily obtained to extend /dev/sda5. When I say "at the end of the disk", I mean it. Indeed you can also extend /dev/sda7 until the beginning of the new swap partition. Since, this is your /home partition, the bigger the better (/dev/sda5 only needs to be big enough for he system, which does not grow much once installed).

I then wonder whether it is possible to extend/dev/sda4 on the left. If so, you win 4.88 GB for /dev/sda5 and a total of 12.6 GB, which should be more than enough for the system.

If the extension of /dev/sda4 on the left is impossible, there are two possible ways to obtain a larger /dev/sda5 but I am not sure the first one is possible with XFS: 1) reduce /dev/sda7. With ext4, it takes hours (all the data on /dev/sda7 are moved by GParted) but it works. 2) create a small partition (e.g., 1 GB) in the free space (just before the new swap partition), mount it (do you know how to do that?) and copy all the data in /dev/sda7 to this new partition (I guess there is no problem doing it from nautilus). You can then remove /dev/sda7 and have all the space you want to extend /dev/sda5. You can then either resize the 1GB partition (again: if the chosen filesystem allows it) or, again create another partition in the remaining free space and copy the data...

Yes, all that is not simple but it is not easier from something else than GNU/Linux.

Reply via email to