{"id":1162,"date":"2014-06-17T21:19:58","date_gmt":"2014-06-17T15:49:58","guid":{"rendered":"http:\/\/ravi.rajiniravi.com\/blog\/?p=1162"},"modified":"2014-06-17T21:20:44","modified_gmt":"2014-06-17T15:50:44","slug":"the-vaio-travail-2-the-hard-disk-data-recovery","status":"publish","type":"post","link":"https:\/\/ravi.rajiniravi.com\/blog\/2014\/06\/the-vaio-travail-2-the-hard-disk-data-recovery\/","title":{"rendered":"The Vaio travail [2] &#8211; The hard disk data recovery"},"content":{"rendered":"<p>Now that I had my<a title=\"Pre blog post\" href=\"http:\/\/ravi.rajiniravi.com\/blog\/2014\/06\/the-vaio-travail-1-the-crash-of-the-hard-disk\/\" target=\"_blank\"> hard disk fried <\/a>and I hadn&#8217;t backed up data (some of it important) from it in some months, I had to recover data from it at any cost.<\/p>\n<p>And for that all I needed was a Linux live OS that could either run off the CD drive or a usb with <a title=\"GNU ddrescue\" href=\"http:\/\/www.gnu.org\/software\/ddrescue\/\" target=\"_blank\">DDrescue<\/a>, <a title=\"Testdisk\" href=\"http:\/\/www.cgsecurity.org\/wiki\/TestDisk\" target=\"_blank\">TestDisk<\/a> and <a title=\"Photorec\" href=\"http:\/\/www.cgsecurity.org\/wiki\/PhotoRec\" target=\"_blank\">Photorec<\/a>.<\/p>\n<p><a title=\"Knoppix Live CD\" href=\"http:\/\/knoppix.net\/\" target=\"_blank\">Knoppix <\/a>was one of the earliest live CDs I had used and had them all. But, I decided to use <a title=\"Ubuntu rescue remix\" href=\"http:\/\/ubuntu-rescue-remix.org\/\" target=\"_blank\">Ubuntu rescue remix<\/a> which had a nice set of software for rescuing dead or dying hard disks. I guess you can also recover the latest version of Ubuntu, boot from it and have access\u00a0 to\u00a0(or download and install) all these recovery software.<\/p>\n<p>While TestDisk could rebuild or recover boot sector on either FAT 32 \/ NTFS apart from un-deleting files, it didn&#8217;t work on my damaged hard disk.<\/p>\n<p>So, I decided to use DDrescue, which blindly copies data from one file or block device to another, trying to rescue the good parts first in case of read errors. All I had to do was attached an external hard disk with sufficient free disk space (atleast as much as the failed disk from which I was recovering the files), mount it and run DDrescue with 3 retry passes (which wasn&#8217;t necessary as most of the disk was recovered in one pass).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1164\" src=\"http:\/\/ravi.rajiniravi.com\/blog\/wp-content\/uploads\/2014\/06\/BpJHQKEIMAANu_B.jpg\" alt=\"BpJHQKEIMAANu_B\" width=\"353\" height=\"167\" \/><\/p>\n<p>DDrescue ran for a full week and rescued almost 70% of the data on the hard disk. I had to Ctrl-C and abort it as it was doing another pass but wasn&#8217;t getting any data.<\/p>\n<p>Once the old hard disk partition recover was done to my satisfaction, I mounted it like a regular partition and copied back files to a new hard disk.<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<\/p>\n<p>I am deliberately not going into more details on the rescuing process. You can read more about <a title=\"Data Recovery\" href=\"https:\/\/help.ubuntu.com\/community\/DataRecovery\" target=\"_blank\">data recovery (including use of DDrescue) on ubuntu website<\/a> and use of <a title=\"Testdisk and Photorec\" href=\"http:\/\/www.cgsecurity.org\/wiki\/Main_Page\" target=\"_blank\">TestDisk and Photorec on CGSecurity&#8217;s website<\/a>.I would highly recommend going thru those website and knowing more about these fabulous tools to recover data.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Now that I had my hard disk fried and I hadn&#8217;t backed up data (some of it important) from it in some months, I had to recover data from it at any cost. And for that all I needed was a Linux live OS that could either run off the CD drive or a usb [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3979,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"book_review_cover_url":"","book_review_title":"","book_review_series":"","book_review_author":"","book_review_genre":"","book_review_isbn":"","book_review_publisher":"","book_review_release_date":"","book_review_format":"","book_review_pages":"","book_review_source":"","book_review_rating":"","book_review_summary":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[6,5,8],"tags":[75,70],"class_list":["post-1162","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-rambling","category-problem-soultion","category-technology","tag-data-recovery","tag-vaio"],"jetpack_featured_media_url":"https:\/\/ravi.rajiniravi.com\/blog\/wp-content\/uploads\/2021\/01\/photo-1547139559-c89c59d117611.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/1162","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/comments?post=1162"}],"version-history":[{"count":3,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/1162\/revisions"}],"predecessor-version":[{"id":1166,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/1162\/revisions\/1166"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/media\/3979"}],"wp:attachment":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/media?parent=1162"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/categories?post=1162"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/tags?post=1162"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}