I was able to convert the Antz DVD into a ISO image using the following script:
#!/bin/bash
DEV=$1 ISO=$2
if [ -z "$DEV" ] then echo "Usage: $0 <DEVICE> <IMAGENAME>" exit 1 fi if [ -z "$ISO" ] then echo "Usage: $0 <DEVICE> <IMAGENAME>" exit 1 fi
BS=$(isoinfo -d -i $DEV | grep "block size" | awk '{print $5}') VS=$(isoinfo -d -i $DEV | grep "Volume size" | awk '{print $4}')
dd if=$DEV of="$ISO" bs=$BS count=$VS
I was able to convert the Antz DVD into a ISO image using the following script:
#!/bin/bash
DEV=$1
ISO=$2
if [ -z "$DEV" ]
then
echo "Usage: $0 <DEVICE> <IMAGENAME>"
exit 1
fi
if [ -z "$ISO" ]
then
echo "Usage: $0 <DEVICE> <IMAGENAME>"
exit 1
fi
BS=$(isoinfo -d -i $DEV | grep "block size" | awk '{print $5}')
VS=$(isoinfo -d -i $DEV | grep "Volume size" | awk '{print $4}')
dd if=$DEV of="$ISO" bs=$BS count=$VS