[G1 Android Development] Sirus20x6:
ok im going to remove some junk so i can read the output the new installer.sh looks like

su ./fsrw
mkdir /data/local/mnt

cp fsrw /data/local/bin
cp bootdeb /data/local/bin
cp unionfs /data/local/bin
cp installer.sh /data/local/bin
cp mountonly /data/local/bin
cd /sdcard/debian
chmod 4777 *
cd /data/local/bin/
chmod 4777 *
cd /

new boot deb looks like

chmod 4755 *
export PATH=/data/busybox:$PATH

export PATH=/system/modules:$PATH
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
echo "Android Filesytem remounted as read/write"
export kit=/sdcard/debian
export bin=/data/local/bin
export mnt=/data/local/mnt
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
busybox insmod ext2
insmod ext2
mknod /dev/loop2 b 7 0
mount -o loop,noatime $kit/debian.img $mnt
mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys
echo "Starting init process"
sleep 1
echo "INIT: Debian booting....."
sleep 1
echo "Running Linux Kernel"
sysctl -w net.ipv4.ip_forward=1
sleep 1
echo "AutoMounter started"
sleep 1
echo "Type EXIT to end session"
echo " "
chroot $mnt /bin/bash

#After exit command is executed clear it all up
busybox umount -f /data/local/mnt/dev/pts /data/local/mnt/proc /data/local/mnt/sys /data/local/mnt

echo "Filesystems have unmounted"
sleep 3
busybox losetup -d /dev/block/loop2
echo "Debian down"
echo "http://www.androidfanatic.com"
echo "Reverted back to Android console"

and output

# cd /sdcard/debian
# ls
bootdeb ext2.ko installer.sh unionfs
debian.img fsrw mountonly unionfs.ko
# su installer.sh
su: unknown id: installer.sh
# su ./installer.sh
su: unknown id: ./installer.sh
# sh ./installer.sh
su: unknown id: ./fsrw
mkdir: cannot create directory '/data/local/mnt': File exists

# bootdeb
insmod: /lib/modules/2.6.25-01843-gfea26b0: No such file or directory
insmod: /lib/modules: No such file or directory
insmod: ext2.ko: module not found
insmod: /lib/modules/2.6.25-01843-gfea26b0: No such file or directory
insmod: /lib/modules: No such file or directory
insmod: ext2.ko: module not found
mknod: /dev/loop2: File exists
mount: cannot setup loop device: No such file or directory
mount: mounting devpts on /data/local/mnt/dev/pts failed: No such file or directory
mount: mounting proc on /data/local/mnt/proc failed: No such file or directory
mount: mounting sysfs on /data/local/mnt/sys failed: No such file or directory
Starting init process
INIT: Debian booting.....
Running Linux Kernel
net.ipv4.ip_forward = 1
AutoMounter started
Type EXIT to end session

chroot: cannot execute /bin/bash: No such file or directory
umount: forced umount of /data/local/mnt/dev/pts failed!
umount: cannot umount /data/local/mnt/dev/pts: No such file or directory
umount: forced umount of /data/local/mnt/proc failed!
umount: cannot umount /data/local/mnt/proc: No such file or directory
umount: forced umount of /data/local/mnt/sys failed!
umount: cannot umount /data/local/mnt/sys: No such file or directory
umount: forced umount of /data/local/mnt failed!
umount: cannot umount /data/local/mnt: Invalid argument
Filesystems have unmounted
losetup: : No such device or address
Debian down
http://www.androidfanatic.com
Reverted back to Android console
#

/lib/modules/2.6.25-01843-gfea26b0 is in /system/modules though