Fixed partition type for boot.
This was causing bootctl to crash. This was a copy and paste issue based from [this](https://florianfranke.dev/posts/2020/03/installing-nixos-with-encrypted-zfs-on-a-netcup.de-root-server/)
This commit is contained in:
parent
2f61280348
commit
2397e4a7a5
2
makefile
2
makefile
|
@ -31,7 +31,7 @@ format:
|
||||||
|
|
||||||
partition:
|
partition:
|
||||||
$(info partition drive into boot & luks partition)
|
$(info partition drive into boot & luks partition)
|
||||||
sgdisk -n 0:0:+300MiB -t 0:ea00 -c 0:boot "$(DRIVE)"
|
sgdisk -n 0:0:+300MiB -t 0:ef00 -c 0:boot "$(DRIVE)"
|
||||||
sgdisk -n 0:0:0 -t 0:8300 -c 0:crypt "$(DRIVE)"
|
sgdisk -n 0:0:0 -t 0:8300 -c 0:crypt "$(DRIVE)"
|
||||||
partprobe "$(DRIVE)" >/dev/null || true
|
partprobe "$(DRIVE)" >/dev/null || true
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user