From 898c6bcf1535aa546d1fadbc3fd2422770097427 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 1 Jun 2019 18:15:36 -0300 Subject: Fix off-by-one sector region in last sgdisk command --- public/nixos/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'public/nixos/install.sh') diff --git a/public/nixos/install.sh b/public/nixos/install.sh index 30dce86..dcb2147 100755 --- a/public/nixos/install.sh +++ b/public/nixos/install.sh @@ -92,7 +92,7 @@ sgdisk --zap-all "${DEVICE}" # order here ^ sgdisk --mbrtogpt "${DEVICE}" sgdisk --new 1:2048:4095 --change-name 1:"BIOS boot partition" --typecode 1:EF02 "${DEVICE}" sgdisk --new 2:4096:1028095 --change-name 2:"EFI System" --typecode 2:EF00 "${DEVICE}" -sgdisk --new 3:1028095:0 --change-name 3:"Linux LVM" --typecode 3:8E00 "${DEVICE}" +sgdisk --new 3:1028096:0 --change-name 3:"Linux LVM" --typecode 3:8E00 "${DEVICE}" sgdisk --print "${DEVICE}" green "Done." -- cgit v1.2.3