From a6b6699daff82984218f0d804de1cd0660ec1ab2 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 27 Jun 2009 23:01:16 +0200 Subject: fix timing problem - there seems to be a timing problem, when changing partition id. cf disk partition was always empty. strange. --- scripts/install.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'scripts') diff --git a/scripts/install.sh b/scripts/install.sh index 520d166a2..5cb5e01f4 100755 --- a/scripts/install.sh +++ b/scripts/install.sh @@ -156,7 +156,9 @@ if [ $rb532 -ne 0 ];then $parted -s $1 set 1 boot on $sfdisk --change-id $1 1 27 $sfdisk --change-id $1 3 88 - dd if=$3 of=${1}1 + sleep 2 + sync + dd if=$3 of=${1}1 bs=2048 sync else rootpart=${1}1 -- cgit v1.2.3