I have installed ubuntu over my windows 10 by mistake.I already had a ubuntu partition so i tried to reinstalled ubuntu but actually i installed it on windows partition and all my partitions are lost.I had my important data on windows partitions.So please help me out to recover that data.I tried testdisk from live usb but it only displays files on ubuntu. I have not used my installed ubuntu so the files are not overwritten.So please provide me ways to recover data.
Now , i have tried recovering using testdisk.In quick search i am unable to find the lost partitions and in deeper search the search space system uses is 1700 gb while my actual hdd size is 500 gb which is displayed correctly at the start and after the deep search it asks me to check bios setting and jumper settings.Please help me out ...