diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-25 15:32:38 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-25 15:32:38 +0200 |
commit | 6cef552625ebb24c1a4abbdfad47cb08e86509cb (patch) | |
tree | cb5e1c219917e9254e327fccd5d90bee9eb28328 /PARTITIONING.md | |
parent | Switch to systemd-boot + btrfs (diff) | |
download | nixos-config-6cef552625ebb24c1a4abbdfad47cb08e86509cb.tar.gz nixos-config-6cef552625ebb24c1a4abbdfad47cb08e86509cb.tar.bz2 nixos-config-6cef552625ebb24c1a4abbdfad47cb08e86509cb.zip |
Add partitioning guide
Diffstat (limited to 'PARTITIONING.md')
-rw-r--r-- | PARTITIONING.md | 17 |
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 |