0

I used Ubuntu via Live CD on my lenovo laptop which had Windows 8.1 installed on it. Then I decided to install Ubuntu and while doing that I accidentally click next when it said wipe Windows and install Ubuntu, after which my whole HDD got formatted in some weird partition and all my data (250 GB) got lost.

So I tried putting my HDD in an external case and connecting it to another laptop to recover my data with software like (Get Data Back) but when I connected my laptop HDD to another computer and went to management page to initialize the disk it keeps showing data redundancy error, I've tried every single way to get my HDD showing on windows but its not working. Although it still shows in Ubuntu which means my HDD is in good state, so can someone please tell me how to get my Windows partition back so that I can recover my data ?

Elder Geek
  • 36,752
user304713
  • 9
  • 1
  • 2

2 Answers2

0

If you overwrote your original Windows partitions with with Linux partitions and installed the whole operating system on it, it might not be possible to get back a lot of data. If you really require the old data, the first thing you need to do is stop using the hard-disk to boot Linux from it.

Connecting the hard-disk to a second PC is a good idea. Tools like Get Data Back should be able to help you to recover data that is not yet overwritten with new data. For help with GDB you would need to contact their support.

If that does not work out, and the data is valuable enough to you, try a professional service like http://www.data-recovery-software.net/.

noleti
  • 4,103
  • 28
  • 27
0

I guess you have two separate problems: the formatting and the HDD type.

First, if you selected the option to format the HDD...the entire HDD, then you are stuck. All of your data is gone and trying to get it to a drive type that is compatible with Windows won't get it back.

Second, Windows and Ubuntu uses a different drive type. Windows uses NTFS and Ubuntu uses ext4 (among others). You can use programs such as gparted to change from one drive type to another. As you are already doing, you can use an external enclosure but try booting into Ubuntu instead of Windows. There are other programs, too, but gparted should be on your Ubuntu boot disk and it is friendlier than the command-line programs.

You may also confirm if the HDD has been formatted. Take a look at gparted screen shot. In the top picture, it shows a 60 GB HDD on /dev/sda which has been partitioned into multiple parts that include ntfs, ext4, and linux-swap. If you see that, then there is hope. That might mean that the Windows partition is still intact and you just need Windows to see it.

Based on what you're describing, it sounds like what you may end up seeing is one or multiple blocks that all say ext4, linux-swap, etc. And nothing that is still ntfs. If that's the case, then your data is probably gone -- your NTFS partition has been deleted and replaced with Linux-compatible partitions. As far as I know, there is no way to recover the data.

Ray
  • 2,200