I suddenly got the same problem in /efi/loader/entries all conf files reverted to previous uuid (first post ). To change uuid I just edited all conf files with the correct uuid for root.

I don’t know if manually changing was correct or if I should use some sort command.

Bootctl status

UUID in status is wrong.

I have no idea what is reverting UUID back to the wrong one after updating system.

I could just reinstall but if possible I would like to try to fix this and learn.

Edit: Problem was that in /etc/kernel/cmdline had wrong UUID. Changed it to correct one and dracut-rebuild uses correct UUID.

  • BradleyUffner@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Your post is incredibly informative and helpful, so this isn’t aimed at you at all, but this kind of fix is why Linux is not ready for the everyday average user.

    • mvirts@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      1 year ago

      Meh, it could be done in a repair utility, but there’s no central power to distribute it and systems can be setup in too many different ways for it to make sense. This is part of the advanced Linux learning curve, not necessary for regular use. Windows can get hosed as well but requires a reinstall because tools like this are not easily available (or you fix windows with Linux).

      • krnl386@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        Windows is difficult to repair mainly because of the registry, IMHO. Microsoft’s claims that it should never require cleanup doesn’t really make sense… it’s the most practical advice given how convoluted it is, but the fact that a database that keeps getting written to constantly doesn’t ever need any kind of maintenance just doesn’t make sense to me.

    • krnl386@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      1 year ago

      To be fair, average users would never (or should never) encounter such an issue. The person asking uses Arch (I think?) which is by far not an “average person” distribution.