On Mon, Dec 02, 2024 at 03:41:43PM -0300, Bruno Schneider wrote:
I would recommend changing from UUID to labels. Doing so, all you need to worry is that the new partitions have the same labels as the old ones. https://wiki.debian.org/fstab#Labels
I personally prefer UUIDs because the odds of an existing drive from a different system having a conflicting UUID when you put it in another system is near zero while the odds that another drive would have something like LABEL=root is very high. The installer adds UUIDs by default so most people will never need to decide or even think about this. In practical terms, in most cases, it doesn't matter which you use. If you use something like LVM it really doesn't matter as you'll just use the LV name (and in practice, this is what I do on any system that's not just one big partition). Arguing over one vs the other is pointless as there's no obvious right answer so much as there is personal preference; the only wrong answer is using the device name. :-)