<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Some stuff &#187; ext2 partitions</title>
	<atom:link href="http://blog.yhuang.org/?feed=rss2&#038;tag=ext2-partitions" rel="self" type="application/rss+xml" />
	<link>https://blog.yhuang.org</link>
	<description>here.</description>
	<lastBuildDate>Wed, 27 Aug 2025 08:50:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.1</generator>
		<item>
		<title>Useful information (Appendix)</title>
		<link>https://blog.yhuang.org/?p=47</link>
		<comments>https://blog.yhuang.org/?p=47#comments</comments>
		<pubDate>Mon, 08 Jan 2007 03:24:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Appendix]]></category>
		<category><![CDATA[ddrescue]]></category>
		<category><![CDATA[disk]]></category>
		<category><![CDATA[ext]]></category>
		<category><![CDATA[ext2 file system]]></category>
		<category><![CDATA[ext2 partition]]></category>
		<category><![CDATA[ext2 partitions]]></category>
		<category><![CDATA[external usb drive]]></category>
		<category><![CDATA[hard disk recovery]]></category>
		<category><![CDATA[recovery]]></category>

		<guid isPermaLink="false">http://scripts.mit.edu/~zong/wpress/?p=47</guid>
		<description><![CDATA[This is part of the hard disk recovery documentation. Appendix. Here are all the tools that made an arguably irreplaceable contribution in the recovery: Knoppix CD ddrescue DiskProbe fsstat (part of Knoppix) ext2 Installable File System (use with caution, as it may crap on your ext2 partition) Mount Image Pro vdk nfi chkdsk (part of [...]]]></description>
			<content:encoded><![CDATA[<p>This is part of the hard disk recovery documentation.</p>
<p>Appendix.</p>
<p>Here are all the tools that made an arguably irreplaceable contribution in the recovery:</p>
<ul>
<li><a href="http://www.knoppix.org/">Knoppix CD</a></li>
<li><a href="http://ftp.gnu.org/gnu/ddrescue/">ddrescue</a></li>
<li><a href="http://www.microsoft.com/downloads/details.aspx?familyid=49AE8576-9BB9-4126-9761-BA8011FABF38&#038;displaylang=en">DiskProbe</a></li>
<li>fsstat (part of Knoppix)</li>
<li><a href="http://www.fs-driver.org/download.html">ext2 Installable File System</a> (use with caution, as it may crap on your ext2 partition)</li>
<li><a href="http://www.mountimage.com/download-computer-forensics-software.php">Mount Image Pro</a></li>
<li><a href="http://chitchat.at.infoseek.co.jp/vmware/vdk.html">vdk</a></li>
<li><a href="http://support.microsoft.com/kb/253066">nfi</a></li>
<li>chkdsk (part of Windows XP)</li>
<li>ntbackup (part of Windows XP)</li>
<li><a href="http://www.elcomsoft.com/aefsdr.html">Advanced EFS Data Recovery</a></li>
</ul>
<p><span id="more-47"></span><br />
Here are some additional links that I looked at, with more information:</p>
<ul>
<li><a href="http://geeksaresexy.blogspot.com/2005/12/hard-drive-recovery-utilities-when-you.html">Hard disk recovery utilities</a></li>
<li><a href="http://www.ngine.de/index.jsp?pageid=4176">Installing XP on external USB drive</a></li>
<li><a href="http://www.pcinspector.de/file_recovery/uk/faq.htm">&#8220;PC Inspector&#8221; recovery software</a></li>
<li><a href="http://www.stellarinfo.com/">&#8220;Stellar&#8221; recovery software</a></li>
<li><a href="http://geschonneck.com/security/forensics/">Forensics tools</a></li>
<li><a href="http://freshmeat.net/projects/addrescue/?branch_id=52446&#038;release_id=243389">ddrescue documentation</a> and <a href="http://serverfault.com/questions/4906/using-dd-for-disk-cloning">discussion</a></li>
<li><a href="http://www.kernel.org/pub/dist/knoppix-dvd/knoppix-cheatcodes.txt">Knoppix boot options</a></li>
<li><a href="http://www.linuxquestions.org/questions/showthread.php?t=485322">Tips on NTFS recovery from ddrescue image and log</a></li>
<li><a href="http://www.ntfs.com/ntfs.htm">NTFS file system description</a></li>
<li><a href="http://www.linux-ntfs.org/content/view/104/43/">More technical information about NTFS</a></li>
<li><a href="http://www.science.unitn.it/~fiorella/guidelinux/tlk/node95.html">Ext2 file system description</a> (I only found the section entitled &#8220;The ext2 Group Descriptor&#8221; to be helpful. I put little trust in the correctness of the rest.)</li>
<li><a href="http://oss.oracle.com/projects/ocfs2/dist/documentation/disklayout.pdf">Disk layout of ext2 and ocfs2</a> (The data structures and the example of what the Group Descriptor Table were useful. The rest like the &#8220;first data block&#8221; value is different from what is observed &#8212; although the examples use a block size of 1KB, which may make a difference.)</li>
</ul>
<p>For the record, here are the two external disks I have with their ext2 partitions&#8217; Superblocks shown:</p>
<p>100GB disk, just one ext2 partition, starts at sector 63.<br />
<img src="wp-content/uploads/images/sector1.png"/></p>
<p>160GB disk, there is a 20GB FAT32 partition, and the second ext2 partition starts at sector 41945715. This is the partition whose backup superblocks are all off by +1KB (but are otherwise correct), and hence has an illegal formatting.<br />
<img src="wp-content/uploads/images/sector2.png"/></p>
<p>And here are the ddrescue log files, from the <a href="wp-content/uploads/rescue1.log">first run</a> and the <a href="wp-content/uploads/rescue2.log">second run</a>.</p>
<p>Back to <a href="http://scripts.mit.edu/~zong/wpress/?p=35">the beginning</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.yhuang.org/?feed=rss2&#038;p=47</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
