I installed Bookworm on a SATA SSD with the following partitions:
- (EFI system)
- /
- /home
- /data
Root is now 95% full, I don't know where the space has all gone but /usr is 16GB. I'm assuming I could probably trim some log and cache files but I will probably hit this problem again sooner or later. As there is lots of space on /data I want to non-destructively resize the root partition.
My plan is to boot to another install on another drive then use fdisk to delete all partitions, resize root to be larger, create new /home and /data partitions, run resize2fs on root. Assuming this works I can restore home and data.
My question is how to get home mounted in a way that allows me to boot into the newly resized root and login?
If before I boot the new system I format the new home and data, restore home, edit /etc/fstab to modify the entry for home; but where can I get the new UUID from or will it not change?
Thanks in advance