Skip Navigation
Moving install to different partition

Okay, so I want to do something stupid and I’d like the input of smarter people to make sure I don’t screw it up. This is what I’ve got:

!

p1: EFI partition, p2: Linux install, p3: /home partition, p4: other Linux install, p5: another Linux install. Long story.

I use the third install (on p5) exclusively now. I want to clean up the mess seen above by moving it to p2 (currently occupied by the first install), and removing p4 and p5. What I thought I’d do (on a live USB) is:

  1. Overwrite p2 with the data of p5. (probably with rsync?)
  2. Edit fstab on p2 to change the UUID of the root partition to the new one.
  3. Try to boot from p2
  4. If it works, remove p4 and p5

Would that work the way I want it to? Anything obvious I’m missing?

3
InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)HE
Herbstzeitlose @feddit.de
Posts 1
Comments 108