Skip to content

u/crossroads1112

In this archive from Jan 2014 to May 2020

33
posts
232
comments
13
media
1.1k
score

Top posts

Top comments

I have three partitions

/dev/sda1 is my ext4 formatted /boot partition. This has to be separate when you encrypt / so that it is unencrypted at boot.

/dev/sda2 is my swap partition.

/dev/sda3 contains an encrypted LUKS container. The filesystem within the container is btrfs.

This is where it gets interesting. Within btrfs I have five subvolumes (think of them as a cross between folders and file systems. Like folders permissions can be set upon them but like filesystems they can be booted from and have properties such as compression tied to them). They are rootvol, homevol, genroot and genhome and shared. Rootvol and homevol contain the root and home directories of my arch installation. Genroot and genhome do the same for my gentoo installation. The shared subvol contains subvols within itself such as my music directory which is mounted by the fstab in both installations.

With subvols you get the advantage of partitions (in that I could reinstall my Arch base system and leave my home directory untouched) but without the disadvantages you mentioned of outing everything into a separate box.

9 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.