I want to be able to format my system without formatting my home, I know I can keep them seperate partitions but I would prefer if I can have dynamic sizes of each, can I achieve that by creating a sub volume for each? Would I be able to distrohop without removing my home while keeping the sizes dynamic? I never sat up a BTRFS before so I’m clueless

30 points

Don’t format, just create separate subvolumes for the distros and keep the home subvolume mounted on each root then delete the root subvolume of the distros you don’t want when you’re done with them.

permalink
report
reply
4 points

This looks like the way, I like it!

permalink
report
parent
reply
7 points

If you format the btrfs partition, it will erase everything. You can just delete the old root subvolume and create a new one when installing a different distro though.

permalink
report
reply
2 points
*

I do the this and it’s great. An entire distro takes up only a few GB. Many graphical installers don’t support installing on an existing btrfs partition (or subvolume) and want to create a new one. This can often be solved by manual intervention (via terminal).

permalink
report
parent
reply
6 points

Even without BTRFS it is possible to just delete every folder on root except for /home. Haven’t encountered any distros that couldn’t handle it.

permalink
report
reply
3 points

You are replacing partitions with subvolumes, as such you have to make these operations on the btrfs filesystem (so as others have already written, deleting the subvolume instead of re-formatting the partition).

permalink
report
reply
3 points

Make a separate home partition, and make fs BTRFS, having subvolune of root system may be tricky for formatting

permalink
report
reply

Linux

!linux@lemmy.ml

Create post

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

Community stats

  • 7.3K

    Monthly active users

  • 5K

    Posts

  • 77K

    Comments