There's a small typo in the install.sh script which turns two arguments into one: === modified file 'install.sh' *** install.sh 2012-06-28 02:57:10 +0000 --- install.sh 2012-07-15 20:39:48 +0000 *************** *** 306,312 **** [[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1 mkdir -p "$mountpoint_ubuntu" skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')" ! mount -o "loop,offset=${skip}" -t auto "$image_name_raw $mountpoint_ubuntu" || exit 1 rm "${mountpoint_ubuntu}SWAP.swap" cp -av "$mountpoint_ubuntu"* "$mountpoint_target" umount "$mountpoint_ubuntu" --- 306,312 ---- [[ -f "$image_name_raw" ]] || ( [[ -f $image_name ]] && zcat $image_name > "$image_name_raw" ) || (wget "$url" && zcat "$image_name" > "$image_name_raw" ) || exit 1 mkdir -p "$mountpoint_ubuntu" skip="$(parted -m $image_name_raw unit B print | grep '^2' | cut -d: -f2 | sed 's/B//')" ! mount -o "loop,offset=${skip}" -t auto $image_name_raw $mountpoint_ubuntu || exit 1 rm "${mountpoint_ubuntu}SWAP.swap" cp -av "$mountpoint_ubuntu"* "$mountpoint_target" umount "$mountpoint_ubuntu"