this post was submitted on 26 Oct 2023
69 points (96.0% liked)
Linux
48306 readers
716 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Well having a dedicated
/home
partition is the very minimum and pretty much default.If you are interested in having a backup/restore solution for your system you are looking for
BTRFS
which uses sub volumes instead of primary partitions and is compatible with snapshot tools, those tools being Timeshift and Snapper.I do think Snapper is the superior solution however it's also more complex to set up and requires significantly more prep work. Imo totally worth it.
I currently use it on my main machine Debian with BTRFS and Snapper and couldn't be happier.
I installed (well, compiled) Btrfs Assistant, it integrates with snapper and btrfs maintenance, I had to create cron jobs for monthly/daily by hand, but the GUI is pretty nice.
This came pre installed and setup on my Garuda Linux install and it's great. By default it takes a snapshot before and after every update or installation through the package manager so if something goes wonky I can just select the previous snapshot in grub and be back up and running in seconds.
Also just recently installed bazzite on a laptop and it appears to automatically do something similar, but I haven't spent as much time with it to know the ins and outs yet.
What's the appropriate size for a home partition, though?
That's not the question that needs to be answered, first you must allocate enough space for you
system
partition, and whatever other system related partitions that you want to use,var
,temp
,swap
, you get the gist, then whatever space you have left is yourhome
partition. This scenario being a default personal use desktop ofc.If this is going to be a BTRFS system then it also doesn't matter since sub volumes share the total space available dynamically.
Also if this is a modern hardware consider not having a swap partition and instead use ZRAM.