How to prevent changing UUIDs on install?

Florian Diesch diesch at spamfence.net
Sun Dec 27 16:13:24 UTC 2009


Dotan Cohen <dotancohen at gmail.com> writes:

> Ubuntu has been using UUIDs in Grub instead of the traditional /dev/*
> setup for a few versions now. One thing that bothers me is that the
> UUIDs change when installing a new system, so other bootable
> partitions no longer can access the partition in which a new distro
> was installed. How can one intall Ubuntu yet have it keep the old UUID
> for the partition that it is being installed onto?

The UUID is a property of the file system so it changes if you create
a new file system. For ext2, ext3 and ext4 file systems you can change the
UUID using tune2fs -U


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




More information about the ubuntu-users mailing list