Q16: I am using a Cxx0 or C1000. How can I install Debian EABI to my SD card?
From OESF
Q16: I am using a Cxx0 or C1000. How can I install Debian EABI to my SD card?
A16: The installation comes in two parts.
1. Install the Angstrom kernel & Angstrom system;
2. Install the Debian EABI system
Note: -- If your Zaurus is already running with uboot (such as the new pdaXrom versions), then you have to do a NAND Restore to revert to the factory stock rom in order to flash this kernel.
-- If you want to keep using uboot, go to Q20 now.
-- The 2.6.22 kernel (2.6.23 yet to be verified) has troubles with altboot, so don't use it for now unless you know how to solve the problems.
INSTALL THE ANGSTROM KERNEL & ANGSTROM SYSTEM
1. Install the Angstrom 2.6.21 kernel & system in NAND flash area.
Please follow the instructions here: http://www.angstrom-distribution.org/c1000-install-instructions
2. INSTALL THE DEBIAN EABI SYSTEM
2. Install the Debian system
2.1 Repartition and reformat the SD :
Create a linux (preferably Ext3) partition on the SD (for details see: http://www.oesf.org/index.php?title=Multiple_partitions_on_a_CF_/_SD_card )
2.2 Format the partition:
mkfs.ext3 /dev/mmcblk0p1
2.3 Install the rootfs
a. Get the rootfs tarball
b. Uncompress it to the root of the SD:
tar -xvzpf hddrootfs.tar.gz
2.4 Put the 2.6.21 kernel modules on the SD
cp -a /lib/modules /media/card/lib/modules
2.5 Modify some system setting files in the Debian system
The debian boot process looks for init.sysvinit instead of init, so :
cd /media/card/sbin ln -s init init.sysvinit
You need to change the mounted root from the standard /dev/hda1 (Microdrive) for titchy to /dev/mmcblk0p1 (= SD card)
Edit /etc/fstab to make /dev/mmcblk0p1 mount to / and make it bootable. (Remember to remove the lines mounting /dev/hdaX to / because you don't have a microdrive)
2.6 Still in Angstrom : Connect to the net, run
ipkg update && ipkg install altboot
[Notes : You'll have to edit network settings before you can reach your network (/etc/network/interfaces; /etc/resolv.conf contains some kuro-specific-things)]
FIRST BOOT & AFTER INSTALLATION CONFIGURATIONS
3. Reboot
Reboot and hit the "any" key when asked to launch altboot then choose "boot from SD" (the "any" key is the 35th key counting diagonal from the lower left corner or maybe some other key)
At this stage, booting may fail and complain about being "unable to open an initial console".
If that is the case, do this:
cd ../dev ## use the [Tab] key to help you find "/" MAKEDEV console
After that, reboot again.
4. First login
Login: root Root password : (no password)
5. Set up date and time
date MMDDHHMMYYYY ##Example: 102906572007
6. After installation configurations
Please see this thread: http://www.oesf.org/forum/index.php?showtopic=24941
And perhaps you may also be interested to check out this after installation tarball and script, which may save you some time extracting stuff from the Angstrom and pdaXrom packages.
CHANGE KERNELS
If you want to switch to other kernels,
a. First extract and copy the corresponding kernel modules to /lib/modules
b. Prepare the correct kernel image (zImage.bin) and updater.sh and install them in the Flash Menu again.

