I installed the image from a while back onto my Pi's USB stick and am now trying to get it integrated into my custom partitioning setup on my SD card.
However, whenever I try to partition my SD card, *WHATEVER* I try to make those partitions, it ALWAYS gives me some sort of error if not when writing to the card, then when reading back from it. For example, look at the following output (transcribed by hand, there may be typos):
# size offset fstype [fsize bsize cpg/sgs]
a: 3000000 20756480 4.2BSD 0 0 0 # (Cyl. 5147*- 5891*)
b: 852288 23756480 swap # (Cyl. 5891*- 6103*)
c: 30367744 0 unused 0 0 # (Cyl. 0 - 7531*)
Label disk [n]?y
writedisklabel: Invalid partition format
disklabel: ioctl DIOCWDINFO: Operation not permitted
Label not written
I've tried clearing the label (which appears to be stored in the 512-byte sector after the MBR...) to null bytes using dd, I've tried using various edit modes of disklabel, nothing I've tried works.
What am I doing wrong?