How to convert root directory into a subvolume in btrfs?

This page summarizes the projects mentioned and recommended in the original post on reddit.com/r/Gentoo

Our great sponsors
  • OPS - Build and Run Open Source Unikernels
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
  • GitHub repo weywot

    My notes on using Pop!_OS

    When I installed gentoo I only used btrfs because of it's compression. Now I've learned of subvolumes and snapshots. A common choice (I think) is to have your root directory be a subvolume, and your home directory be another subvolume, and have nothing written on the top level volume. Basically I want the sort of setup expalined here (except the swap file, of course). But I've already installed all of my stuff on the top level volume it seems. Is is possible to 'convert' my system to a scheme like the one shown in the guide?

  • GitHub repo grub-btrfs

    Include btrfs snapshots at boot options. (Grub menu)

    Quick search gives me grub-btrfs which seems to support my setup fine. No "mounting over itself" invloved, you can just pass subvol=... at mount/boot time. I'll have to play with it some day. Note that I'm not using an initrd.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts