From c4733d211211cd85c17138aca5da78e32f5da695 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Sun, 4 Jan 2009 15:21:22 +0100 Subject: [PATCH] 'added partitiontable cleaning in autoformat' --- usr/share/archboot/installer/setup | 2 ++ usr/share/archboot/keymap/km | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/usr/share/archboot/installer/setup b/usr/share/archboot/installer/setup index 01d611c77..1ff9f878a 100755 --- a/usr/share/archboot/installer/setup +++ b/usr/share/archboot/installer/setup @@ -548,6 +548,8 @@ autoprepare() { # invoke sfdisk printk off DIALOG --infobox "Partitioning $DEVICE" 0 0 + # clean partitiontable to avoid issues! + dd if=/dev/zero of=$DEVICE bs=512 count=1 sfdisk $DEVICE -uM >$LOG 2>&1 <