I have done it with fsarchiver. It's one of the tools in SystemRescue.
UUIDs are random strings generated by mke2fs and similar utilities. They are stored in the filesystem's superblock. Be aware that, although a UUID is supposed to be unique, if you make an exact copy of the filesystem, the UUID will be the same too.
|