While snapshots are not backups, they are very helpful when making backup because they are atomic and can also be transferred to another drive with btrfs send/receive.
Andrius Štikonas
- 0 Posts
- 4 Comments
Joined 2 years ago
Cake day: August 8th, 2023
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
Andrius Štikonas@lemmy.kde.socialto Linux@lemmy.ml•What are the best practices to partition a linux system with?3·2 years agoIndeed, it’s a bit more complex setup, you won’t be able to boot without initramfs. But in certain cases (e.g. encryption or partitions spanning multiple devices) it is very useful.
Andrius Štikonas@lemmy.kde.socialto Linux@lemmy.ml•What are the best practices to partition a linux system with?24·2 years agoIt really depends on your requirements…
But a few useful points:
- Use GPT partition table and not MBR. Everything will be simpler, no need for extended/logical partitions.
- If you need to be able to do online (mounted) partition resizing, pick btrfs. Ext4 can only grow them online but not shrink.
- Make sure your partition boundaries are 1 MiB aligned.
- If you need more advanced setups, consider using LVM.
Regarding /boot, it can be encrypted as long as your bootloader can decrypt it, for example GRUB can decrypt LUKS encrypted partitions (albeit somewhat slowly). And the only partition that really has to be unencrypted is UEFI system partition (ESP), where bootloaders are located.