When running "mount DEV MOUNTPOINT" for the device provided by the fromiso= boot
option, Squeeze's busybox errors out with:
Mounting $DEV on /isofrom failed: No such file on directory.
Using mount -t auto fixes the bug.
echo "Warning: device for bootoption isofrom= ($FROMISO) not found.">>/live.log
else
mkdir /isofrom
- mount "$ISO_DEVICE" /isofrom
+ mount -t auto "$ISO_DEVICE" /isofrom
ISO_NAME="$(echo $FROMISO | sed "s|$ISO_DEVICE||")"
loopdevname=$(setup_loop "/isofrom/${ISO_NAME}" "loop" "/sys/block/loop*" "" '')
devname="${loopdevname}"