pc0-install.sh 562 B

123456789101112131415161718
  1. cfdisk /dev/nvme0n1
  2. cryptsetup luksFormat -i 1 /dev/nvme0n1p2
  3. cryptsetup open /dev/nvme0n1p2 crypt-guix
  4. pvcreate /dev/mapper/crypt-guix
  5. vgcreate vg0 /dev/mapper/crypt-guix
  6. lvcreate -L 64G -n guixroot vg0
  7. mkfs.ext4 -L guix-root /dev/vg0/guixroot
  8. mount /dev/vg0/guixroot /mnt
  9. mkfs.fat -n BOOT0 -F32 /dev/nvme0n1p1
  10. mkdir -p /mnt/boot/efi/
  11. mount /dev/nvme0n1p1 /mnt/boot/efi/
  12. mkdir -p /mnt/etc/
  13. cp /etc/configuration/bare-bones.scm /mnt/etc/config.scm
  14. chmod u+w /mnt/etc/config.scm
  15. nano /mnt/etc/config.scm
  16. parted /dev/nvme0n1 set 1 esp on
  17. herd start cow-store /mnt