<?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>huanix &#187; helix3</title>
	<atom:link href="http://www.huanix.com/category/helix3/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.huanix.com</link>
	<description>chown -R huanix /</description>
	<lastBuildDate>Sat, 03 Apr 2010 15:29:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>data recovery using dd_rescue over ssh</title>
		<link>http://www.huanix.com/2009/04/11/data-recovery-using-dd_rescue-over-ssh/</link>
		<comments>http://www.huanix.com/2009/04/11/data-recovery-using-dd_rescue-over-ssh/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 22:37:31 +0000</pubDate>
		<dc:creator>huanix</dc:creator>
				<category><![CDATA[data recovery]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[helix3]]></category>

		<guid isPermaLink="false">http://www.huanix.com/?p=323</guid>
		<description><![CDATA[These notes are primarily for my own use, but maybe you&#8217;ll get some benefit out of them. Also &#8211; these directions are a work in progress; i appreciate your feedback to improve them. Data recovery from a failed drive using dd_rescue over ssh: Use Helix3 as a boot disk; ensure the network is connected; Make [...]]]></description>
			<content:encoded><![CDATA[<p>These notes are primarily for my own use, but maybe you&#8217;ll get some benefit out of them. Also &#8211; these directions are a work in progress; i appreciate your feedback to improve them.</p>
<p>Data recovery from a failed drive using dd_rescue over ssh:</p>
<ol>
<li>Use Helix3 as a boot disk; ensure the network is connected; Make sure the bad/recovered hard drive is connected, but do not mount it in helix &#8211; it causes unnecessary disk activity. I prefer the console mode.</li>
<li>Identify the correct disk to recover. You might already know this, but use fdisk -l to be sure.</li>
<li>dd_rescue /dev/hda &#8211; | ssh huanix@192.168.1.4 &#8216;dd of=/media/data/test.img&#8217;</li>
<li>sometimes this hangs and i have to ctrl-z and restart. accept the RSA key and enter the user password.</li>
<li>The rescue can take a lot of time depending on how well the head transfer went, or how damaged the platters are. My worst case average is 1gb/hr</li>
<li>Now that you have the image on a safe machine, i like to make a copy of the disk image, just to be safe!</li>
<li>examine/build the partition table. I struggle here, but i eventually get it right.</li>
<li>fdisk -l to check the drive format</li>
<li>fdisk /dev/hda</li>
<li>enter expert mode (x)</li>
<li>set the sectors (s), heads (h), and cylinders (c), then return to home (r) and then write (w)</li>
<li>Calculate the offset: fdisk -lu //media/data/test.img</li>
<li>look in the &#8220;start&#8221; column, find the value and multiply it by 512 to get your offset.</li>
<li>the following mounts a fat32 partition (vfat)</li>
<li>sudo mount -t vfat -o loop,offset=32256 /media/data/test.img /media/test</li>
</ol>
<p>Primary references:</p>
<p>http://www.debianadmin.com/recover-data-from-a-dead-hard-drive-using-ddrescue.html</p>
<p>http://www.linux-usb.org/gadget/file_storage.html</p>
<p>As I research this method I&#8217;m learning more about dd_rescue vs. ddrescue. I&#8217;m working to use the newer, better ddrescue&#8230; this is just for reference!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.huanix.com/2009/04/11/data-recovery-using-dd_rescue-over-ssh/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
