echo ""
exit 1
fi
+if [ ! -f ${BOOT_IMAGE} ] ; then
+ echo "Could not find boot image: ${BOOT_IMAGE}"
+ exit 1
+fi
umount ${USB_DEV}1 2>/dev/null 1>/dev/null
+
echo "Reformat USB boot partition"
mkfs.vfat -F 16 -n kubuntu8 ${USB_DEV}1
mount ${USB_DEV}1 ${MOUNT_POINT}/kubuntu8
echo "Could not cd to USB boot partition"
exit 1
fi
+
echo "Detaring boot image ..."
tar xfz ${BOOT_IMAGE}
cd ${CWD}
ls -l ${MOUNT_POINT}/kubuntu8
+
echo "syncing ..."
sync
umount ${MOUNT_POINT}/kubuntu8