I have a fully functional Mageia 7 install on a 512GB NVMe SSD.
I can boot to another M7 installed on a second SSD so the 512GB NVMe isn't mounted. I can work on it from there.
I want a Mageia 7 install and Mageia Cauldron on the same SSD (256GB of space each).
Today, I used GParted to copy partitions from a 256GB NVMe to the 512GB NVMe in a USB enclosure.
I copied and pasted the partitions, then booted to a M7 DVD and reinstalled the bootloader on the 512GB. It worked and I'm familiar with this process.
Now I have a 512GB NVMe with M7 that's only half full.
My partitions are:
|_300MB EFI_| |__70GB /__| |__4GB swap__| |___165GB /home___| |____________238GB Free Space_____________|
I want to clone / and /home onto the same SSD so that I have two bootable M7 installs.
Then I'm going to change one of them to Cauldron repos.
I'm confused about what to do with duplicate UUID's on the same drive. I know I can generate new random UUIDs with GParted but I don't know what to do beyond that. How do I fix the bootloader so both will boot? I can figure out which I'm booted to once I'm in there but I think I need new UUIDs and to fix the bootloader.
Also, can the swap be shared between them? I assume on a fresh boot swap doesn't retain anything that's needed, but is only used on suspend etc.
I think I can use the EFI to boot, and share the swap, and clone only the / and /home.
Is that right or do I need to clone the swap too?