Re: How to prevent changing UUIDs on install?



Dotan Cohen <dotancohen@xxxxxxxxx> 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/>

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages

  • Re: How to prevent changing UUIDs on install?
    ... Restore them in the file systems you have replaced. ... sudo blkid lists all file systems with their labels and UUIDs. ... output somewhere before you install the new system and then use tune2fs ...
    (Ubuntu)
  • SCO 5.0.7 Esxi 4.1 Backup Edge 2.3
    ... test migration of an SCO 5.0.7 system to his VMWare ESXi ... We set the SCO virtual machine to boot the host DVD drive ... I tried the "automatic" restore and it failed when trying to ... All file systems were created by the automatic restore attempt ...
    (comp.unix.sco.misc)
  • Re: zfs snapshots for TAPE backup: 1: must be of entire pool? 2: if yes, then need TWICE as much di
    ... booting that system from CD/DVD and actually restoring your file systems! ... Or if things do not go well, you KNOW that you CAN'T restore successfully and that you will need to take corrective action. ... Is bzip on the install CD/DVD? ...
    (comp.unix.solaris)
  • Re: Dump/restore mystery (off topic)
    ... >>from tape, and restore the latest backup. ... The restore script reported numerous instances ... I understand dump should ideally be run against unmounted file systems, ...
    (comp.unix.solaris)
  • Re: UFS snapshots
    ... > all of the file systems mirrored. ... > ufsrestore to both submirrors of a mirrored device. ... > must restore the / file system to both of the disk partitions that make ...
    (comp.unix.solaris)