Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
    
See also help.ubuntu.com/community/DataRecovery and further info by the author of Testdisc, Christoffe Grenier: cgsecurity.org/wiki/TestDisk_Step_By_Step not to mention the ubuntu manpage for testdisk –  methuzla Nov 24 '12 at 15:57
    
For the sake of completion, there's also an old thread at the Ubuntu Forum explaining how to recover deleted partitions using gpart. –  Luís de Sousa Dec 10 '13 at 9:59
    
thanks for all the hints. I've had a similar issue and the above mentioned Testdisk utility did a great job for me, recovering exactly the state as it was before erasing the partition, thus I have lost no data. More precisely, I have: 1. booted from the Ubuntu-Rescue-Remix DVD (mentioned above) into live mode 2. used the testdisk utility (available right away, no need for internet connection and/or apt-get install testdisk). I have followed the steps from cgsecurity.org/wiki/TestDisk_Step_By_Step –  user258197 Mar 14 at 13:05
    

2 Answers 2

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

share|improve this answer

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

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.