SD card problem on Mega, can a card go faulty via SPI but still work in PC?

Could try the SDfat.h library instead of Sd.h
http://code.google.com/p/sdfatlib/

fat16lib updates it regularly and is in the forum quite frequently as well.