I have a dual boot, win7 and ubuntu, system and started to format an empty partition on the drive while in win7, but in my haste thought that I had not started the formatting, reselected the partition ( which turned out to be home ) to format and started again. I realized that the empty partition was being formatted and that my ubuntu home partition was queued to be formatted and canceled it. So my ubuntu home was not formatted but had been changed from ext3 to ntfs. Clearly this stupid act buggered up grub, so using live CD, I can see with GParted that the home partition still has it data, but is now inaccessible. Can I fix my error? Change back my home from ntfs to ext3? Can I fix my home partition? [Hasty is stupidity] :(
closed as too localized by jrg♦ Dec 26 '12 at 1:15
This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.
Boot from live media.
Change the partition type of the disk:
Enter the right partition number Select the right type...83 for ext3 Print the partition table and check your work:
Write changes to disk:
As long as your data is not overwritten you can get it back. But its better to get back your whole partition :). There are lots of tools out there that can help you recover your partition. It has been a few years since I did this, but Ubuntu Rescue Mix has saved my partitions a couple of times now. There are several tools bundled with it, including the testdisk utility that will help recover your partition meta data.
If you can not recover the partition (which I doubt will happen) you can recover any important data such as videos or pictures that you may have on that partition using a utility called foremost. It will search the partition looking for clues to extract files of a type that you will specify. But as I said, hopefully it does not come down to this.
Its much better to use GParted or other opensource partitioning tools that actually understands what an Ext3 or Ext4 is :). Hope you get all your partition back easily.