So, I was resizing my windows partition using gparted, like I often do, however, I stupidly decided to do it without plugging in my power supply for my macbook, and the computer ran out of battery while the resizing process was happening. Now, gparted states that dev/sda4, my windows partition, has an unknown filesystem, and my windows partition also doesn't show up in Mac OS X finder or the option-key menu at boot anymore, which leads me to believe that either the file system information or the boot information was lost when my computer shut down. Also, I was resizing my windows partition from 115 to 135gb, and gparted states that dev/sda4 is 135gb, so my computer probably shut off after the size-increasy part. I have two ideas of how to fix it at the moment. I have a Windows 8 installation disk that I can use as a repair disk, and I was also going to try using ntfsprogs in a Ubuntu live CD to see if that fixes it. However, since I'm too scared of losing my data before I accidentally overwrite anything, I decided to try and back up my important files, so I dried to mount it in Ubuntu. Strangely enough, when I ran fdisk in ubuntu, it stated that dev/sda4 was actually fat32 system instead of ntfs, and I have no idea why. I tried to mount dev/sda4 as both a fat32 system and a ntfs system, however, in both cases, terminal stated that dev/sda4 did not exist, even though it showed up in fdisk.
Anyone else accidentally shut off their system during partion resizing? There's probably different levels of severity based on where the process was, but I hope none of my personal files were deleted. I really don't mind if I have to erase my partition and reinstall Windows, (although I'd rather not) but I do want to find some way to mount the drive to back up my important files?