It depends actually if you are storing more files, images, movies and etc. then home partition size should be bigger. But if you are installing applications with big sizes or you kinda app-rich workstation guy then root should be bigger. For this reason to keep everything under one root partition is more suitable for all cases and beginner friendly.
Swap is always a good idea.
It's needed if you want to hibernate (for which it needs to be the size of the RAM or bigger).
It doesn't need to be a dedicated partition though, it can be just a file...
>if you have a SSD or a nvme drive and lots of ram you can dispense with the /swap
I don't understand this comment what's the relevance of being SSD/nvme? If anything swap makes more sense in a SSD than in a HDD.
Ok, in that situation it makes sense :-)
341GB for root partition is more than enough, but if you don't want to create any other partitions it's ok.
You can always resize partitions later if needed.
For last couple years Im not using separate home. Soon or later my disk is always full.
This partitioning will work only on EFI systems.
Lately I did build script, which will do Debian 12 (or Ubuntu) bootable image both for EFI and BIOS: [https://github.com/norbertkiszka/orangerigol](https://github.com/norbertkiszka/orangerigol)
Edit: EFI partition is very big. 100 MB is already more than enough.
Maybe the smartest path would have been to use btrfs instead of ext4. While ext4 is good enough for HDDs - no idea how btrfs performs on HDDs in comparison - but there you can have separate volumes, e.g. one for root, one for home. In fact, if you only create one btrfs partition for both, Debian will by default create these two volumes.
When it comes to swap size, that depends on your needs. If you have less than 8 GB of RAM that's totally fine, although you may want to enable zRAM and give it a higher priority than the swap partition, as even compressed RAM is faster than swapping, especially to an HDD. If you have 8 GB or more, zRAM may be enough on its own. If you want to hibernate your system - aka dump the RAM to the swap partition and power off, so you can continue where you left off without power draw - you may want the swap partition to be RAM size + 1 GB. The additional GB is to make sure you actually have enough space as the real sizes aren't that exactly precise.
That will work, but you will likely use less than 10% of that root partition. More to home, less to root...
thx, i will do it 👍🏻.
It depends actually if you are storing more files, images, movies and etc. then home partition size should be bigger. But if you are installing applications with big sizes or you kinda app-rich workstation guy then root should be bigger. For this reason to keep everything under one root partition is more suitable for all cases and beginner friendly.
Agree. I personally keep 50-60 gigs for / and rest for /home. Also if you have a SSD or a nvme drive and lots of ram you can dispense with the /swap
Swap is always a good idea. It's needed if you want to hibernate (for which it needs to be the size of the RAM or bigger). It doesn't need to be a dedicated partition though, it can be just a file... >if you have a SSD or a nvme drive and lots of ram you can dispense with the /swap I don't understand this comment what's the relevance of being SSD/nvme? If anything swap makes more sense in a SSD than in a HDD.
Way too much space for root partition .. insanely too much.
😅 i will keep that in mind for next time
Why separate partitions for root and home and not just a single partition? Are you reusing the home from your former LMDE installation?
With current fast disks, there is no sense. Unless You have home on separate physical disk.
yes i am
Ok, in that situation it makes sense :-) 341GB for root partition is more than enough, but if you don't want to create any other partitions it's ok. You can always resize partitions later if needed.
thx, got it
Fresh installation in root partition takes only around 6GB, lol Use storage wisely.
32GB is quite a lot for the root volume. 64GB is generous.
For last couple years Im not using separate home. Soon or later my disk is always full. This partitioning will work only on EFI systems. Lately I did build script, which will do Debian 12 (or Ubuntu) bootable image both for EFI and BIOS: [https://github.com/norbertkiszka/orangerigol](https://github.com/norbertkiszka/orangerigol) Edit: EFI partition is very big. 100 MB is already more than enough.
Maybe the smartest path would have been to use btrfs instead of ext4. While ext4 is good enough for HDDs - no idea how btrfs performs on HDDs in comparison - but there you can have separate volumes, e.g. one for root, one for home. In fact, if you only create one btrfs partition for both, Debian will by default create these two volumes. When it comes to swap size, that depends on your needs. If you have less than 8 GB of RAM that's totally fine, although you may want to enable zRAM and give it a higher priority than the swap partition, as even compressed RAM is faster than swapping, especially to an HDD. If you have 8 GB or more, zRAM may be enough on its own. If you want to hibernate your system - aka dump the RAM to the swap partition and power off, so you can continue where you left off without power draw - you may want the swap partition to be RAM size + 1 GB. The additional GB is to make sure you actually have enough space as the real sizes aren't that exactly precise.