How to prevent changing UUIDs on install?

Res res at ausics.net
Sun Dec 27 23:53:10 UTC 2009


On Sun, 27 Dec 2009, Dotan Cohen wrote:

>>>> 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.

If its that much of a problem, remove UUID crap from fstab and use the 
block device directly like the old way, your system will still boot and 
work fine, I think this UUID crap is waste and unnecessary, but, that's 
IMHO, I' sure the fanbois will say "how dare I suggest such a thing" :)



--
Res

"What does Windows have that Linux doesn't?" - One hell of a lot of bugs!




More information about the ubuntu-users mailing list