• Skull giver@popplesburger.hilciferous.nl
    link
    fedilink
    arrow-up
    2
    ·
    11 months ago

    Swap on BTRFS makes setting up hibernation very difficult. It can be done if the swap file is contiguous and you can find the exact offset of the bytes on disk, but it’s not very reliable in my experience.

    My ideal setup would be 1GB EFI + LUKS, containing LVM for an encrypted swap partition + the OS partition.

    • devfuuu@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      11 months ago

      In many of my laptop setups I’ve also solidified around similar setup: 200 or 500 mb efi + luks with lvm with root and home volumes. Swap is a file which makes everything easy without having to care about another partition and is automatically encrypted since it stays on root.

      Partition formats is always ext4 since there’s no need for anything else. Tried btrfs in the past and it had problems, more than it solved, and xfs years ago regularly had problems corrupting files when power went off. I swore on never using any of those 2 again.