about summary refs log tree commit diff
path: root/PARTITIONING.md
diff options
context:
space:
mode:
Diffstat (limited to 'PARTITIONING.md')
-rw-r--r--PARTITIONING.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/PARTITIONING.md b/PARTITIONING.md
new file mode 100644
index 0000000..c6209ed
--- /dev/null
+++ b/PARTITIONING.md
@@ -0,0 +1,17 @@
+# mkfs.fat -F 32 /dev/sdX1
+
+# mkfs.btrfs /dev/sdX2
+# mkdir -p /mnt
+# mount /dev/sdX2 /mnt
+# btrfs subvolume create /mnt/root
+# btrfs subvolume create /mnt/home
+# btrfs subvolume create /mnt/nix
+# umount /mnt
+
+# mount -o compress=zstd,noatime,subvol=root /dev/sdX2 /mnt
+# mkdir /mnt/{home,nix}
+# mount -o compress=zstd,subvol=home /dev/sdX2 /mnt/home
+# mount -o compress=zstd,noatime,subvol=nix /dev/sdX2 /mnt/nix
+
+# mkdir /mnt/boot
+# mount /dev/sdX1 /mnt/boot
\ No newline at end of file