<tt>/mnt/sdcard</tt>, as this is mounted with the <tt>noexec</tt> mount
option. These files are nicely ready for us in a tarball located at
<tt>./usr/lib/cdebootstrap/cdebootstrap_0.5.8+b1_armhf.tar.gz</tt> inside
-the package, so you can just pipe the contents of this tarball to ssh and
-extract it on the phone. I'm going to put it into
+the package, so you can just pipe the contents of this tarball to
+<tt>ssh</tt> and extract it on the phone. I'm going to put it into
<tt>/data/local/bin/</tt>, because that's already in the default
<tt>$PATH</tt> so I don't have to care about it again.
<code>
</p>
<p>
-So, ssh to your phone, and run the following commands:
+So, <tt>ssh</tt> to your phone, and run the following commands:
</p>
<code>
# dd if=/dev/zero of=/mnt/sdcard/debian.img bs=1024 count=2000000<br>
# mke2fs -Fj /mnt/sdcard/debian.img<br>
# mkdir /debian<br>
-# mount -t ext3 -o noatime,errors=remount-ro /mnt/sdcard/debian.img /debian
+# mount -t ext3 -o noatime,errors=remount-ro /mnt/sdcard/debian.img /debian<br>
# for fs in /dev /proc /sys; do mount -o bind "$fs" "/debian$fs"; done
</code>
repository.
</p>
+<h2>Security considerations</h2>
+
+<p>
+Doing everything as root is less than desirable; however, Android seems
+to have prevented ordinary users from doing things such as resolving
+hostnames. When I have time, I'd certainly like to fix this properly, but
+for now, it seems a Debian chroot on Android must be used as root in
+order to be useful.
+</p>
+
</div>
<!--#include virtual="/footer.shtml"-->