Page 1 of 1

EXT4 New OS installed - recover old partition

Posted: 14 Nov 2017, 23:51
by Dibs28
Hi
I stupidly put a fresh install of Ubuntu 14.04 onto my system and created one EXT4 partition as a std installation and realised I have lost my photos folder in the process. Photo rec can recover my photos but doesnt name them properly nor have all the folders that the photos were saved in. So I thought I could recover the partition if the old data was still there. Everytime I run Testdisk on my drive it just shows me the current contents of the system, even using deeper search and not the old data that Photorec discovers. It lists on the deeper search about 5 partitions but they all show the same files which is the new OS folders and it also says non can be recovered because "The harddisk (500 GB / 465 GiB) seems too small!".

Can anyone point me in the right direction to get the folder structure back. I have removed the disk from the system and nothing else has been written to it.

George

Re: EXT4 New OS installed - recover old partition

Posted: 15 Nov 2017, 07:30
by cgrenier
If TestDisk doesn't find your partition, you will have to sort the files recovered by PhotoRec.
See https://www.cgsecurity.org/testdisk.pdf for tips on how to sort jpg files.

Re: EXT4 New OS installed - recover old partition

Posted: 15 Nov 2017, 09:12
by Dibs28
Thank you I will look at that pdf.