Update contact information
[www.git] / tutorials / debian_on_samsung_galaxy.shtml
index 7fa4560bf63fc50f135288bbd50cc21782583075..885d7e5bee6cfd925f87c43738fa5e9c544099a6 100644 (file)
@@ -21,7 +21,7 @@ AND on the tutorials index page!
 -->
 
 <h1>Installing Debian GNU/Linux in a chroot on a Samsung Galaxy S II</h1>
-<p><em>(Last updated 2011-11-25)</em></p>
+<p><em>(Last updated 2011-11-26)</em></p>
 
 <p>
 There are numerous how-tos on the web for installing a Debian chroot onto
@@ -109,8 +109,8 @@ execute the <tt>cdebootstrap</tt> binary -- so don't put it in
 <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>
@@ -157,14 +157,14 @@ again. :-(
 </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>
 
@@ -314,6 +314,16 @@ For usage information, please refer to the <tt>README</tt> in that git
 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"-->