{"id":203,"date":"2006-11-28T11:18:51","date_gmt":"2006-11-28T11:18:51","guid":{"rendered":"https:\/\/bodhost.com\/kb\/\/web-hosting\/?p=203"},"modified":"2026-02-26T14:04:58","modified_gmt":"2026-02-26T14:04:58","slug":"linux-recover-data-from-the-crash-disk","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/","title":{"rendered":"Linux: Recover data from the crash disk"},"content":{"rendered":"\r\n<p>If you have Linux flavor OS installed and if your disk is crashed then try the following steps if you want to retrieve data from ddrescue commands.<\/p>\r\n\r\n\r\n\r\n<p>Ddrescue is a program that copies data from one file or blocks the device to another, it is a tool to help you to save data from crashed partition. It tries to read and if it fails it will go on with the next sectors, where tools like dd will fail.<\/p>\r\n\r\n\r\n\r\n<p>If the copying process is interrupted by the user it is possible to continue at any position later. It can copy backward.<br \/>Install dd_rescue or ddrescue<\/p>\r\n\r\n\r\n\r\n<p>If you are using RedHat\/Fedora Core Linux, type the following command:<br \/># yum -y install ddrescue<br \/>If you are using Debian Linux:# apt-get install ddrescue<br \/>Or directly download rescue from the official GNU Web site. www.gnu.org\/software\/ddrescue\/ddrescue.html<\/p>\r\n\r\n\r\n\r\n<p>Please note that Debian install ddrescue binary as \/bin\/dd_rescue and other distribution as \/usr\/bin\/ddrescue<\/p>\r\n\r\n\r\n\r\n<p>To make an exact copy of \/dev\/sda (damaged) to \/dev\/sdb (make sure sdb is empty) you need to type the following command:<\/p>\r\n\r\n\r\n\r\n<p># ddrescue \/dev\/hda \/dev\/hdb<br \/>Naturally next step is to run fsck on the\/dev\/sdb partition to recover\/save data. Remember do not touch originally damaged \/dev\/sda. If this procedure fails you can send your disk to a professional data recovery service. For example if \/home (user data) is on \/dev\/sda2, you need to run a command on \/dev\/sdb2:<\/p>\r\n\r\n\r\n\r\n<p># fsck \/dev\/sdb2<\/p>\r\n\r\n\r\n\r\n<p>Once fsck run, mount \/dev\/sdb2 somewhere and see if you can access data:<\/p>\r\n\r\n\r\n\r\n<p># mount \/dev\/sdb2 \/mnt\/data<\/p>\r\n\r\n\r\n\r\n<p>It is time to take backup using tar command.<\/p>\r\n\r\n\r\n\r\n<p>ddrescue command supports tons of options. Don&#8217;t forget to read the man page:<\/p>\r\n\r\n\r\n\r\n<p># man ddrescue OR # man dd_rescue<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>If you have Linux flavor OS installed and if your disk is crashed then try the following steps if you want to retrieve data from ddrescue commands. Ddrescue is a&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[354,1132],"class_list":["post-203","post","type-post","status-publish","format-standard","hentry","category-general","tag-linux","tag-recover-data-from-the-crash-disk"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Linux: Recover data from the crash disk<\/title>\n<meta name=\"description\" content=\"In this article you will learn Linux: Recover data from the crash disk. for information visit bodhost.com\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Linux: Recover data from the crash disk\" \/>\n<meta property=\"og:description\" content=\"In this article you will learn Linux: Recover data from the crash disk. for information visit bodhost.com\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2006-11-28T11:18:51+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:04:58+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\"},\"headline\":\"Linux: Recover data from the crash disk\",\"datePublished\":\"2006-11-28T11:18:51+00:00\",\"dateModified\":\"2026-02-26T14:04:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/\"},\"wordCount\":307,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"Linux\",\"Recover data from the crash disk\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/\",\"name\":\"Linux: Recover data from the crash disk\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2006-11-28T11:18:51+00:00\",\"dateModified\":\"2026-02-26T14:04:58+00:00\",\"description\":\"In this article you will learn Linux: Recover data from the crash disk. for information visit bodhost.com\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/linux-recover-data-from-the-crash-disk\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Linux: Recover data from the crash disk\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/c48414ad1536cea20e85282b0737a9f9\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Linux: Recover data from the crash disk","description":"In this article you will learn Linux: Recover data from the crash disk. for information visit bodhost.com","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/","og_locale":"en_US","og_type":"article","og_title":"Linux: Recover data from the crash disk","og_description":"In this article you will learn Linux: Recover data from the crash disk. for information visit bodhost.com","og_url":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2006-11-28T11:18:51+00:00","article_modified_time":"2026-02-26T14:04:58+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/"},"author":{"name":"admin","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9"},"headline":"Linux: Recover data from the crash disk","datePublished":"2006-11-28T11:18:51+00:00","dateModified":"2026-02-26T14:04:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/"},"wordCount":307,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["Linux","Recover data from the crash disk"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/","url":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/","name":"Linux: Recover data from the crash disk","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2006-11-28T11:18:51+00:00","dateModified":"2026-02-26T14:04:58+00:00","description":"In this article you will learn Linux: Recover data from the crash disk. for information visit bodhost.com","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/linux-recover-data-from-the-crash-disk\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"Linux: Recover data from the crash disk"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/c48414ad1536cea20e85282b0737a9f9","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/51e53199212db3f59606920448d45a6ead224f904558e3ab9251d071a609b202?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/www.bodhost.com\/kb\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/203","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=203"}],"version-history":[{"count":3,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/203\/revisions"}],"predecessor-version":[{"id":12675,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/203\/revisions\/12675"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=203"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=203"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=203"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}