--- elwix/Attic/install2dev.sh	2011/07/21 14:26:08	1.1.2.3
+++ elwix/Attic/install2dev.sh	2011/10/18 09:02:05	1.2
@@ -5,7 +5,7 @@
 # (C) AITNET ltd - Sofia/Bulgaria <office@aitnet.org>
 #    by Michael Pounov <misho@elwix.org>
 #
-# $Id: install2dev.sh,v 1.1.2.3 2011/07/21 14:26:08 misho Exp $
+# $Id: install2dev.sh,v 1.2 2011/10/18 09:02:05 misho Exp $
 #
 
 [ -r ./config/rc.elwix ] && . ./config/rc.elwix
@@ -78,7 +78,7 @@ enablejfs()
 boot2dev()
 {
 	echo -n "+++ Installboot to device $1 ... "
-	if disklabel -B $1; then
+	if disklabel -B -b ${WORLD}/boot/boot -m ${TARGET} ${1}; then
 		echo "OK"
 	else
 		echo "Failed!"