Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: [SOLVED] How to recover corrupted data in external hard drive

  1. #1
    Join Date
    Apr 2008
    Beans
    382

    [SOLVED] How to recover corrupted data in external hard drive

    I think the data were corrupted when I use VirtualBox. Anyway, I still can see all the folders in XP (my wife's laptop) even though I just can open only a few because most of them are corrupted, therefore prevent me to open. However in Hardy Heron, I do not see any folder (this USB external hard drive was successfully mounted) as if it was empty. I think Ubuntu refuse to show the folders (in the external HD) because it was corrupt. How to recover all my precious data (thousand of personal photos from 2 years ago till now, important documents etc). I already run dosfsck -a (the whole night) but it yield nothing. Hope something can be done because no one in their sane mind want to be parted with these kind of files (photo especially

  2. #2
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: How to recover corrupted data in external hard drive

    Try to download TestDisk for data recovery.
    And:
    Photorec for image file recovery.
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  3. #3
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to recover corrupted data in external hard drive

    Photorec is good. It will in fact try to save things other than photos eg. documents as well, whereas testdisk is more to retrieve a deleted partition or rewrite a clobbered partition table. By the way, unless installed incorrectly or without enough space, I find it hard to understand how virtualbox did this. I have 3 different vm's running with no issue.
    Last edited by bumanie; July 17th, 2008 at 03:27 AM.
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  4. #4
    Join Date
    Apr 2008
    Beans
    382

    Re: How to recover corrupted data in external hard drive

    Thanks for assistance. Just one question before I try testDisk. How do I run it if I can not see either folders or anything in the drive. Do I just run it on the blank drive and this program will help me recover the lost data?

  5. #5
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: How to recover corrupted data in external hard drive

    Quote Originally Posted by wariskampar View Post
    Thanks for assistance. Just one question before I try testDisk. How do I run it if I can not see either folders or anything in the drive. Do I just run it on the blank drive and this program will help me recover the lost data?
    Refer to this page on how you could use the Testdisk utility.
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  6. #6
    Join Date
    Apr 2008
    Beans
    382

    Re: How to recover corrupted data in external hard drive

    I tried to install the program from it source package. However, I get this error message. What is the problem?

    aznan@aznan-laptop:~$ sudo apt-get install build-essential e2fslibs-dev libncurses5-dev libncursesw5-dev libntfs-dev libjpeg62-dev libreiserfs0.3-dev uuid-dev zlib1g-dev
    [sudo] password for aznan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package libreiserfs0.3-dev
    aznan@aznan-laptop:~$ cd ~/Desktop
    aznan@aznan-laptop:~/Desktop$ ./configure
    bash: ./configure: No such file or directory
    aznan@aznan-laptop:~/Desktop$

  7. #7
    Join Date
    Mar 2008
    Location
    City of Pines
    Beans
    3,585

    Re: How to recover corrupted data in external hard drive

    Quote Originally Posted by wariskampar View Post
    I tried to install the program from it source package. However, I get this error message. What is the problem?

    aznan@aznan-laptop:~$ sudo apt-get install build-essential e2fslibs-dev libncurses5-dev libncursesw5-dev libntfs-dev libjpeg62-dev libreiserfs0.3-dev uuid-dev zlib1g-dev
    [sudo] password for aznan:
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Couldn't find package libreiserfs0.3-dev
    aznan@aznan-laptop:~$ cd ~/Desktop
    aznan@aznan-laptop:~/Desktop$ ./configure
    bash: ./configure: No such file or directory
    aznan@aznan-laptop:~/Desktop$
    What not just install it from the repo?

    Code:
    sudo apt-get install testdisk
    Steady movement is more important than speed, much of the time. So long as there is a regular progression of Stimuli to get your mental hooks into, there is room for lateral movement. Once this begins, its rate is a matter of discretion.

  8. #8
    Join Date
    Apr 2008
    Beans
    382

    Re: How to recover corrupted data in external hard drive

    In my understanding, first we need to copy the data from corrupted drive to secondary location. In my case my HD is much more bigger (320GB) than my hard disk (80GB with only 20GB empty space). Can I recover the data in their original location (external HD)

    [sudo] password for aznan:

    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x94e494e4

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 1946 15631213+ 83 Linux
    /dev/sda2 9536 9729 1558305 5 Extended
    /dev/sda3 1947 7137 41696707+ 83 Linux
    /dev/sda4 7138 9535 19261935 83 Linux
    /dev/sda5 9536 9729 1558273+ 82 Linux swap / Solaris

    Partition table entries are not in disk order

    Disk /dev/sdb: 320.0 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x12345678

    Device Boot Start End Blocks Id System
    /dev/sdb1 * 1 38913 312568641 c W95 FAT32 (LBA)

  9. #9
    Join Date
    Jul 2007
    Location
    Melbourne, Australia
    Beans
    3,475
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How to recover corrupted data in external hard drive

    For what it's worth, I still think that photorec is more appropriate. I have used testdisk and its a great program, but it is more efficient at repairing partition tables and recovering lost partitions etc. as per test disks page
    "TestDisk is a powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again"
    In your case you have not lost a partition, thus as photorec's page says
    "Photorec is file data recovery software designed to recover lost files including video, documents and archives from Hard Disks and CDRom and lost pictures (thus, its 'Photo Recovery' name) from digital camera memory. PhotoRec ignores the filesystem and goes after the underlying data, so it will still work even if your media's filesystem has been severely damaged or re-formatted."
    That sounds more like your problem to me. True, your hdd partition table may well be compromised, but if your data is corrupted, a functioning partition table won't help. Before doing anything else, read both the testdisk and the photorec documentation.
    Windows is the best virus detector on the market!
    Ubuntu attracts Human Beings - Windows attracts viruses and worms

  10. #10
    Join Date
    Apr 2008
    Beans
    382

    Re: How to recover corrupted data in external hard drive

    What are you saying (i'm not english native speaker). Can I use photorec or can i not?

Page 1 of 2 12 LastLast

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
  •