From 42b9bd7db4468bf5c453b9db7637203e125a87fb Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Sat, 21 Aug 2021 21:14:17 -0400 Subject: inst, hosts: Use sector sizes in sfdisk scripts --- diff --git a/hosts/generic1/conf b/hosts/generic1/conf index db915a6..661ec39 100644 --- a/hosts/generic1/conf +++ b/hosts/generic1/conf @@ -2,7 +2,7 @@ # start,size,id,bootable part_script=' - 1024,+,83,* + 2,+,83,* ' # fs mp type options dump pass diff --git a/hosts/logi1/conf b/hosts/logi1/conf index ba2fc72..a5f28d7 100644 --- a/hosts/logi1/conf +++ b/hosts/logi1/conf @@ -2,7 +2,7 @@ # start,size,id,bootable part_script=' - 1024,+,83,* + 2,+,83,* ' # fs mp type options dump pass diff --git a/hosts/nas1/conf b/hosts/nas1/conf index 2790c0c..4d60e91 100644 --- a/hosts/nas1/conf +++ b/hosts/nas1/conf @@ -2,7 +2,7 @@ # start,size,id,bootable part_script=' - 1024,+,83,* + 2,+,83,* ' # fs mp type options dump pass diff --git a/inst b/inst index f9b97dd..046b2db 100755 --- a/inst +++ b/inst @@ -52,7 +52,7 @@ do_fdisk() done <<-EOF ${part_script} EOF - printf '%s\n' "${script}" | sfdisk -u B "${dev}" + printf '%s\n' "${script}" | sfdisk "${dev}" # Allow time to detect the new partition(s). sleep 5 -- cgit v0.9.1