data recovery - How to recover lost partition and files after installation of Ubuntu on Windows partition?

20
2014-04
  • Pedram

    I have got a laptop from one my friend which has installed Ubuntu by choosing a wrong option and has re-partitioned the entire hard drive and has lost all his private files.

    I booted the laptop by a live Linux CD and I can see 4 partitions. First, one system partition 1,86 GB NTFS, then 2 X 46.5GB for Ubuntu and lastly a 603GB unallocated partition.

    He doesn't need to keep Ubuntu just wants to back his files as there are crucial. I know some parts of data have been overwritten but wondering if there is a way that I can recover the data?

  • Answers
  • To Do

    Try using testdisk through a liveDVD or liveUSB.

    Install it sudo apt-get install testdisk. Then try recover partition.

    Next time backup your data before doing anyhing that important and risky as installing an operating system.


  • Related Question

    partitioning - How to recover a deleted NTFS partition with data
  • tijybba

    I am on Ubuntu 12.04 64-bits

    I accidentally deleted a NTFS 255 GB partition using Gparted, and yes it contains LOTS of important data.

    Upon realizing the deletion I haven't yet created any file-system on it. So it still shows Unallocated.

    enter image description here

    I tried Testdisk , but it shows entire partitions created from the beginning.

    This sdb is my secondary drive with Xubuntu and Kubuntu on it. And that 255 GB NTFS partition was cross platform storage drive.

    I am currently in sda with Ubuntu and Win7 in dual boot, which enables me to use it as Safe recovery option rather then Live USB drive.

    First , should i allocate it to ? file-System for better recovery .

    Second , i really need to recover data from this drive so please give me possible suggestions and proven methods of data recovery.

    Third ,does Testdisk requires deleted partition to be allocated for its recovery .

    I am currently trying the answer seen here http://askubuntu.com/a/24951/63025 with Testdisk scanning for partition second time, hoping to recover it.

    It looks a duplicate but i can't confirm if the OP got it right. Since my first doubt is to allocate it or not.

    If any clarification required please do comment ,i will add it.

    Edit: TestDisk deeper search results.

       The following partitions can't be recovered:
             Partition               Start        End    Size in sectors
        >  HPFS - NTFS          22241 107 11 55592   3 27  535777280
           FAT32 LBA            274460 158 19 460576 228 16 2989957948
    
    NTFS, 274 GB / 255 GiB
    & for FAT32 LBA 1530 GB / 1425 GiB
    

  • Related Answers
  • Geppettvs D'Constanzo

    Well. Testdisk really works. I have documented in the past my previous 500 GB Data loss which was up to 80% recovered via Testdisk.

    Take a look at this video in Youtube: Recover deleted partitions using Testdisk in Ubuntu #11. Unfortunately it was removed when the Israel Remix Team distro moved their forums.

    I couldn't fully recover my data because of I was trying to recover using different tools, (including MS Based tools which I don't recommend because of it resulted in the damage of the data itself. So I strongly suggest you to first run the steps mentioned in the video in order to bring back the partition, after which you will be able to undelete/recover any data loss that could happen during data recovery.

    I am following your question closely even if downvoted just in order to provide help. I know this is not a forum and have read the rules but I have experienced this in the past and I know how it feels. Just for information: It took me 2+ weeks to fully recover my data. So please be patience. I am sure we'll find a way to bring your data back.

    Good luck!

  • Mitch

    First you shouldn't allocate it, but even if you do, with RAW recovery it doesn't matter. But as I said its better not to allocate, just to make it easier.

    RAW recovery means to read files without reference to any operating system. The RAW scan mode can locate the files without the aid of file system. I would recommend Ubuntu Rescue Remix.

    Ubuntu Rescue Remix is a Linux Live CD. It already comes with a whole array of data recovery tools. One of them is Ddrescue. Ddrescue, is one of the best data recovery programs available and it is free. Ddrescue works by extracting a raw image of your hard drive and transferring it to another drive. It extracts data bit by bit, regardless of the file system on the drive. The reason it works even when hard drives are dying is because Ddrescue retries several times and even tries to read data backwards. The procedure sometimes can take days, but it is very effective.1

    Read on

    Download the ISO CD image of Ubuntu Rescue Remix, burn the CD and boot the computer with it.

    1Source:GeekyProjects