9

I was installing ubuntu 12.04 on my system. There were 4 partitions on my system and I selected one of the four partition for the installation and chose the option of resizing the partition. Initially my partition was of size 100+GB and i created another partition out of it of size 15GB (EXT4). Now the moment I changed this partition structure my original partition got lost along with its data and I am left with 50GB partition and 50GB unallocated free space.

Now the data that I have lost is meant a lot to me and I want to recover that data. So is there any way I can recover it? And I haven't checked "format" option while resizing the partition.

4

2 Answers 2

6

Warning: If you follow these instructions you must install testdisk on a different Ubuntu system than the one you're trying to recover (for example, you could install it in a live environment, or you could put the hard disk into another computer that has Ubuntu on it). If you install anything on a disk from which you wish to recover data, or save anything to it, it becomes far harder to recover anything because more data are overwritten.

You can try testdisk to recover it. I hope you can recover it, because you didn't formatted the space it. Only the partition table is changed.

Install it via Software center testdisk Install testdisk

or by using sudo apt-get install testdisk command in the terminal.

Then run it with sudo command, i.e sudo testdisk. Please Don't forget to read the manual of it. manpage for the testdisk command Manpage icon

3
  • Just one question - if you restore a partition incorrectly, does that overwrite the partition that you actually wanted to recover? Aug 31, 2020 at 20:46
  • 1
    @SridharSarnobat Yes, It can
    – Anwar
    Sep 1, 2020 at 21:48
  • I had a terrible experience with testdisk. I'm using gdisk in future. Sep 1, 2020 at 21:50
3

You can use Ubuntu-Rescue-Remix

Ubuntu-Rescue-Remix provides a robust yet lean system for data recovery and forensics. No graphical interface is used; the live system can boot and function normally on machines with very little memory or processor power. Following Ubuntu's six-month release schedule, all the software is up-to-date, stable and supported.

Ubuntu-Rescue-Remix features a full command-line environment with the newest versions of the most powerful free/libre open-source data recovery software including GNU ddrescue, Photorec, The Sleuth Kit, Gnu-fdisk and Clamav.1

To download click Here

See this link for details about how to burn the ISO image to make a bootable CD.

1Source:Ubuntu Rescue Remix

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .