File Recovery from a fresh Partition

I was running out of space on my main partition - so I deleted my windows 8 partition which I hadn't used in months, and formatted it as ext4. Mounted it to a temporary location - moved the bitcoin blockchain over from my home partition (and apparently a wallet I had forgotten about until this happened), deleted it from home and added the new partition to Fstab.
Then I fell asleep with my laptop unplugged - on reboot the partition mounts automatically - but the folder is blank (starting the bitcoin client it tries to download a new blockchain so, maybe 10-20 mgb got over-written before I unmounted it).
What's the best procedure for going about with recovering my files ?
It's an SSD Drive, the partition is ext4, here is the fstab for it:
UUID=c84798c1-57df-4f84-b8cc-a7c0b156ba9d /media/blockchain ext4 rw,relatime,data=ordered 0 2
Last edited by dejy (2014-05-09 11:11:14)

Give testdisk a try.
In order to be extra safe (super important data and such), you should do a low level backup of the partition using dd.
Also, do this from a live (preferably ram only) environment, so that the deleted files aren't overwritten somehow.

Similar Messages

  • Data recovery from corrupt boot partition

    The boot partition on my MacBook running 10.7.6 has a corrupt volume structure and will not mount, much less boot. The recovery partition boots but really doesn't let me do anything. Disk Utility can't repair nor even complete verification. I have lots of images which I need to recover, so am looking for a utility which might help.
    Everything was apparently ok until the failure and the drive hardware checked out ok, so I'm hopeful my files are recoverable. A week or so ago I optimized the volume with TechTool Pro and the directory with DiskWarrior, and last night attempted to sync 1Password on my iPad with 1Password for Mac. This did no t work, probably because of my unfamiliarity with the procedure, but seemed to do no damage. When I ran TTPro last night from its eDrive partition it reported a volume structure problem on the partition which I started to fix with the program but then cancelled the analysis and decided to use disk utility instead. Disk utility also reported a problem but stopped the verification with the instruction to do a repair which it again could not complete. When I rebooted the system partition would again not boot but this time I got grey screen with a message that the debugger had loaded and <panic>. A message box said power down and restart, but that only repeats the process.
    I'm thinking of attempting to install a system on an external boot drive and accessing the corrupt partition with a data recovery utility. Any insights, ideas or shared experiences appreciated. Thanks in advance for any desperately needed help.

    The safest thing to do here is to install a new disk in the system and do a clean install of OS X. From there, you can put your corrupted volume in an external USB enclosure and mount the file system to try and recover as much data as you can.
    It's likely obvious now, but it's REALLY worth investing in a large-capacity external storage or Time Capsure to use with Time Machine. Backups are essential. Hardware always eventually dies. We all need an effective strategy to deal with that.
    A long time ago, I was backing my Linux system up to 4mm DAT. When the inevitable HDD crash came, I thought I was ready. Unfortunately, I hadn't tested recovery from tape and I ended up losing everything. Which is to say, until you know you can restore, you don't even have a backup. I lost thousands upon thousands of photos of my kids growing up.
    BTW, if it is essential that you recover as much as possible, consider taking the disk to a data recovery service. Be warned: It's expensive.

  • Data file recovery from Windows 7

    A Macbook that was running OS X with data files and pictures was taken by someone without their permission.
    That person then wiped the hard drive and installed Windows 7.
    The Laptop has since been returned to the original owner and to her dismay realizes all her files have been deleted.
    Is there any chance of recovering any of her previous OS X data files and pictures before she reinstalls OS X.

    Kappy and Limnos are both correct, depending on what was done to the hard drive.
    It's most likely that the person who put Windows 7 on the Mac did a quick erase, which would leave all but the first few cylinders of data on the drive untouched.
    After changing the partition scheme to NTFS and and installing Win 7, then the data that will be difficult to impossible to recover will be those areas that were written over with the Windows OS files, the swap file it creates, and any other areas of the drive that were written over during that person's use of the Mac.
    The first thing you will need to do before you can use either FileSalvage or Data Rescue 3, is boot to the disks the Mac came with, run Disk Utility from the DVD and change the partition back to Mac OS Extended. Neither of these recovery programs will read anything but a Mac drive. As in changing the drive to NTFS, you would only be overwriting the first few cylinders of the drive to do this. Just make sure not to install OS X. Only use the DVD to get the drive back to Mac OS Extended.
    Since the drive will have no bootable system on it at this point, you will need to purchase one recovery program or the other on a bootable CD/DVD. The only other option is a bootable external drive so you can try the demo versions before purchasing. The external drive will also need to have enough free space to recover files to.
    Now run either recovery program. As mentioned a few times now, getting any data back that was sitting on the areas overwritten with Win 7 are slim to none. But any data on the drive that was never written to during that time can be. What you recover all depends on what was sitting where.

  • File recovery from a "bad" hard drive?

    My macbook air was giving me the flashing-question-mark-folder. I took it into the apple store and they told me my hard drive "went bad" and has to be replaced. I don't have a back up (stupid, I know)- is there really NO way to get my files recovered? (the guy at the store was kinda rude and I got the feeling he wasn't trying very hard...)

    For iTunes version 7 or later, then you can transfer purchased iTunes store music from the iPod to an authorized computer by using the "file/transfer purchases from iPod" menu. Note that the maximum of 5 authorized computers applies here.
    Find out how to do that here.
    How to copy iTunes purchases from an iPod to a computer.
    For all other non purchased content (your own CDs etc) try this method which works on some Windows PCs.
    Enable your iPod for disk use.
    See: iPod Disk Use.
    Open iTunes and select edit/preferences/advanced/general. Put a check mark in the box marked "copy files to iTunes music folder when adding to library" and also "keep iTunes music folder organized", then click 'ok'.
    Connect the iPod whilst holding down the shift/ctrl keys to prevent any auto sync, and if you see the dialogue window asking if you want to sync to this itunes library, click 'no'.
    Then go to file/add folder, open 'my computer', select your iPod and click 'ok'.
    The music files should transfer to your iTunes.
    If this doesn't work (and it may not because officially it's not supposed to), check out the instructions/suggestions here.
    Music from iPod to computer (using option 2). This a manual method using "hidden folders" and although it works, it is a little more involved than other methods.
    Much easier ways are to use one of the many 3rd party programs that copy music from the iPod to the computer.
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Another free program is Pod Player.
    SharePod is also freeware.

  • Problem MacBook Lion and TC file recovery from previous Mac

    I had backed up my Macbook (white) with Snow Leopard with Time Capsule. After having upgraded to a new Macbook Pro with Lion, having done migration, I found that not all photos or files have been transferred over.
    I am now trying to get them back from Time Capsule but it seems the new Macbook Pro does not communicate well with it.
    So i dug up my old macbook and tried to restore files there - but now getting an error (cannot mount disk images)
    Very disappointed and worried.  Anyone had the same problem please or good tips to overcome please? Thanks

    Not sure what to say. In the first case, your using a comptuer with a totally different OS, and different hardware, to try to communicate with your sparse bindle from the orignal. I can see where you may run into issues here.
    Can you quote the message exactly on the older nbp that you've getting?

  • NOMAD Jukebox Zen Xtra file recovery from working harddri

    My USB port on my NOMAD Jukebox Zen Xtra is basically non-functional. The drive works fine so i'm not trying to recover "corrupted" files, just ones that exist on the drive... Is there any way I can access the files on the hard drive directly if I remove it from my Nomad Is there any way to use a hard drive connector (from a USB case) where the board plugs into the drive and the other end connects via USB to my computer (which has my Nomad software on it's) As the USB connector on the Nomad isn't working, is there any way i can get my music off the drive
    Thanks!

    Does this happen with all tranfers or any certain audio files? Have you try reinstalling the driver or try running Cleanup in Rescue mode.
    JasonMessage Edited by Jason-CL on 09-04-2006 04:46 PM

  • File recovery from ipod to hard drive

    I lost files on my hard drive, but still have them on my ipod. Is there a way to restore my hard drive from my ipod?

    For iTunes version 7 or later, then you can transfer purchased iTunes store music from the iPod to an authorized computer by using the "file/transfer purchases from iPod" menu. Note that the maximum of 5 authorized computers applies here.
    Find out how to do that here.
    How to copy iTunes purchases from an iPod to a computer.
    For all other non purchased content (your own CDs etc) try this method which works on some Windows PCs.
    Enable your iPod for disk use.
    See: iPod Disk Use.
    Open iTunes and select edit/preferences/advanced/general. Put a check mark in the box marked "copy files to iTunes music folder when adding to library" and also "keep iTunes music folder organized", then click 'ok'.
    Connect the iPod whilst holding down the shift/ctrl keys to prevent any auto sync, and if you see the dialogue window asking if you want to sync to this itunes library, click 'no'.
    Then go to file/add folder, open 'my computer', select your iPod and click 'ok'.
    The music files should transfer to your iTunes.
    If this doesn't work (and it may not because officially it's not supposed to), check out the instructions/suggestions here.
    Music from iPod to computer (using option 2). This a manual method using "hidden folders" and although it works, it is a little more involved than other methods.
    Much easier ways are to use one of the many 3rd party programs that copy music from the iPod to the computer.
    One of the most recommended is Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Another free program is Pod Player.
    SharePod is also freeware.

  • Photo/file recovery from Catalogue?

    My external storage disc on which i store all my photos has crashed, and like the novice that i am, i have no back up. All the photos can still be viewed in Lightroom but i am unable to save them to a new location, can anyone help please.

    Hi Jasonized,
    Lucky for me that there are clued up people out there!!
    The silly thing is that i was in the process of reducing my Photo data down to good quality photos as my external drive only had 20GB of free space and all my photos on this one drive plus the computer back up, ca 30GB.
    I went out to buy the new drive and came back to find the external drive was not registering in explorer. OK now i am setting up a fresh storage system. Thank you for your reply to my query, i have already recovered an important batch of Photos in good quality, thankfully! 
    Keep up the good work,
    Ken
    "Jasonized" <mailto:[email protected]> schrieb:
    Hey there!
      This seems to be coming in a rash, all at once.  Another thread answered this one quite nicely, links and all:
    http://forums.adobe.com/thread/696422?tstart=30
    Of course, those programs work best when you have 1:1 previews rendered.  If you don't, then all you get are the smaller resolution, etc, etc.  But, better than nothing, as people point out!
    Backups work!
    Cheers!
    >

  • Pdf file recovery from over written new save as file

    I over wrote a file  and need to recover the original file that was over written with "save as".

    This is the time to use your backups.

  • Recovery from USB media fails in error 10-fc12-0241

    -Got a new laptop t135-s1309.
    -works great.
    -created recovery media on usb using the creation utility. 
    -to test recovery media, I ran recovery from the usb media.
    -starts and carry's out recovery for a time. 
    -then error 10-fc12-0241 is displayed.
    -I then recovery from the hidden partition on the hard disk by holding the zero key down during startup.
    -this works and the machine is restored.
    -by the way i shrunk the 'c' drive to 70 Gb and have a 210 Gb 'd' drive.
    -the machine recovers as expected from the hard drive. I use the choice where partitions are not altered.
    -I tried two different usb flash drives. One a Kingston 8GB, the other a Dane-Elec 8GB.
    -I don't feel there is a hardware problem.
    -I want to have recovery media besides the hard drive so I can recover should the hard disk fail or the hidden partition becomes faulty/unusable.

    gleba wrote:
    -Got a new laptop t135-s1309.
    -works great.
    -created recovery media on usb using the creation utility. 
    -to test recovery media, I ran recovery from the usb media.
    -starts and carry's out recovery for a time. 
    -then error 10-fc12-0241 is displayed.
    -I then recovery from the hidden partition on the hard disk by holding the zero key down during startup.
    -this works and the machine is restored.
    -by the way i shrunk the 'c' drive to 70 Gb and have a 210 Gb 'd' drive.
    -the machine recovers as expected from the hard drive. I use the choice where partitions are not altered.
    -I tried two different usb flash drives. One a Kingston 8GB, the other a Dane-Elec 8GB.
    -I don't feel there is a hardware problem.
    -I want to have recovery media besides the hard drive so I can recover should the hard disk fail or the hidden partition becomes faulty/unusable.
    Probably because the recovery program doesn't support USB connected devices.

  • Iphone vs PC: File recovery capabilities comparison

    We all know that even if we reformat a pc, files deleted before the pc was reformatted could still be recovered from the hard disk using any recovery software.
    Does it work the same way as in an Iphone? let's say I deleted files from my iphone then I reset my IOS. Would I be able to recover files I deleted before my IOS was reset? I'm not talking about file recovery from backup (itunes or icloud), what I mean is file recovery from the phone itself.
    Just kinda confused on this. Some say yes its the same, some say no its different. I'm thinking iphone works the same way as in a pc.

    it's the same as with a pc apart from if you update the os that nuke the data
    the thing is that flash storage have a limited amount of times you can write data to them before they die
    same as with dvd-rw really just more writes in case of the flash
    so when you delete data you just delete the reference you don't make the 1's into 0's or the other way around
    but there are no undelete tools for ios
    and most undelete tools for computers require the device they are to undelete from to act as a drive volume which the iOS devices does not do
    if you are asking because you are worried that selling your iOS device will make it possible for the person to access all your data then unless you're a secret spy and they are very very professional you need not worry

  • DV3550el bios recovery from USB

    Hello to everybody!
    I'm having a problem with a DV3550el, the BIOS splash is just stocked. It's actually impossible to enter in any BIOS page. If I press "esc" "F1" and so on, the write on the bottom left change, but nothing happens.
    So I was looking for a USB recovery software, any suggestion?
    ....or it's an hardware problem and I have to say byebye to "him"?
    thanks in advance!
    Bye 

    gleba wrote:
    -Got a new laptop t135-s1309.
    -works great.
    -created recovery media on usb using the creation utility. 
    -to test recovery media, I ran recovery from the usb media.
    -starts and carry's out recovery for a time. 
    -then error 10-fc12-0241 is displayed.
    -I then recovery from the hidden partition on the hard disk by holding the zero key down during startup.
    -this works and the machine is restored.
    -by the way i shrunk the 'c' drive to 70 Gb and have a 210 Gb 'd' drive.
    -the machine recovers as expected from the hard drive. I use the choice where partitions are not altered.
    -I tried two different usb flash drives. One a Kingston 8GB, the other a Dane-Elec 8GB.
    -I don't feel there is a hardware problem.
    -I want to have recovery media besides the hard drive so I can recover should the hard disk fail or the hidden partition becomes faulty/unusable.
    Probably because the recovery program doesn't support USB connected devices.

  • During recovery from recovery partition I get message "INF file txtsetup.s​if is corrupt or missing

    During recovery from recovery partition I get message:
    INF file txtsetup.sif is corrupt or missing, status 14.
    Setup cannot continue. Press any key to exit.
    Now I have a computer with a recovery partition and that's about it.
    The C partition has been formatted by recovery and files have been copied but I can't get any further.
    The computer is an nc6220 and the OS, if the recovery would work, is winXP pro.
    Anyone have any ideas ?

    I assume you ran recovery from the hard drive?
    If so,
    I would run a chkdsk on the recovery partition it may fix the sif file corruption.
    You can do this from a XP boot cd using the command prompt, you just need to run it on the recovery partition instead of the C drive as explained in this article.
    http://kb.wisc.edu/helpdesk/page.php?id=5097
    if you use the
    map
    command, it will list all the partitions and the drive letters 
    so the command might look something like this
    chkdsk /r D:
    D: represents the recovery partition, which may be different than D:

  • Can I use gpt to recreate/unerase a partition table? (Rebuild the GPT/GUID partition table?)  I don't want to do FILE recovery.

    (Yes, I've  googled a bunch and read threads like this one already.)
    Can I use gpt or some other app to recreate/unerase a partition table?  That is, how can I rebuild a disk's GPT/GUID partition table?)  I don't want to do FILE recovery.
    What happened: Instead of erasing a single partition off a disk with many partitions, the entire partition table was erased (using Disk Utility, w/o deleting the underlying files).  Somehow the "Erasing a disk deletes all data on all its partitions." warning message was missed.
    I have a copy of the output of df, with the number of blocks in each partition, from just prior to the erasure, so I should be able to recreate the GPT/GUID partition table.  Editing the GPT with a hex editor is not feasible.  Simply recreating the partitions with Disk Utility will overwrite the key filesystem tables on each partition, and I don't want to do that, plus Disk Utility doesn't allow me to specify exact partition sizes anyway.
    Surely there's an app for rebuilding the partition table (other than emacs' hexl-mode!) for recreating/unerasing a partition table when the partition sizes and orders are known?  I've looked at the advertising for a bunch of recovery software and none of them clearly indicate that they will do what I want. 
    I guess I can try using gpt on a copy of the reformatted drive I've made with dd, and see what happens.  But perhaps someone knows of a tool that should do what I need, or knows if gpt is that tool or not.
    There are answers and tools that will do FILE recovery - search for files and recover the ones that aren't fragmented or deleted.  As far as I can find, they just look for files on the disk, and don't pay much, if any attention to the filesystem info or directory heirarchy, which in this case is valuable.  Of course I could send it in to DriveSavers, or the like.  But none of that seems necessary, and the scavenging file recovery apps won't do the job well,
    E.g. some are mentioned here:
    I don't want to do FILE recovery.
    Thanks for any help.
    The links in this post are to pages describing the underlined term, e.g. the man pages for df and gpt.
    dd output includes:
    Filesystem
    512-blocks 
    Used Available Capacity  Mounted on

    Aperture has the ability to work with files in their existing location. They are called "referenced masters." When you import images, you should select the "In their current location" in the "Store Files:" drop down box. Have a read of the documentation for full specifics. Unsure how you can resolve your duplication; might be some work but next time have a read of the manual first
    Information for versions is stored in the Aperture database (library file). The masters can be inside the library file itself, or they can be somewhere else.

  • System recovery from partition recovery fails

    hi there,
    I tried doing a system recovery on my HP Pavilion from the reovery partition. I tried the "System Recovery" option.
    The preparation process wnt fine, but the actual recovery failed with a pretty meaningless message:
    The recovery attempt has failed. Please select one of the following buttons.
    - Details
    - Retry
    I checked out the log file but found no useful info. The process did crate a log file, HP_RM_LOG.SRD, a binary file that should be of help to HP Support when trubleshooting the issue.
    I tried this a number of times with the same outcome. I also tried the "Factory Reset" option with the same result. Unfortuntely I did not create the recovery media before attempting the system recovery from the recovery partition (my bad).
    Any ideas how to move forward?
    Thanks,
    Nacho.

    Hi there @Nacho74 
    Welcome to the Hp Support Forums!
    I understand that you are trying to do a system restore, and getting an error during the process. Also from the information you gave it looks like you installed OS X 10.6.  When you installed that did you leave the recovery partition intact?
    Which operating system was original installed on the notebook? Normally that notebook was installed with either windows 8 or 8.1 from the factory, and if the recovery partition is intact it would only be able to recover to whichever of those was installed to begin with.
    Performing an HP System Recovery (Windows 8)
    Troubleshooting HP System Recovery Problems (Windows 8)
    If you are still having trouble, I would recommend that you call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region.
    http://www8.hp.com/us/en/contact-hp/ww-phone-assis​t.html
    Malygris1
    I work on behalf of HP
    Please click Accept as Solution if you feel my post solved your issue, it will help others find the solution.
    Click Kudos Thumbs Up on the right to say “Thanks” for helping!

Maybe you are looking for