aboutsummaryrefslogtreecommitdiff
path: root/public/nixos
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-01 18:15:36 -0300
committerEuAndreh <eu@euandre.org>2019-06-01 18:17:54 -0300
commit898c6bcf1535aa546d1fadbc3fd2422770097427 (patch)
treef045a5ac92fc707cc96fb202e32542c0876cdda4 /public/nixos
parentAdd gptfdisk to install.sh nix-shell declaration (diff)
downloaddotfiles-898c6bcf1535aa546d1fadbc3fd2422770097427.tar.gz
dotfiles-898c6bcf1535aa546d1fadbc3fd2422770097427.tar.xz
Fix off-by-one sector region in last sgdisk command
Diffstat (limited to 'public/nixos')
-rwxr-xr-xpublic/nixos/install.sh2
1 files changed, 1 insertions, 1 deletions
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."