UUID has changed- Why?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 10 of 10
  1. #1
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,750
    Linux (Fedora) Firefox 65.0

    UUID has changed- Why?

    Why on earth has the UUID for at least 2 partitions changed after the installation and first full upgrade of Fedora 29 XFCE? This is not good. I multi boot several Linux OS's and these partitions mount under all of them. Much work awaits
    Glenn
    The Bassinator

  2. #2
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,690
    Linux (Android 9) Chrome 71.0.3578.99

    Re: UUID has changed- Why?

    You got caught in the rule .. it is faster to delete and recreate than to erase. And in so doing, the negative aspect is a new UUID, the positive is, a clean up-to-date filesystem.

    It is also why I label all my partitions.
    If your disks are formatted gpt, then create a partition PARTLABEL and use PARTUUID=
    The PARTLABEL survives a reformat. If you would like more information, send me a note via fedoraforum messaging.
    Last edited by lsatenstein; 6th February 2019 at 02:14 AM. Reason: Cellphone autocorrect changes text
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  3. #3
    Join Date
    Mar 2006
    Posts
    713
    Linux (Fedora) Firefox 64.0

    Re: UUID has changed- Why?

    I think you can restore the UUID those partitions had with some tool I can't remember. Maybe gparted. That would reduce the pain to just the fresh F29 install.
    sudo tune2fs /dev/sdx -U <other uuid> without the <>

    Just googled that.
    jbkt23
    Thinkpads Depends on era T23 - X2xx
    AMD & Intel Boxes

  4. #4
    Join Date
    Jun 2005
    Location
    Montreal, Que, Canada
    Posts
    5,690
    Linux (Android 9) Chrome 71.0.3578.99

    Re: UUID has changed- Why?

    You should request a new UUID, The UUID application has to scan all drives and partitions, mounted or not, to insure the new UUID is unique on your system.I found it simpler to change a few fstab entries after letting the system assign than to take the effort to try to force a fixed UUID value.

    If you want to preserve the UUID value, you must
    RM -rf the partition's mount of.
    Leslie in Montreal

    Interesting web sites list
    http://forums.fedoraforum.org/showth...40#post1697840

  5. #5
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,750
    Linux (Fedora) Firefox 65.0

    Re: UUID has changed- Why?

    jbkt23, thanks for the tip. Looks like it is worth looking into.

    Leslie, the OS was reinstalled to /dev/sdb7. I expect things to change there as that partition was reformatted. The UUID's have now changed for /dev/sdb13 and /dev/sdc1. That is the issue.
    Glenn
    The Bassinator

  6. #6
    Join Date
    Mar 2006
    Posts
    713
    Windows 7 Firefox 64.0

    Re: UUID has changed- Why?

    Glenn,

    Did you select the two effected drives as mount points in the anaconda disk selection process? If you did not, then I'd say that that is a problem worth filing a bug report on. I rarely do fresh installs unless a disk dies.
    jbkt23
    Thinkpads Depends on era T23 - X2xx
    AMD & Intel Boxes

  7. #7
    Join Date
    Jan 2010
    Posts
    7,376
    Linux Chrome 72.0.3626.81

    Re: UUID has changed- Why?

    A lot of times this happens with a new installation making a swap partition, changing its UUID, though that doesn't seem to be what happened here.

  8. #8
    Join Date
    Dec 2012
    Location
    santa barbara, CA
    Posts
    1,052
    Linux (Fedora) Firefox 65.0

    Re: UUID has changed- Why?

    UUID should stay the same until the drive is burned in the fires of hell, i.e. once calculated should be written into the partition header.
    The fact that it changes, makes the whole feature into a "toy".
    "monsters John ... monsters from the ID..."
    "ma vule teva maar gul nol naya"

  9. #9
    Join Date
    Mar 2004
    Location
    In your closet
    Posts
    15,750
    Linux (Fedora) Firefox 65.0

    Re: UUID has changed- Why?

    I've done hundreds of re-installs over the years and the UUID has stayed the same. As jbkt23 suggests, a bug report may be in the offing.
    Glenn
    The Bassinator

  10. #10
    Join Date
    Jan 2010
    Posts
    7,376
    Linux Chrome 72.0.3626.81

    Re: UUID has changed- Why?

    Yes, a UUID should stay the same, but, especiallly with multiboot machines, installing, say, Ubuntu after Fedora, will change the UUID of the swap partition, and often cause a boot failure. These days, I seldom have a swap partition, so I'm not sure if that's still a thing, but remember thinking it was causing a problem it was supposed to prevent.

Similar Threads

  1. F19 won't boot after swap's UUID was changed
    By mikeym in forum Using Fedora
    Replies: 4
    Last Post: 12th February 2014, 10:56 PM
  2. Re: F19 won't boot after swap's UUID was changed
    By jam123 in forum Using Fedora
    Replies: 10
    Last Post: 2nd September 2013, 07:34 AM
  3. F19 won't boot after swap's UUID was changed
    By eco2geek in forum F19 Development
    Replies: 15
    Last Post: 2nd July 2013, 12:48 AM
  4. UUID Changed
    By drnetsys in forum Using Fedora
    Replies: 4
    Last Post: 13th June 2012, 01:04 PM
  5. Replies: 1
    Last Post: 11th March 2010, 05:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •