FAT problems
HDD access is now working fine, the problems I mentioned earlier were all slight configuration issues (like not turning on IDE disk support
whoops!). So now we come to the issue of how to stick our Linux rootfs onto the disk. I was hoping we could just mount the data partition and stick a filesystem image in there, but it looks like things won't be that simple. Linux refuses to mount the data partition claiming both the primary and backup FATs are corrupt. I tried reformatting the partition using mkfs.vfat and all works fine for Linux, however now PalmOS doesn't see anything on the partition and tries to recover a bunch of 'lost clusters'. Hmm.
My suspicion is that Linux and PalmOS must be intepreting the location of the FATs differently. It should be fairly straightforward to track down what's going on and modifying the Linux FAT driver so it can understand the PalmOS FAT32 format but right now I'm more interested in quickly hacking together something that will work.
So, for my next trick, I will attempt to resize the data partition, tack a Linux filesystem onto the end of the drive and then pull a rabbit out of the SD slot. 







