well done but as you probably already know a reboot solves many problems, hence my suggestion !
I read the topic, didnt read it all but are you using fdisk to partition or another program, also is it the card that your partitioning - just interested and cant be bothered to read it all
Infact...