From: Steven McDonald
-$ mkdir /tmp/cdebootstrap && cd /tmp/cdebootstrap
-$ ar x /path/to/cdebootstrap-static_0.5.8+b1_armhf.deb data.tar.gz
+$ mkdir /tmp/cdebootstrap && cd /tmp/cdebootstrap
Obviously, replace $PHONE with the hostname of your phone.
@@ -126,9 +126,9 @@ So, ssh to your phone, and run the following commands:
+$ ar x /path/to/cdebootstrap-static_0.5.8+b1_armhf.deb data.tar.gz
$ tar xzOf data.tar.gz ./usr/lib/cdebootstrap/cdebootstrap_0.5.8+b1_armhf.tar.gz | ssh root@$PHONE 'tar xz -C /data/local/bin/'
-# dd if=/dev/zero of=/mnt/sdcard/debian.img bs=1024 count=2000000
-# mke2fs -Fj /mnt/sdcard/debian.img
-# mkdir /debian
+# dd if=/dev/zero of=/mnt/sdcard/debian.img bs=1024 count=2000000
+# mke2fs -Fj /mnt/sdcard/debian.img
+# mkdir /debian
# mount -t ext3 -o noatime,errors=remount-ro /mnt/sdcard/debian.img /debian