Setup compact flash card and copy files

Assuming your CF card is on secondary master it should show up as hdc

# fdisk /dev/hdc
Command (m for help): d

Which deletes any existing partitions

Command (m for help): n

Which creates new partitions. We want to create 3 primary partitions. #1 should be big enough to hold your compressed image plus another few MB for the kernel “vmlinuz”

Command (m for help): a
Partition number (1-4): 1

Which makes partition #1 bootable. Now write the changes and exit

Command (m for help): w

Now we need to format the partitions

# mke2fs /dev/hdc1
# mke2fs /dev/hdc2
# mke2fs /dev/hdc3