Browse Source

fix timing problem

- there seems to be a timing problem, when changing partition
 id. cf disk partition was always empty. strange.
Waldemar Brodkorb 16 years ago
parent
commit
a6b6699daf
1 changed files with 3 additions and 1 deletions
  1. 3 1
      scripts/install.sh

+ 3 - 1
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