mount -o nolock,proto=tcp nfsserver:nfsdir /mntSetup drive
fdisk /dev/sda >/dev/null d w
dd if=/dev/zero of=/dev/sda bs=512 count=1
fdisk /dev/sda n p t 7 a 1 wFormat drive
mkntfs -f /dev/sda1Restore MBR
dd if=imagedir/mbrfile of=/dev/sda bs=446 count=1Download task (wim image)
wimapply imagedir/img.wim 1 /dev/sda1