Align partition on 1MiB boundary
[ext/instance-debootstrap.git] / common.sh.in
index 7ce75a5..90924d4 100644 (file)
@@ -91,8 +91,8 @@ format_disk0() {
   # some versions of sfdisk need manual specification of
   # head/sectors for devices such as drbd which don't
   # report geometry
-  sfdisk -H 255 -S 63 --quiet --Linux "$1" <<EOF
-0,,L,*
+  sfdisk -H 64 -S 32 -u S --quiet --Linux "$1" <<EOF
+2048,,L,*
 EOF
 }