Fix partition type ids

This commit is contained in:
Laura Hausmann 2023-12-11 18:44:25 +01:00
parent 27ad859ca5
commit e0535faaed
Signed by untrusted user: zotan
GPG key ID: D044E84C5BE01605

View file

@ -207,11 +207,11 @@ partition_disk(){
if [[ $efi -eq 1 ]]; then
sgdisk $disk -n=1:0:+1024M -t=1:ef00
sgdisk $disk -n=2:0:-$swapsize
sgdisk $disk -n=3:0:0 -t=2:8200
sgdisk $disk -n=3:0:0 -t=3:8200
else
sgdisk $disk -n=1:0:+1M -t=1:ef02
sgdisk $disk -n=2:0:-$swapsize
sgdisk $disk -n=3:0:0 -t=2:8200
sgdisk $disk -n=3:0:0 -t=3:8200
fi
# Special naming for eMMC and NVME devices