HOWTO install OpenBSD on a Zaurus C3000
- First of all, prepare a Compact Flash card with a MSDOS partition
and put zboot, zbsdmod.o, and bsd.rd on it.
You will find those files on any OpenBSD FTP mirror in
/pub/OpenBSD/snapshots/zaurus
- Remove power and the battery.
Begin holding down the b and d keys.
Insert battery and power on unit.
As soon as a login screen starts to show up, release the b
and d keys.
Login as root.
- mount /dev/hdc1 /mnt/cf (CF device name can differ)
- mkdir /mnt1 && mount /dev/mtdblock2 /mnt1
- cp /mnt/cf/zboot /mnt/cf/zbsdmod.o /mnt1/root/etc/rc.d
- cd /mnt1/root/etc/rc.d
- Create a new file called rc.zboot
- Anker the rc.zboot file into
/mnt1/root/etc/rc.d/rc.rofilesys so it gets executed at boot time,
like that:
71c71
< /etc/rc.d/init.d/pcmcia start
---
> /etc/rc.d/init.d/pcmcia start; sh /root/etc/rc.d/rc.zboot
170c170
< /etc/rc.d/init.d/pcmcia start
---
> /etc/rc.d/init.d/pcmcia start; sh /root/etc/rc.d/rc.zboot
239c239
< /etc/rc.d/init.d/pcmcia start
---
> /etc/rc.d/init.d/pcmcia start; sh /root/etc/rc.d/rc.zboot
- insmod /mnt/root/etc/rc.d/zbsdmod.o
- cp /mnt/cf/bsd.rd /proc/zboot
(OpenBSD ramdisk kernel will boot now)
- Do the OpenBSD installation
- Reboot