Results 1 to 8 of 8

Thread: Data lost on a partition

  1. #1
    Join Date
    Mar 2009
    Location
    Lutsk, Ukraine
    Beans
    41
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Data lost on a partition

    Hey!

    I have had two Windows partitions. One was system, the other one had data. When I tried to install Ubuntu 11.10 on the data partition, it changed the partition settings and now the data is not accessible. I never finished the installation of Ubuntu or formatted the data partition.

    Also the Windows system partition is 100% fine and I can boot Windows, even through I cannot access the lost files.

    I tried to use TestDisk to recover the partition and the data but I could not get it right.

    Any help would be appreciated, as the data is quite important. Thanks!

  2. #2
    Join Date
    Jan 2008
    Location
    105N 40W
    Beans
    64
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Data lost on a partition

    Greetings,

    What information do you get from gparted? I guess you ran testdisk from the liveCD?

    Bill

    Edit: Would be a good idea to back everything up before you start working on it. Have you tried checking the disk, chkdsk, from your old OS?

    Edit: Partimage is an easy linux program that can make an image of the partitions.
    Last edited by WSmart; November 23rd, 2011 at 07:37 AM. Reason: Third edit, spelling.
    Be real, be sober.

  3. #3
    WasMeHere is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    May 2008
    Location
    Sverige
    Beans
    1,133

    Re: Data lost on a partition

    Hi aryangor,

    I agree with WSmart. Start doing what he suggests

    Then I would add that you can try a couple of other tools,
    gpart and photorec. Browse for them on the internet and read tutorials and other help texts about them!

    Gpart can guess (in an intelligent way) what a destroyed partition table should be. Try that next!

    If no luck you can always resort to photorec. It started as a tool to recover picture files from flash cards. Now it is a general tool to recover most kinds of files. It works as long as the file data are still there (011000100111...) by looking for file headers. It does not need a partition table, but it helps to know what file system it was (I guess NTFS in your case). Photorec cannot restore the file names or the directory structure, so you'll have a lot of organizing work to do ... but all data that are not overwritten can be recovered.

    Edit: In any case, you need another drive to put your recovered data

    Good luck
    Olle
    Last edited by WasMeHere; November 23rd, 2011 at 09:26 AM.

  4. #4
    Join Date
    Mar 2009
    Location
    Lutsk, Ukraine
    Beans
    41
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Data lost on a partition

    Thanks, WSmart, I will do so!

  5. #5
    Join Date
    Mar 2009
    Location
    Lutsk, Ukraine
    Beans
    41
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Data lost on a partition

    Quote Originally Posted by Olle Wiklund View Post
    Hi aryangor,

    I agree with WSmart. Start doing what he suggests

    Then I would add that you can try a couple of other tools,
    gpart and photorec. Browse for them on the internet and read tutorials and other help texts about them!

    Gpart can guess (in an intelligent way) what a destroyed partition table should be. Try that next!

    If no luck you can always resort to photorec. It started as a tool to recover picture files from flash cards. Now it is a general tool to recover most kinds of files. It works as long as the file data are still there (011000100111...) by looking for file headers. It does not need a partition table, but it helps to know what file system it was (I guess NTFS in your case). Photorec cannot restore the file names or the directory structure, so you'll have a lot of organizing work to do ... but all data that are not overwritten can be recovered.

    Edit: In any case, you need another drive to put your recovered data

    Good luck
    Olle
    Thanks Olle! I know this was a wrong thing to do and now I am enjoying the fruits of that decision! Thanks a lot for suggesting the softwares! I was about to use Photorec, but will look into other ways to avoid the organizing first! Cheers!

  6. #6
    Join Date
    May 2007
    Location
    Virginia, USA
    Beans
    13,377
    Distro
    Ubuntu Mate Development Release

    Re: Data lost on a partition

    In my experience, Windows filesystem utilities have been best at recovering data from former Windows partitions; Linux filesystem utilities have been best at recovering data from former Linux partitions.

    Since your data was on a Windows partition, my suggestions are the following (based on my experience at doing this successfully):
    1) Find someone with a working Windows PC
    2) Remove your drive from this PC.
    3) On the Windows PC, download and install the trial version of GetDataBack for NTFS from Runtime Software.
    4) Connect your old drive to this Windows PC.
    5) Run GetDataBack in deepest discovery mode -- probably best to let it run overnight.
    6) In the morning, check the recovery logs and see if GetDataBack was able to find your lost files.
    7) If it was, you will have to purchase it to do the actual recovery. You won't have to reinstall it; instead, they will email you an activation code which you can use to turn on the recovery feature.

    And, BTW, it is not HUNDREDS of dollars for this product. Last time I checked, GetDataBack for NTFS was $80, USD.

    Your data ... your money ... your choice.
    Ubuntu 20.04, Mint 19.10; MS Win10 Pro.
    Will not respond to PM requests for support -- use the forums.

  7. #7
    Join Date
    Oct 2011
    Beans
    822

    Re: Data lost on a partition

    For data recovery I use this for free:

    https://debianhelp.wordpress.com/201...-ubuntu-linux/

    Quote Originally Posted by aryangor View Post
    Hey!

    I have had two Windows partitions. One was system, the other one had data. When I tried to install Ubuntu 11.10 on the data partition, it changed the partition settings and now the data is not accessible. I never finished the installation of Ubuntu or formatted the data partition.

    Also the Windows system partition is 100% fine and I can boot Windows, even through I cannot access the lost files.

    I tried to use TestDisk to recover the partition and the data but I could not get it right.

    Any help would be appreciated, as the data is quite important. Thanks!

  8. #8
    Join Date
    Mar 2008
    Location
    Queensland Australia
    Beans
    664
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Data lost on a partition

    If you tried to install the Ubuntu OS onto the data partition, Ubuntu would have formatted to ext3 or ext4 file system.
    It may be that the hard drive partition table has been altered.
    Can you run the Ubuntu Live CD and access your data partition ?
    If so then you may be able to rescue your data.

    regards

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •