mkdir -p /tmp/$partition
if /bin/mount -o ro -t msdos,ext2 /dev/$partition /tmp/$partition 2>&1 > /dev/null ; then
# Look for the first ISO image
for iso in /tmp/$partition/*.iso ; do
if /sbin/losetup /dev/loop0 $iso ; then
mkdir -p /tmp/$partition
if /bin/mount -o ro -t msdos,ext2 /dev/$partition /tmp/$partition 2>&1 > /dev/null ; then
# Look for the first ISO image
for iso in /tmp/$partition/*.iso ; do
if /sbin/losetup /dev/loop0 $iso ; then