WIP: machines/raven: add readme

This commit is contained in:
Simon Bruder 2021-07-18 22:31:18 +02:00
parent 927fdce17f
commit d9de3976fc
No known key found for this signature in database
GPG key ID: 8D3C82F9F309F8EC

22
machines/raven/README.md Normal file
View file

@ -0,0 +1,22 @@
# raven
## setup
```bash
parted -s /dev/sda -- \
mktable GPT \
mkpart primary fat32 1MiB 1GiB \
set 1 esp on \
mkpart primary ext2 1GiB 100%
mkfs.vfat -i 0FEAFAF6 /dev/sda1
cryptsetup luksFormat --type luks2 --uuid=ad04bc72-bc84-42e3-856f-152c162ad88c /dev/sda2
cryptsetup open --type luks2 /dev/sda2 cryptroot
mkfs.btrfs -U 1ac13504-fb49-4739-a0e3-f87a3f840fb1 /dev/mapper/cryptroot
mount -o compress=zstd /dev/mapper/cryptroot /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot
```