Please make thread titles descriptive. You do not need to root or hack a phone to wipe your SD card and unless you're running darktremors a2sd, SD cards are not necessary for a phone, rooted or otherwise, to function.
You have two questions/issues here
1) You formatted your SD card. What if anything can you do. Answer = Unless you back it up frequently, nothing. When you get the phone booted it will install all it's necessary stuff onto the SD card after it mounts. But that brings us directly to #2
2) You're in a boot loop. See sfhub above as he's going to get that fixed for you.
The issues are independent of each other.