diff options
| author | brian cully <bjc@spork.org> | 2026-05-20 07:16:49 -0400 |
|---|---|---|
| committer | brian cully <bjc@spork.org> | 2026-05-20 07:16:49 -0400 |
| commit | 1f7a0717dee3e4abb8a4452b29aef29637dbd691 (patch) | |
| tree | 7c01359e14525fc750278496345fb774e5778a12 /readme.org | |
| parent | 2ad8ca7ee03e660f7deae5fed895596a31129a40 (diff) | |
| download | guix-impermanence-init-1f7a0717dee3e4abb8a4452b29aef29637dbd691.tar.gz guix-impermanence-init-1f7a0717dee3e4abb8a4452b29aef29637dbd691.zip | |
Diffstat (limited to 'readme.org')
| -rw-r--r-- | readme.org | 18 |
1 files changed, 15 insertions, 3 deletions
@@ -25,26 +25,37 @@ turn on the ‘esp’ flag for partition ~1~: : parted /dev/vdb set 1 esp on ** create filesystems +*** esp volume : mkfs.vfat -n ESP -F 32 /dev/vdb1 +*** btrfs volumes +note that there is no =/gnu/etc= because =/etc= can, in most cases, be +created automatically at boot during activation. + : mkfs.btrfs -L root /dev/vdb3 : mount -m -t btrfs /dev/vdb3 /mnt - : btrfs subvol create /mnt/gnu : btrfs subvol create /mnt/gnu/store -# : btrfs subvol create /mnt/gnu/etc : btrfs subvol create /mnt/gnu/var : btrfs subvol create /mnt/gnu/boot : btrfs subvol create /mnt/persist : btrfs subvol create /mnt/persist/home : btrfs subvol create /mnt/persist/home/root +*** unmount +once the filesystems are set up, unmount =/mnt= so we can tmpfs mount it +later. : umount /mnt ** mount filesystems +now we mount up enough of the heirarchy so that we can install +everything. probably not all of these are strictly required, but none +should cause problems. + +we are mounting =/mnt= as tmpfs just to make sure the installer doesn't +write something to permanent storage that it shouldn't. : mount -m -t tmpfs tmpfs /mnt : mount -m -t btrfs -o subvol=/gnu LABEL=root /mnt/gnu -# : mount -m -t btrfs -o subvol=/gnu/etc LABEL=root /mnt/etc : mount -m -t btrfs -o subvol=/gnu/var LABEL=root /mnt/var : mount -m -t btrfs -o subvol=/gnu/boot LABEL=root /mnt/boot : mount -m -t btrfs -o subvol=/persist LABEL=root /mnt/persist @@ -53,4 +64,5 @@ turn on the ‘esp’ flag for partition ~1~: : mount -m -t vfat LABEL=ESP /mnt/boot/esp ** init system +once the filesystems are mounted, we can init the system : guix system init configuration.scm /mnt |
