How to prevent changing UUIDs on install?
Florian Diesch
diesch at spamfence.net
Mon Dec 28 00:39:42 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.
>>
>>
>
> Thanks, I had already discovered both these tools.However, I do not
> know where the UUID is used in the filesystem. There is no longer
> xorg.conf, no more grub as I know it, who knows what will become of
> fstab in a year's time, etc. I am looking for a permanent solution,
> not a one-time workaround.
It seems I don't understand your problem. What exactly are you looking
for?
Florian
--
<http://www.florian-diesch.de/software/shell-scripts/>
More information about the ubuntu-users
mailing list