WIP: machines/raven: add readme
This commit is contained in:
parent
927fdce17f
commit
c5a85d7167
1 changed files with 22 additions and 0 deletions
22
machines/raven/README.md
Normal file
22
machines/raven/README.md
Normal 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 /boot
|
||||||
|
mount /dev/sda1 /boot
|
||||||
|
```
|
||||||
Loading…
Add table
Add a link
Reference in a new issue