From aa80222dfd8b99da392236d139517076b3292cf6 Mon Sep 17 00:00:00 2001 From: Mark Pustjens Date: Fri, 5 Mar 2010 22:19:41 +0100 Subject: add the `-D' option to the sfdisk call. This causes some extra space to be saved for the MBR, which is needed for grub2 in some cases. http://www.mail-archive.com/arch-general@archlinux.org/msg11100.html --- src/core/libs/lib-blockdevices-filesystems.sh | 2 +- tests/runtime/automatic-reuse-fs-sda/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/libs/lib-blockdevices-filesystems.sh b/src/core/libs/lib-blockdevices-filesystems.sh index c0fe3ad..e6227b9 100644 --- a/src/core/libs/lib-blockdevices-filesystems.sh +++ b/src/core/libs/lib-blockdevices-filesystems.sh @@ -368,7 +368,7 @@ partition() # invoke sfdisk debug 'FS' "Partition calls: sfdisk $DEVICE -uM >$LOG 2>&1 <<< $sfdisk_input" printk off - sfdisk $DEVICE -uM >$LOG 2>&1 <$LOG 2>&1 <