• chayleaf
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    I prefer a very small EFI partition mounted at /boot/efi, that way the kernels and initrds sit at /boot alongside the rest ot the files (though if you also want encryption you need to add your encryption keys to initrd so you don’t have to enter the password twice)

    • lloram239@feddit.de
      link
      fedilink
      arrow-up
      5
      ·
      edit-2
      1 year ago

      Some distributions (e.g. NixOS) store their kernels on the EFI partition, going small will bite you on those. 1GB is a good size. The Windows default of 100MB is only enough to store two kernels.

      Edit: This might actually be systemd-boot specific.

      • heartlessevil@lemmy.one
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        This is true. I used a 1gb boot partition on my Nixos install and every time I update it I need to delete all the old kernels/initrd and sometimes I even delete the one that’s currently running.

      • chayleaf
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        I use NixOS, and read my comment again. /boot/efi is only for GRUB. /boot is where the actual kernels reside, and it isn’t on the EFI partition.

        • lloram239@feddit.de
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 year ago

          Might actually be systemd-boot thing, not a NixOS specific thing, either way, this is where my kernels are:

          /boot/EFI/nixos/vnmrdbd7a5rg6482d6p8zxc57xf2nxqb-linux-6.1.44-bzImage.efi

          /boot is straight up the EFI partition, there is no separate /boot partition.