The UUID is a way of identifying the partitions on a device. They are in the form xxxxxxxxx-01 for the first partition, xxxxxxxxxx-02 for the second etc. You'll find them listed in /etc/fstab and /boot/firmware/cmdline.txt for mounting the filesystems. They are one way of identifying a specific partition on a device, no matter where it is connected to the system. That's how the same SD card image can be used on SD card, USB, PCI etc.What are UUIDs? Why would I want to retain the old ones? I want SD cards that are exactly the same so I can run them on 15 different Rpi5s with my students and their projects.
You could have the same UUIDs on all your systems. It doesn't really cause a problem until you put two cards with the same UIIDs in the same system. But in general you'd want them different.
One reason to retain the old one is if for some reason some software is using the UUID to check it is running on a specific system. Not very common.
More important would be to give each card a different hostname if they're all going to be on the same network.
Statistics: Posted by rpdom — Wed Apr 10, 2024 5:08 pm