After switching out the HDD’s what I wish to end up with is a partitioning scheme that includes the following:
-Complete compatibility with Cacko 1.23
-A 512mb Swap Partition (NOT a swap FILE!)
-A 2gb partition formatted with ext3 that is visible from within the Cacko 1.23 environment – It must be possible to install programs onto this drive!
-A 3gb FAT32 partition for hdd3/hda3 so that I can still use the Z as a USB storage device under Windows 2000.
The simple reason being that you cannot have 5 primary partitions on one drive, the maximum is 4 I believe.
but I REALLY want to avoid that performance hit! - For the same reason I desperately do not want to have to settle for the performance of a swap file rather than a Swap Partition!
First off, let me throw out that I don't own a 3100 so I'm unable to guarantee this works perfectly. However, since I don't care about a reward, I don't feel bad giving you a "This should work" solution.
Why do all five need to be primary partitions? Unless there's some really quirky zaurus-related reason, they don't need to be.
So, start a terminal and:
su
fdisk /dev/hda
d 3 #delete partition 3
n p 3 1 +3072M # create a 3GB partition #3
n e 4 (enter) (enter) # create a ~3GB extended partition #4
n l (enter) +512M # create a 512MB partition #5
n l (enter) (enter) # create a 2.5GB partition #6
t 3 b # label partition #3 as FAT32
t 5 82 # label partition #5 as swap
t 6 83 # label partition #6 as Linux
w # write changes back to the disk
Now you've got your five partitions and are back at a command prompt.
mkswap /dev/hda5 # make partition #5 a swap partition
mke2fs -j /dev/hda6 # make partition #6 an ext3fs (-j makes it ext3...)
mkdosfs -F 32 /dev/hda3 # make partition #3 a FAT32 filesystem
Now you've got your filesystems created and just need to update /etc/fstab
load that up in your favorite editor (you need to be root to edit it, so do it from the command prompt, or run "chmod a+rwx /etc/fstab" first so user zaurus can edit it too...)
Change the fstab to add the following lines at the end:
/dev/hda5 (tab) none (tab) swap (tab) sw (tab) 0 0
You haven't specified where you want your new filesystems to be mounted.
Add the following line to your /etc/fstab, replacing /FOO with the mount point you'd like to reach the ext3fs at (/tmp for example [which is probably not a particularly good use of the space ])
/dev/hda6 (tab) /FOO (tab) ext3 (tab) (tab) 0 0
Your new fat32 file system will continue to be mounted in the same place as the old one.
If you'd specify exactly where you want the filesystems, I'm happy to go into much more detail as to the appropriate lines to add to /etc/fstab.
Now reboot.