This procedure is quite easy actually and well documented. TestDisk: If the issue is caused due to non-mechanical problems, like when you got a corrupted partition table, then TestDisk should be able to recover the trashed disk.Installation of necessary toolsĮither you are using a bootable Live system like KNOPPIX that is shipped with all tools needed, or install them manually on your machine: The amount of possible lost data is approximately 40 GB of pictures/videos and 1 GB of documents like. “The drive is not formatted, do you want to format it now?” Of course, Windows nor Ubuntu is able to mount the disk anymore and the Disk Manager displays the first primary partition as RAW, with Windows prompting: OMG! A friend dropped a 2 TB WD elements external harddrive while it was connected to the PC with active write operations. Follow the steps below only if your data is not crucial to you. I take no responsibility for the loss of any data. This is my take on recovering data from my friends broken hard drive. Warranty: I am not a professional in data recovery. I had to recover data from a broken external hard drive and my typical go to recovery software failed ( TestDisk), because the disk’s hardware was severely damaged. Once retrieved, I performed my tests on the recovered scripts and they worked as before.Introduction to Data Recovery with free Unix Tools You will find earlier versions of your script too. Upon checking the recovery destination, you will find directories and files (I was interested in *.sh files) as shown below:Īfter performing a few “find and grep” commands looking for my script content, I retrieved the latest version of all my scripts. The image below is a screenshot of the recovery process. Use lsblkto confirm the partition on which your lost files resided and execute sudo photorec (e.g. Photorec is quite straightforward to use and recovers files based on your selected file types into a selected destination. After frantically looking for tools to recover my scripts, I came across TestDisk/PhotoRec and photorec saved my bacon. My heart sank because I had no backup and hadn’t yet checked in my scripts into git. After spending a few hours on developing some scripts, I hastily fat-fingered a command and removed my entire scripts directory on my RHEL 7 server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |