12-15-2022, 07:00 PM
(This post was last modified: 12-16-2022, 12:23 AM by Zebulon Walton.)
(12-15-2022, 03:44 PM)treebeard Wrote: If you do try to enlarge /boot, be aware that the UUIDs for the /boot & / file systems and the LUKS container must stay the same. Those UUIDs are in /etc/fstab and /etc/crypttab and get embedded inside the initrds so it gets complicated if they change. My notes say that the partition UUIDs are not relevant. When creating a filesystem you can use the "-U" switch to set the UUID and cryptsetup has "--uuid" for that.
I figured that would be the case, I've documented the needed UUID info. I'll also use the same label "root") for good measure though I don't think that's used. Thanks for confirming the partition UUIDs aren't needed.It looked that way to me but I wasn't certain. The boot partition UUID won't change since I'll be enlarging that partition and filesystem rather than deleting and re-creating it. As far as I can tell LVM is not being used so that's one less thing to worry about.
Now I just have to find the time to do it...