Since there are only two kernels on a Zaurus, I suspect the emergency kernel is zImage2 - the same as used when you are updating the device. When you zero the device there's probably no kernel running at all, since this seems to be completely implemented in diagnostics code.
Speaking about that... I'd really like to have that code released
[div align=\"right\"][a href=\"index.php?act=findpost&pid=78164\"][{POST_SNAPBACK}][/a][/div]
Zeroing is handled on Sharp ROMs by the /root/etc/rc.d/rc.rofilesys
It picks up some parameters which seem to be added to the boot process by using option 3,1 on the Japanese menu.. it does actually boot into the live Linux when you do this. If you wanted to implement this for OZ then you really need to look at that file..
Look around this area.....
....
#ZAURUS_RESET=HARD
if [ "$ZAURUS_RESET" = "HARD" ]; then
STRING=$"Starting filesystem: "
msg -n $STRING
# mount /home
/sbin/eraseall $RW_MTD 2> /dev/null > /dev/null
mount -t jffs2 -o rw,noatime $RW_MTDBLK /home
cd /
tar xf /root/.home_default.tar
....
Hope this helps the efforts,
Andy