May have information you need.
I can't tell what's wrong with what you have written, but this is my guess:
The Intel PC architecture supports four regular (called Primary) partitions. If you want to make more than that, you make three normal Primary Partitions and your fourth partition is an Extended Partition (which is a special type). The Extended partition can then get divided into additional Logical Partitions.
So let's say you have a 160 GB disk and you want to divide it into 5 31 GB partitions and 1 5 GB swap partition. Your partition setup would look like this:
sda1 (or hda1) 0-31GB Type ext3, NTFS, whatever (Primary)
sda2 (or hda2) 31-62GB Type ext3, NTFS, whatever (Primary)
sda3 (or hda3) 62-93GB Type ext3, NTFS, whatever (Primary)
sda4 (or hda4) 93-160 GB Type Extended (Extended)
sda5 (or hda5) 93-124 GB Type ext3, NTFS, whatever (Logical)
sda6 (or hda6) 124-155 GB Type ext3, NTFS, whatever (Logical)
sda7 (or hda7) 155-160 GB Linux Swap (Logical)
So the fourth real partition is designated Extended and gets subdivided into the last three logical ones. Make sense?
If you have more than 4 partitions on an Intel machine, the fourth partition MUST be extended.