I'm not sure why it changed to raw, but you may want to get a program called testdisk to repair it. I believe it's in the repos. Just search software center or install it via apt-get like so:

sudo...