So ive been practicing using dd and fdisk and diskutil with my USB in preparation for creating my bootable SD card. Im using OSX.
From what I understand, my SD card has to be split into partitions, which have to contain certain things in a certain order. Like boot, rootfs and the actual image? I plan on using this image http://www.cubieforums.com/index.php/topic,1511.0.html
With the USB im practicing on, when i zero it out with sudo dd if=/dev/zero of=/dev/disk1 the partition scheme is gone as well as shown by running diskutil list. I see there are no partitions and for the entire disk TYPENAME comes up blank.
So how would I go about setting up a new partition scheme, basically doing everything I would need to on the SD card. I have the dd command down relatively, Im just unsure of how to structure the SD card ,
You have to use fdisk command. Here is an example taken by this http://www.cubieforums.com/index.php/topic,788.msg4555.html#msg4555 (http://www.cubieforums.com/index.php/topic,788.msg4555.html#msg4555) topic of how to create a suitable SD partition schema. This is a part of creating a Gentoo system on Cubieboard. The SD card is /dev/mmcblk0 device in this guide.
Runing the above commands, you create two partitions (one of 64M for kernel and the rest of SD capacity for your system).
Then you format the first partition in FAT fs and the second in EXT2 fs. I don't know whether you need to alter these steps to suit the distro you want to install, but you can get an idea of what you need to do. Note that in this schema there is no SWAP partition. If you need any clarification on this please ask.
But if you want to use cubeez you will download an image. This image is to be treaten like an iso image for a cd. The image is a bit by bit copy of a bootable sdcard. It contains the partition tables and partitions. Just do a dd to the device. Maybe search the forum for the right command line
That will overwrite all partitions on your sdcard. You should do a backup of your data if necessary.