#!/bin/sh DISKSIZE_MB=16 DISK=disk.img OFFSET=1048576 dd if=/dev/zero of="$DISK" bs=1M count="$DISKSIZE_MB" sfdisk "$DISK" <