summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-08-21 21:14:17 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-08-21 21:14:17 (EDT)
commit42b9bd7db4468bf5c453b9db7637203e125a87fb (patch)
tree1db2d1a31cec4d8c94a36a26bef9c752ec3dcd0b
parent82d0b3ecf4b4692e14c42f6cd1c63a579fa24c5a (diff)
downloadpc-inst-42b9bd7db4468bf5c453b9db7637203e125a87fb.zip
pc-inst-42b9bd7db4468bf5c453b9db7637203e125a87fb.tar.gz
pc-inst-42b9bd7db4468bf5c453b9db7637203e125a87fb.tar.bz2
inst, hosts: Use sector sizes in sfdisk scripts
-rw-r--r--hosts/generic1/conf2
-rw-r--r--hosts/logi1/conf2
-rw-r--r--hosts/nas1/conf2
-rwxr-xr-xinst2
4 files changed, 4 insertions, 4 deletions
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