From: Iustin Pop Date: Thu, 3 May 2012 04:26:54 +0000 (-0700) Subject: Align partition on 1MiB boundary X-Git-Tag: v0.11~5 X-Git-Url: http://git.equinoxoli.org/?p=ext%2Finstance-debootstrap.git;a=commitdiff_plain;h=9d7a7a579f8e0925d64ab294019bf3f255d8036c Align partition on 1MiB boundary Currently, the partition we create in 'msdos' style partitioning is not aligned to any particular offset, and instead starts simply after the MBR on sector 1. This creates problems with grub for example, which doesn't have space for embedding. To fix this and make the partitioning more standard, let's align it on a 1MiB boundary. Signed-off-by: Iustin Pop Reviewed-by: René Nussbaumer --- diff --git a/common.sh.in b/common.sh.in index 7ce75a5..90924d4 100644 --- a/common.sh.in +++ b/common.sh.in @@ -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" <