From 9d7a7a579f8e0925d64ab294019bf3f255d8036c Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Wed, 2 May 2012 21:26:54 -0700 Subject: [PATCH] Align partition on 1MiB boundary MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- common.sh.in | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) 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" <