@wtry@lemm.ee to Linux@lemmy.ml • 11 months agoWhat are the best practices to partition a linux system with?message-square58fedilinkarrow-up1123arrow-down14
arrow-up1119arrow-down1message-squareWhat are the best practices to partition a linux system with?@wtry@lemm.ee to Linux@lemmy.ml • 11 months agomessage-square58fedilink
minus-squareAndrius Štikonaslinkfedilink23•11 months 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.
minus-square@db2@sopuli.xyzlinkfedilink4•11 months agoAbout lvm though, experiment with it before jumping in with your daily driver.
minus-squareAndrius Štikonaslinkfedilink2•11 months 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.
It really depends on your requirements…
But a few useful points:
About lvm though, experiment with it before jumping in with your daily driver.
Indeed, 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.