Q13: I am using a Cxx0 or C1000. How can I install Debian OABI to my SD card?
A13: The installation comes in two parts. I) Install the Angstrom kernel & Angstrom system; II) Install the Debian system
[The method described here is based on Chero’s post]
==========
Preparation
==========
1. Install the Angstrom 2.6.21 kernel & system in NAND flash area.
1a. Remove baterry, wait 5 secs, place battery and attach AC power.
1b. Press "OK" key and keep it pressed, then press "On/Off" button.
1c. In the maintenance menu, choose "4" (Update) in the first screen, "2" (SD) in the second and "Y" in the third
1d. The kernel will be flashed and Zaurus will be rebooted
[Note: if your Zaurus is running the new pdaXrom versions with uboot, then you have to do a NAND Restore to revert to the factory stock rom in order to flash this kernel.]
[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.]
==========
Installation
==========
2. Install the Debian system
2.1 Repartition and reformat the SD :
-- Create a linux partition on the SD (for details see:
https://www.oesf.org/index.php?title=Multip..._a_CF_/_SD_card )
-- Format the partition : mkfs.ext3 /dev/mmcblk0p1
2.2 Put the system to the SD
-- get the rootfs from
http://www.bigbridgezau.sakura.ne.jp/dev/debian/-- untar it to the root of the SD: Run "tar -xvzpf hddrootfs.tar.gz"
2.3 Put the 2.6.21 kernel modules to the SD
- copy /lib/modules from your NAND to the same location on the SD (/media/card/lib/modules)
2.4 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 and "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)
- cd /media/card/etc and edit fstab to make /dev/mmcblk0p1 mount to / and make it bootable. (Also disable the /dev/hdaX entries because you don't have a microdrive)
2.5 Still in Angstrom : Connect to the net, do an "ipkg update" and then "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)]
==========
1st boot
==========
3.1 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)
3.2 1st login
Login: root
Root password : kuroadmin
[I didn't know this when I first installed it, so I edited /media/card/etc/shadow while running Angstrom and removed the password for root (remove everything between the first ":" and the second ":" on the line beginning with "root")
3.3 Install udev
I don't think udev is installed by default -> first time fiddle with modprobe to load the correct drivers (modprobe orinoco_cs or modprobe hostap_cs), configure your network and then "apt-get install udev"
3.4 Modify /etc/apt/sources.list
You'd better edit /etc/apt/sources.list as well if you don't want to download everything from a japanese server and affect internet speed everywhere between you and Japan or if you want to upgrade to Lenny.
Go back to the main list.