I had this problem also and returned my HD2 and got another one which had the same problem.
The thing is that it seems that the HD2 has issues when sd cards are inserterd.
Format your card on a pc and then on your phone.
Copy/ past the files photo's or mp3's via active sync.
It worked for me.
Its a firmware problem among other problems that are revealing now.
I hope this helps you.