<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Reconstructing heavily damaged hard drives</title>
	<atom:link href="http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/feed/" rel="self" type="application/rss+xml" />
	<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/</link>
	<description>Delving deep into the mind of me</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:51:24 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
	<item>
		<title>By: Ethan Moffitt</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-395</link>
		<dc:creator>Ethan Moffitt</dc:creator>
		<pubDate>Fri, 03 Feb 2012 15:51:24 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-395</guid>
		<description>This is one awesome blog article.Much thanks again. Really Great.</description>
		<content:encoded><![CDATA[<p>This is one awesome blog article.Much thanks again. Really Great.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jpjacobs</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-355</link>
		<dc:creator>jpjacobs</dc:creator>
		<pubDate>Fri, 23 Sep 2011 12:47:50 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-355</guid>
		<description>For broke harddisks (and for non broke too), also take a look at GNU ddrescue: http://www.gnu.org/s/ddrescue/ddrescue.html , which can copy all that is still readable in 1 go first, and then try harder on problematic regions. It was still able to rescue about half of my already dieing disk.

Don&#039;t confuse with dd_rescue, upon which is based, but which offers far less capabilities.

Also, when using ddrescue, do *not* write the image to an ntfs formatted disk using the ntfs-3g driver, it&#039;ll go as slow as hell, and probably wear out your disk even faster. This is not the fault of ddrescue, just the fact that it seeks in the output file, and writes small amounts at a time</description>
		<content:encoded><![CDATA[<p>For broke harddisks (and for non broke too), also take a look at GNU ddrescue: <a href="http://www.gnu.org/s/ddrescue/ddrescue.html" rel="nofollow">http://www.gnu.org/s/ddrescue/ddrescue.html</a> , which can copy all that is still readable in 1 go first, and then try harder on problematic regions. It was still able to rescue about half of my already dieing disk.</p>
<p>Don&#8217;t confuse with dd_rescue, upon which is based, but which offers far less capabilities.</p>
<p>Also, when using ddrescue, do *not* write the image to an ntfs formatted disk using the ntfs-3g driver, it&#8217;ll go as slow as hell, and probably wear out your disk even faster. This is not the fault of ddrescue, just the fact that it seeks in the output file, and writes small amounts at a time</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wally</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-223</link>
		<dc:creator>wally</dc:creator>
		<pubDate>Tue, 19 Jul 2011 07:45:34 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-223</guid>
		<description>Mighty fine.  That&#039;s typically awesome open-source software for you!

(Imagine trying to get &lt;em&gt;that&lt;/em&gt; level of help for say Norton Ghost!)

Let me know if you need any help building with the patch etc ... doesn&#039;t sound like it should be too much pain.</description>
		<content:encoded><![CDATA[<p>Mighty fine.  That&#8217;s typically awesome open-source software for you!</p>
<p>(Imagine trying to get <em>that</em> level of help for say Norton Ghost!)</p>
<p>Let me know if you need any help building with the patch etc &#8230; doesn&#8217;t sound like it should be too much pain.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogério Madureira</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-222</link>
		<dc:creator>Rogério Madureira</dc:creator>
		<pubDate>Tue, 19 Jul 2011 00:01:14 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-222</guid>
		<description>If this helps anybody:

Sleuthkit 3.2.0 on Ubuntu 11.04

&lt;code&gt;sudo apt-get install libewf1 libewf-dev zlib1g-dev build-essential libexpat1-dev libfuse2 libfuse-dev fuse-utils gvfs-fuse libncurses5-dev libreadline-dev uuid-dev libssl-dev&lt;/code&gt;

Download and extract afflib from http://afflib.org/ and run:
&lt;code&gt;./configure
make
sudo make install&lt;/code&gt;

Download and extract Sleuthkit from http://www.sleuthkit.org/sleuthkit/download.php

Download and extract http://www.williballenthin.com/ext4/TSK-Ext4.patch

Apply the patch (sleuthkit-3.2.1 and TSK-Ext4.patch are in the same folder)

&lt;code&gt;cd sleuthkit-3.2.1
patch -p1 &lt; ../TSK-Ext4.patch&lt;/code&gt;

After that run:
&lt;code&gt;./configure
make
sudo make install&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>If this helps anybody:</p>
<p>Sleuthkit 3.2.0 on Ubuntu 11.04</p>
<p><code>sudo apt-get install libewf1 libewf-dev zlib1g-dev build-essential libexpat1-dev libfuse2 libfuse-dev fuse-utils gvfs-fuse libncurses5-dev libreadline-dev uuid-dev libssl-dev</code></p>
<p>Download and extract afflib from <a href="http://afflib.org/" rel="nofollow">http://afflib.org/</a> and run:<br />
<code>./configure<br />
make<br />
sudo make install</code></p>
<p>Download and extract Sleuthkit from <a href="http://www.sleuthkit.org/sleuthkit/download.php" rel="nofollow">http://www.sleuthkit.org/sleuthkit/download.php</a></p>
<p>Download and extract <a href="http://www.williballenthin.com/ext4/TSK-Ext4.patch" rel="nofollow">http://www.williballenthin.com/ext4/TSK-Ext4.patch</a></p>
<p>Apply the patch (sleuthkit-3.2.1 and TSK-Ext4.patch are in the same folder)</p>
<p><code>cd sleuthkit-3.2.1<br />
patch -p1 &lt; ../TSK-Ext4.patch</code></p>
<p>After that run:<br />
<code>./configure<br />
make<br />
sudo make install</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogério Madureira</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-221</link>
		<dc:creator>Rogério Madureira</dc:creator>
		<pubDate>Mon, 18 Jul 2011 23:46:23 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-221</guid>
		<description>By the way, he says: &quot;I know the latest version is newer than what I patched against. I haven&#039;t had time to update the patch since 3.2.2.  I think the only bug fixes were against non-Ext file systems, so the minor update shouldn&#039;t add anything relevant to your situation. You have to use 3.2.1&quot;.</description>
		<content:encoded><![CDATA[<p>By the way, he says: &#8220;I know the latest version is newer than what I patched against. I haven&#8217;t had time to update the patch since 3.2.2.  I think the only bug fixes were against non-Ext file systems, so the minor update shouldn&#8217;t add anything relevant to your situation. You have to use 3.2.1&#8243;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogério Madureira</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-219</link>
		<dc:creator>Rogério Madureira</dc:creator>
		<pubDate>Mon, 18 Jul 2011 21:54:15 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-219</guid>
		<description>Wally, great news! I wrote to the list and just take a look at the reply I received:

- - -
Hey Rogério,

A few months ago, I wrote up a set of patches that bring basic Ext4 support to TSK.  Specifically, it updates the inode structures (creation timestamps, yay!) and adds support for extents.  You (and all others) are welcomed to give it a shot.  You can download it here: http://www.williballenthin.com/ext4/TSK-Ext4.patch (MD5: 3ba1d239bdc6048f0aeeba0447315346).

You&#039;ll need to patch TSK version 3.2.1 source, and then build it. However, with this done, the standard metadata and content layer tools worked against my test Ext4 images.  I will admit, however, that my testing was not very thorough, so your mileage my vary.

I have submitted the patches to Brian; however, I suspect that since I have not fully implemented all the new features of Ext4 (huge files, journaling changes, ...), it has not been included in the most recent update.

Please let me know if you have any questions.  I&#039;ll try to provide support as best I can, and as time allows ;-)

Willi Ballenthin
- - -

I&#039;ll give it a try and post the results, okay?</description>
		<content:encoded><![CDATA[<p>Wally, great news! I wrote to the list and just take a look at the reply I received:</p>
<p>- &#8211; -<br />
Hey Rogério,</p>
<p>A few months ago, I wrote up a set of patches that bring basic Ext4 support to TSK.  Specifically, it updates the inode structures (creation timestamps, yay!) and adds support for extents.  You (and all others) are welcomed to give it a shot.  You can download it here: <a href="http://www.williballenthin.com/ext4/TSK-Ext4.patch" rel="nofollow">http://www.williballenthin.com/ext4/TSK-Ext4.patch</a> (MD5: 3ba1d239bdc6048f0aeeba0447315346).</p>
<p>You&#8217;ll need to patch TSK version 3.2.1 source, and then build it. However, with this done, the standard metadata and content layer tools worked against my test Ext4 images.  I will admit, however, that my testing was not very thorough, so your mileage my vary.</p>
<p>I have submitted the patches to Brian; however, I suspect that since I have not fully implemented all the new features of Ext4 (huge files, journaling changes, &#8230;), it has not been included in the most recent update.</p>
<p>Please let me know if you have any questions.  I&#8217;ll try to provide support as best I can, and as time allows <img src='http://matt.matzi.org.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Willi Ballenthin<br />
- &#8211; -</p>
<p>I&#8217;ll give it a try and post the results, okay?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: wally</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-217</link>
		<dc:creator>wally</dc:creator>
		<pubDate>Mon, 18 Jul 2011 10:38:01 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-217</guid>
		<description>&lt;blockquote&gt;In the code above, “/dev/hda1″ is the mounted image you’ve cloned from your damaged partition, isn’t it?&lt;/blockquote&gt;

Yes ... although that&#039;s altered from what I &lt;em&gt;actually&lt;/em&gt; did.  I used &lt;code&gt;dd&lt;/code&gt; to byte-by-byte copy the disk (&lt;code&gt;/dev/xxx&lt;/code&gt;) to an image on my local drive - &lt;code&gt;dd&lt;/code&gt; provides some nice options like &quot;&lt;code&gt;noerror&lt;/code&gt;&quot; which forces copying even on I/O problems: &lt;a href=&quot;http://linux.die.net/man/1/dd&quot; rel=&quot;nofollow&quot;&gt;cf. dd manual page&lt;/a&gt;).  That way I didn&#039;t risk damaging the disk further by forcing it to spin etc!

&lt;blockquote&gt;And “/mnt/out” is the folder you’ve created to place the data from the image, is that correct?&lt;/blockquote&gt;

Yes.

&lt;blockquote&gt;Well the filesystem in the case is ext4. So I put “-i ext4″ to the mix and got this:
 “Unsupported image type: ext4″&lt;/blockquote&gt;

Mate, I&#039;m really sorry.  Sounds like ext4 (which if you&#039;re not aware, is a relatively recent FS) isn&#039;t supported - and probably won&#039;t be for a while.  It&#039;s partially for this reason I&#039;m sticking with ext3 for the time being ...

&lt;blockquote&gt;Do you know anything else I can do?&lt;/blockquote&gt;

Yes.  Don&#039;t give up ;-)  It took me 3 days to get &lt;em&gt;anything&lt;/em&gt; off the hard-drive I looked at!

Keep an eye out for new Sleuthkit releases ... it&#039;s as always only a matter of time ...

Other people also suggeset this:
  http://www.cgsecurity.org/wiki/TestDisk

As always, YMMV :)

Let me know if you have any success, I&#039;d be delighted to know!</description>
		<content:encoded><![CDATA[<blockquote><p>In the code above, “/dev/hda1″ is the mounted image you’ve cloned from your damaged partition, isn’t it?</p></blockquote>
<p>Yes &#8230; although that&#8217;s altered from what I <em>actually</em> did.  I used <code>dd</code> to byte-by-byte copy the disk (<code>/dev/xxx</code>) to an image on my local drive &#8211; <code>dd</code> provides some nice options like &#8220;<code>noerror</code>&#8221; which forces copying even on I/O problems: <a href="http://linux.die.net/man/1/dd" rel="nofollow">cf. dd manual page</a>).  That way I didn&#8217;t risk damaging the disk further by forcing it to spin etc!</p>
<blockquote><p>And “/mnt/out” is the folder you’ve created to place the data from the image, is that correct?</p></blockquote>
<p>Yes.</p>
<blockquote><p>Well the filesystem in the case is ext4. So I put “-i ext4″ to the mix and got this:<br />
 “Unsupported image type: ext4″</p></blockquote>
<p>Mate, I&#8217;m really sorry.  Sounds like ext4 (which if you&#8217;re not aware, is a relatively recent FS) isn&#8217;t supported &#8211; and probably won&#8217;t be for a while.  It&#8217;s partially for this reason I&#8217;m sticking with ext3 for the time being &#8230;</p>
<blockquote><p>Do you know anything else I can do?</p></blockquote>
<p>Yes.  Don&#8217;t give up <img src='http://matt.matzi.org.uk/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />   It took me 3 days to get <em>anything</em> off the hard-drive I looked at!</p>
<p>Keep an eye out for new Sleuthkit releases &#8230; it&#8217;s as always only a matter of time &#8230;</p>
<p>Other people also suggeset this:<br />
  <a href="http://www.cgsecurity.org/wiki/TestDisk" rel="nofollow">http://www.cgsecurity.org/wiki/TestDisk</a></p>
<p>As always, YMMV <img src='http://matt.matzi.org.uk/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Let me know if you have any success, I&#8217;d be delighted to know!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogério Madureira</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-209</link>
		<dc:creator>Rogério Madureira</dc:creator>
		<pubDate>Sat, 16 Jul 2011 13:01:09 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-209</guid>
		<description>Just to leave a note of hope for people who has the same problem, I found this useful: 
http://computer-forensics.sans.org/blog/2010/12/20/digital-forensics-understanding-ext4-part-1-extents</description>
		<content:encoded><![CDATA[<p>Just to leave a note of hope for people who has the same problem, I found this useful:<br />
<a href="http://computer-forensics.sans.org/blog/2010/12/20/digital-forensics-understanding-ext4-part-1-extents" rel="nofollow">http://computer-forensics.sans.org/blog/2010/12/20/digital-forensics-understanding-ext4-part-1-extents</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogério Madureira</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-208</link>
		<dc:creator>Rogério Madureira</dc:creator>
		<pubDate>Sat, 16 Jul 2011 12:48:55 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-208</guid>
		<description>Do you know anything else I can do?

- - -

While trying to identify the inodes, I got this:
&quot;Cannot determine file system type&quot;

Well the filesystem in the case is ext4. So I put &quot;-i ext4&quot; to the mix and got this:
&quot;Unsupported image type: ext4&quot;

A little search finished to broke my heart:
Ext4 is the modern replacement for Ext3, which is beginning to appear as the default install option for many Linux distributions. Currently, the Sleuth Kit does not have proper Ext4 support, but some tasks do work. For example, running ils against a specifc inode will still return expected results, but fs will exhibit inconsistent behavior. This is because the metadata structures have remained consistent with those found in an Ext2/Ext3 fle system, but the data unit layer has changed quite dramatically.</description>
		<content:encoded><![CDATA[<p>Do you know anything else I can do?</p>
<p>- &#8211; -</p>
<p>While trying to identify the inodes, I got this:<br />
&#8220;Cannot determine file system type&#8221;</p>
<p>Well the filesystem in the case is ext4. So I put &#8220;-i ext4&#8243; to the mix and got this:<br />
&#8220;Unsupported image type: ext4&#8243;</p>
<p>A little search finished to broke my heart:<br />
Ext4 is the modern replacement for Ext3, which is beginning to appear as the default install option for many Linux distributions. Currently, the Sleuth Kit does not have proper Ext4 support, but some tasks do work. For example, running ils against a specifc inode will still return expected results, but fs will exhibit inconsistent behavior. This is because the metadata structures have remained consistent with those found in an Ext2/Ext3 fle system, but the data unit layer has changed quite dramatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rogério Madureira</title>
		<link>http://matt.matzi.org.uk/2008/07/03/reconstructing-heavily-damaged-hard-drives/#comment-207</link>
		<dc:creator>Rogério Madureira</dc:creator>
		<pubDate>Sat, 16 Jul 2011 12:24:19 +0000</pubDate>
		<guid isPermaLink="false">http://matt.matzi.org.uk/?p=46#comment-207</guid>
		<description>Wally, sorry to bother with something so simple. In the code above, &quot;/dev/hda1&quot; is the mounted image you&#039;ve cloned from your damaged partition, isn&#039;t it? And &quot;/mnt/out&quot; is the folder you&#039;ve created to place the data from the image, is that correct?</description>
		<content:encoded><![CDATA[<p>Wally, sorry to bother with something so simple. In the code above, &#8220;/dev/hda1&#8243; is the mounted image you&#8217;ve cloned from your damaged partition, isn&#8217;t it? And &#8220;/mnt/out&#8221; is the folder you&#8217;ve created to place the data from the image, is that correct?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

