Unlike the PC, where you can install a boot manager in the boot sector, and use it to select an OS and partition to boot into, dual-booting on the Zaurus is not quite so simple. It's also not widely understood. This guide will attempt to answer dual booting questions, and describe various dual booting scenarios.
NOTE THAT THIS DOC IS IN ITS EARLY STAGES, DO ANY OF THIS AT YOUR OWN RISK!
Dual Boot Caveats
It appears that you can only have one kernel in rom at a time, and that kernel must be compatible with every OS/distribution you intend to boot. Dual/Multiboots are obtained by changing the root device just after the kernel boots (in the init process)
Dual Boot Cacko and pdaXrom
In this scenario, Cacko 1.22 is installed as the main rom, and pdaXrom 1.0.0 will be booted if the SD card containing the pdaXrom root image is inserted at boot time. These instructions were written for the C760
It is unknown at this time whether this works on other versions of Cacko, or with other versions of pdaXrom, or on non-C760's.
- Install Cacko (link to be added for directions)
- Format your SD card as ext2 or ext3
- Directions on how to do that can be found at Step-by-step_CF/SD_fdisk/formatting_for_newbies
- Download the required scripts Dual_C760.zip, and unzip them on the machine.
- Download a pdaXrom tarball. Either pdaX-SD.tar.gz or pdaX-1.0.5-SD.tar.gz
- Next, extract the tarball to the root of the SD card. The command is
gtar -xvpzf pdaX-1.0.5-SD.tar.gzThe trick is that you need to use gtar because you need to use the 'p' flag (preserve permissions). The built-in tar on the Zaurus doesn't have that feature. You have two choices:
- Download a gtar ipkg and install it on your Zaurus
- If you have an SD card reader on a Linux PC, you can use the tar there to extract it onto the card
- Complete these steps:
# mount -o rw,remount / # mkdir /sbin/sys # cp /sbin/init /sbin/sys/init # rm /sbin/init # cp /home/zaurus/init /sbin/init # cp /home/zaurus/pivot_root /sbin/pivot_root # chmod +x /sbin/init # chmod +x /sbin/pivot_root
- Since there are changes on the filesystem in Cacko 1.22, this line in the /sbin/init script needs to be altered:
mount -n -r -t cramfs /boot/usr.bin /usr -o loop
Change it to:
mount -n -r -t squashfs /boot/usr.bin /usr -o loop
- Finally, remount / as read-only and reboot:
# mount -o ro,remount / # reboot
Dual Booting with OZ
Recent OZ distributions ship with a boot manager that appears very flexible. See here: altboot
Dual Booting with BSD
To be added