From e64de6ec768f9f31967f6ada22ace4d31ab63d1f Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 15 Aug 2010 09:53:16 +0200 Subject: [PATCH] fixed guid partsize to 2, 1 is not enough --- usr/share/archboot/installer/setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index 3e33c028c..c92977e43 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -1620,7 +1620,7 @@ autoprepare() { [ "$(which mkfs.jfs 2>/dev/null)" ] && FSOPTS="$FSOPTS jfs JFS" # create 10MB bios_grub partition for grub2 support if [ "$GUIDPARAMETER" = "yes" ]; then - GUID_PART_SIZE="1" + GUID_PART_SIZE="2" else GUID_PART_SIZE="0" fi @@ -1826,7 +1826,7 @@ parted_gpt() { if [ "$CREATE_BIOS_GRUB" = "1" -a "$GUID_DETECTED" = "" ]; then # assume new partitiontable,if no GUID was already there, # no user interaction needed for bios_grub partition, jippie - GUID_PART_SIZE="1" + GUID_PART_SIZE="2" parted -s $DISC mkpart 1 ext2 0 $GUID_PART_SIZE >$LOG parted -s $DISC set 1 bios_grub on >$LOG else