meta data for this page
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:fs:btrfs:encrypted [2025/03/23 09:39] – niziak | linux:fs:btrfs:encrypted [2025/03/23 15:50] (current) – niziak | ||
---|---|---|---|
Line 7: | Line 7: | ||
blkid / | blkid / | ||
</ | </ | ||
+ | |||
+ | Consider [[https:// | ||
<file ini / | <file ini / | ||
Line 13: | Line 15: | ||
<code bash> | <code bash> | ||
- | systemctl daemon-reload | + | cryptdisk_start home2 |
- | systemctl restart cryptsetup.target | + | |
dmsetup table | dmsetup table | ||
- | cryptsetup luksClose | + | mkfs.btrfs / |
+ | mkdir /home2 | ||
+ | mount / | ||
+ | cd home2 | ||
+ | btrfs sub create @home | ||
+ | cd .. | ||
+ | umount /home2 | ||
+ | cryptdisks_stop home2 | ||
+ | </ | ||
+ | |||
+ | <file ini / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | |||
+ | <code bash> | ||
+ | systemctl daemon-reload | ||
+ | |||
+ | cryptdisks_start home2 | ||
+ | mount /home2 | ||
+ | ... | ||
+ | umount /home2 | ||
+ | cryptdisks_stop home2 | ||
+ | |||
+ | update-initramfs -u -k all | ||
</ | </ | ||