I was playing with my computer attempting to install Ubuntu 12.04.2 LTS i386, and I accidentally converted my C:\ with Windows on it to EXT4, and Windows hangs on boot. All of windows is still on the drive, along with the files, but I really want to use Windows again. All I need to know is how to convert back to NTFS without losing windows. Any help would be appreciated.
3 Answers
Despite what some other people are suggesting, formatting a partition generally doesn't erase all the data on it. However it doesn't exactly keep them either. It wipes the file table that records what files are stored on the partition and where. Generally the data for all the files will be there, but as you start using the partition it will get overwritten with new files. You are unlikely to be able to go back to NTFS and have all the files, directory structure etc exactly as it was before. You are unlikely to be able to get Windows to boot properly without reinstalling it. You should be able to recover most of the files using a file recovery tool such as TestDisk or PhotoRec, but there is no garauntee.
I'm sorry to say it, but I believe you formatted your C: to EXT4, which erases all data on it. Like psusi said, there is no way to "convert" NTFS to EXT4 - you must be getting mixed up with formatting. Again, if this is true, all data has been lost. Be more careful next time; it even warns you!
CITATION: Convert filesystem NTFS -> EXT4?
Use TestDisk (http://www.cgsecurity.org/wiki/TestDisk) to undelete the files. Save the recovered files to an external drive. Then, reformat EXT4 to NTFS. Lastly, move the files from the external drive to the new NTFS filesystem.
edit
under your question to edit it, and add the image. Add it by using the theimg
button next to those B and I buttons.