wtry@lemm.ee to Linux@lemmy.ml · 1 year agoWhat are the best practices to partition a linux system with?message-squaremessage-square57fedilinkarrow-up1123arrow-down14
arrow-up1119arrow-down1message-squareWhat are the best practices to partition a linux system with?wtry@lemm.ee to Linux@lemmy.ml · 1 year agomessage-square57fedilink
minus-squareAndrius Štikonas@lemmy.kde.sociallinkfedilinkarrow-up23·1 year 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-squaredb2@sopuli.xyzlinkfedilinkarrow-up5arrow-down1·1 year agoAbout lvm though, experiment with it before jumping in with your daily driver.
minus-squareAndrius Štikonas@lemmy.kde.sociallinkfedilinkarrow-up2·1 year 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.