Had to modify a lot of the backtrackV5-script to make it kill and unmount correctly, as well as the init.sh because it seemed to be a carryover from an ubuntu image, I have provided below the files that work on MY system, you may still need to change some things to reflect your lan connection, etc.
Also if anyone runs into issues with losetup not unmounting the loop device run a lsof |grep /data/local/mnt to see if there's still any processes using the loop, then kill them, umount /data/local/mnt and losetup -d /dev/block/loop255
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Had to modify a lot of the backtrackV5-script to make it kill and unmount correctly, as well as the init.sh because it seemed to be a carryover from an ubuntu image, I have provided below the files that work on MY system, you may still need to change some things to reflect your lan connection, etc.
/root/init.sh
http://paste.debian.net/173598/
and
backtrack.sh
http://paste.debian.net/173602/
Last edit: Matlock 2012-06-09
Also if anyone runs into issues with losetup not unmounting the loop device run a lsof |grep /data/local/mnt to see if there's still any processes using the loop, then kill them, umount /data/local/mnt and losetup -d /dev/block/loop255