Archlinux on the desire, chroot inside
Here is how to install/use archlinux on the desire :
What you need :
-Rooted phone
-a2sd (Paul has included busybox in a2sd zip)
-an ext2 partition on the SD
-the following tarball :
http://www.4shared.com/file/wlu7e8g9...m-basetar.html - dae1d0dfbbfe6ba88a8f95958648f463 - Thanks jayshah
Credit : CalimeroTeknik (irc.freenode.net/archlinux-fr) has make everything, i have just uploaded the tarball and write this howto
WARNING : This is provided without any warranty, if you brick your phone because of that, I (desmopro) and CalimeroTeknik cannot be held responsible.
1: Extract the tarball inside a folder of the ext2 SD (/system/sd/) , yes you have RW inside this folder.
Quote:
mkdir /system/sd/archdroid
mv /sdcard/arch-arm-base.tar.bz2 /system/sd/archdroid/
cd /system/sd/archdroid/
tar xvvzf arch-arm-base.tar.bz2
|
2: Launch chroot
You can launch chroot with script named chroot.sh at root of archlinux folder,
After launching, you can see many terminal error, execute "export TERM=linux", after that you can use SSH (is better than ADB) by launching /etc/rc.d/sshd start
3: Configure your system
Its a base, so you need some package, install base-devel and yaourt (follow
http://archlinux.org wiki for that)
Warning : yaourt 0.9.3.0 or superior not work, you need to use yaourt 0.9.2
4: Some arm repository ?
add on /etc/pacman.conf :
[archlinuxfr]
Server =
http://repo.archlinux.fr/arm/
5: About stop chroot :
Before execute exit from adb chroot, dont miss to close all Archlinux process (ssh, ...) if you not make it, you need to restart your phone before return to the chroot)