diff options
| author | brian cully <bjc@spork.org> | 2026-03-10 11:25:19 -0400 |
|---|---|---|
| committer | brian cully <bjc@spork.org> | 2026-03-10 12:07:27 -0400 |
| commit | 55ff45523e7a8309bba9d14bc08e3f5af6528669 (patch) | |
| tree | a6ce9f58e3040f48f8396a07cc26d2281c5187ac /readme.org | |
| download | guix-impermanence-init-55ff45523e7a8309bba9d14bc08e3f5af6528669.tar.gz guix-impermanence-init-55ff45523e7a8309bba9d14bc08e3f5af6528669.zip | |
guix system config for tmpfs-mounted /
Diffstat (limited to 'readme.org')
| -rw-r--r-- | readme.org | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/readme.org b/readme.org new file mode 100644 index 0000000..5596abc --- /dev/null +++ b/readme.org @@ -0,0 +1,27 @@ +* partition disk +gpt, 3 partitions: + - 1 :: esp 2GB + - 2 :: swap 8GB + - 3 :: linux-fs rest + +* create filesystems +: mkfs.vfat -L ESP -F 32 /dev/vda1 + +: mkfs.btrfs -L root /dev/vda3 +: btrfs subvol create /dev/vda3 /gnu +: btrfs subvol create /dev/vda3 /persist +: btrfs subvol create /dev/vda3 /persist/etc +: btrfs subvol create /dev/vda3 /persist/var +: btrfs subvol create /dev/vda3 /persist/home +: btrfs subvol create /dev/vda3 /persist/boot + +* mount filesystems +: mkdir /mnt +: mount -t tmpfs tmpfs /mnt +: mount -m -t btrfs -o subvol=/gnu LABEL=root /mnt/gnu +: mount -m -t btrfs -o subvol=/persist LABEL=root /mnt/persist +: mount -m -t btrfs -o subvol=/persist/etc LABEL=root /mnt/etc +: mount -m -t btrfs -o subvol=/persist/var LABEL=root /mnt/var +: mount -m -t btrfs -o subvol=/persist/home LABEL=root /mnt/home +: mount -m -t btrfs -o subvol=/persist/boot LABEL=root /mnt/boot +: mount -m -t vfat LABEL=ESP /mnt/boot/efi |
