I have recently seen I am running out of space on my MX Linux partition. On this 1 TB disk I have
P1 EFI-SYSTEM 256 MiB
P2 MX Linux 311.53 GiB
P3 EFI-SYSTEM2 512 MiB (this is the larger EFI needed for Garuda OS)
P4 Unused 150.41 GiB
P5 Garuda OS 151.22 GiB
P6 Unused (ext4) 280.84 GiB
I iwanted to see if I could make a new partition at the end of the disk (512 MiB) and move/copy the EFI 2 parition to it as it is in between my MX install and the unused 150 GB partition I want to append to MX.
What is the best way in GParted to do this?
Thanks,
Sheila
UPDATE:
So I used Gparted to copy the Garuda EFI partition to a new partition at the end of the disk. Then I deleted that EFI partition for Garuda. Of course, now I need to point Garuda to that new EFI in order to boot into it.
Previously, Garuda controlled grub. But I rebooted and now MX-Linux boots from its original EFI (first partition on disk). I was also able to grow the MX partition to 526 GB so that I now have plenty of space there.
So I guess I need to know the commands for changing the EFI partition # (UUID?) in order to make Garuda boot again?
I have looked at a few forums, but most of them are either discussing Windows dual boot (and how both OS share an EFI) which is not my case or they are talking about having to chroot and mount the EFI from a live session.
I was thinking there is surely a boot file that points to the EFI and that I can edit that file to point to the new location.
Thanks,
Sheila