Im giving a go fedora silverblue on a new laptop but Im unable to boot (and since im a linux noob the first thing i tried was installing it fresh again but that didnt resolve it).

its a single drive partitioned to ext4 and encrypted with luks (its basically the default config from the fedora installation)

any ideas for things to try?

  • data1701d (He/Him)
    link
    fedilink
    English
    22 months ago

    Did you update your initramfs after? The new fstab doesn’t apply until you refresh that

    • evasyncOP
      link
      22 months ago

      No but I rebooted the system after the change. do still need to update it regardless the reboot?

      • data1701d (He/Him)
        link
        fedilink
        English
        2
        edit-2
        2 months ago

        Edit: Probably try @[email protected]’s solution of systemctl daemon-reload first.

        Yes. When booting, your system has an initial image that it boots off of before mounting file systems. You have to make sure the image reflects the updated fstab.

          • data1701d (He/Him)
            link
            fedilink
            English
            12 months ago

            You might be right. I was thinking of it in terms of a traditional distro, as I use vanilla Debian where my advice would apply and yours probably wouldn’t.

            From what I do know, though, I guess /etc would be part of the writable roots overlaid onto the immutable image, so it would make sense if the immutable image was sort of the initramfs and was read when root was mounted or something. Your command is probably the correct one for immutable systems.

            • nanook
              link
              fedilink
              12 months ago

              @data1701d It will work fine with Debian Bookworm, not sure about older releases, I don’t know at what point they switched to systemd controlling that but definitely does work in Bookworm. It should work in most other modern Debian or Ubuntu derived systems as well, but not older versions as systemd taking over this functionality is relatively recent.

      • data1701d (He/Him)
        link
        fedilink
        English
        12 months ago

        On another note, for actually doing it, it looks like Fedora uses Dracut, so you just need to run sudo dracut -f.