last year when I went back to Arch from Manjaro, I made a critical error. I’m not sure if I was just tired when partitioning things off or what. but I made my root only 20GB instead of the 50 that I had intended. I know in a lot use cases that’ll be fine, but in mine, not so much. with steam compat taking up 1-2gb and keeping one version of pacman cache, I’m constantly getting the redline warning.
Tonight I plan on booting to live and resize my luks drive and hopefully not fuck it. and if I do? oh well…Timeshift will hopefully save me.
UPDATE
Booted to live and used gparted. had to fiddle with un-encrypting/re-encrypting the partitions in order to move everything around correctly, but everything was successful.
nothing ended up needing to be updated in boot. systemd-boot is so basic that so long as the uuids don’t change, then it don’t care.
All in all a good experience.
Awesome! 😎
We’ll dunno much but wouldn’t the UUID of the drive partition change?
If you resize the partition? No, the UUID gets allocated when the partition is created and stays the same for the lifetime of the partition. It only changes if you explicitly change it manually. Which is something that’s only needed very rarely.
For example I had to do it when I migrated my root disk to a larger SSD by
cat
-ing the entire disk to the new one and I wanted to keep both connected for a while (so I can boot into the old one in case anything went wrong). I had to change the UUID of the partition on the new disk but I still ran into some obscure grub issues and had to boot a system rescue live stick into the new disk to update grub properly. Overall it’s not a very good idea, in the future I think I’ll stick torsync -avx
root into the new partition.Wait you can cat an entire device to another like that? I’ve always been told to use dd
You can even use
cp
of I recall correctly,dd
allows to tune some parameters but it’s not strictly necessary.
resize2fs and lvreduce? I mean if you have used LVM… It’s not easy, but doable without a reinstall. Yeah. the guides also tell people to make a backup first.