▲ 123 ▼ What are the best practices to partition a linux system with? (lemm.ee) submitted 3 years ago by wtry@lemm.ee to c/linux@lemmy.ml 64 comments fedilink hide all child comments
[–] stikonas@lemmy.kde.social 24 points 3 years ago (1 child) It 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. permalink fedilink source hideshow 2 child comments replies: [–] db2@sopuli.xyz 5 points 3 years ago (1 child) About lvm though, experiment with it before jumping in with your daily driver. permalink fedilink source parent hideshow 2 child comments replies: [–] stikonas@lemmy.kde.social 3 points 3 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] drwho@beehaw.org 1 point 3 years ago A lot of distros default to booting with an initramfs or initrd by default, anyway. If only because you can set up an encrypted drive at installation time, so may as well have it but not need it rather than the reverse. permalink fedilink source parent
[–] db2@sopuli.xyz 5 points 3 years ago (1 child) About lvm though, experiment with it before jumping in with your daily driver. permalink fedilink source parent hideshow 2 child comments replies: [–] stikonas@lemmy.kde.social 3 points 3 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] drwho@beehaw.org 1 point 3 years ago A lot of distros default to booting with an initramfs or initrd by default, anyway. If only because you can set up an encrypted drive at installation time, so may as well have it but not need it rather than the reverse. permalink fedilink source parent
[–] stikonas@lemmy.kde.social 3 points 3 years ago (1 child) 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. permalink fedilink source parent hideshow 2 child comments replies: [–] drwho@beehaw.org 1 point 3 years ago A lot of distros default to booting with an initramfs or initrd by default, anyway. If only because you can set up an encrypted drive at installation time, so may as well have it but not need it rather than the reverse. permalink fedilink source parent
[–] drwho@beehaw.org 1 point 3 years ago A lot of distros default to booting with an initramfs or initrd by default, anyway. If only because you can set up an encrypted drive at installation time, so may as well have it but not need it rather than the reverse. permalink fedilink source parent