How to prevent changing UUIDs on install?

Florian Diesch diesch at spamfence.net
Sun Dec 27 17:11:17 UTC 2009


Dotan Cohen <dotancohen at gmail.com> writes:

>> Why not just save the old UUIDs and restore them after installing?
>>
>
> Because I cannot ensure that I've replaced them everywhere that they are used.

Restore them in the file systems you have replaced.  

sudo blkid lists all file systems with their labels and UUIDs. Save the
output somewhere before you install the new system and then use tune2fs
to restore the UUIDs after the installation.


   Florian
-- 
<http://www.florian-diesch.de/software/pdfrecycle/>




More information about the ubuntu-users mailing list