<?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>gHacks technology news &#187; disk cloning</title>
	<atom:link href="http://www.ghacks.net/tag/disk-cloning/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 03:24:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>dd: the ultimate disk cloning tool</title>
		<link>http://www.ghacks.net/2009/01/17/dd-the-ultimate-disk-cloning-tool/</link>
		<comments>http://www.ghacks.net/2009/01/17/dd-the-ultimate-disk-cloning-tool/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 00:16:16 +0000</pubDate>
		<dc:creator>Joe</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[acronis true image]]></category>
		<category><![CDATA[clone disk]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[copy data]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[disk cloning]]></category>
		<category><![CDATA[disk image]]></category>
		<category><![CDATA[iso]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=9947</guid>
		<description><![CDATA[I recently had to clone a hard disk so I naturally turned to solutions such as Acronis True Image, but I discovered these did not work (the start-up disk claimed the clong was &#8216;complete&#8217; when it blatantly wasn&#8217;t) and I also tried copying the partition using gParted in Ubuntu but this froze at about 3%, [...]]]></description>
			<content:encoded><![CDATA[<p>I recently had to clone a hard disk so I naturally turned to solutions such as Acronis True Image, but I discovered these did not work (the start-up disk claimed the clong was &#8216;complete&#8217; when it blatantly wasn&#8217;t) and I also tried copying the partition using gParted in Ubuntu but this froze at about 3%, due to corrupt data, which seemed not to be caught in a chkdsk.</p>
<p>I was about to give up hope and copy the files manually when I came across an extremely powerful, yet simple, Unix command: dd.</p>
<p>Using a Linux live disc, dd can be used to copy files, disks and partitions. It can output directly onto another disc or as an image (like an iso).</p>
<p>dd copies data byte-exactly, meaning it won&#8217;t get stuck should it encounter corrupted or fragmented data.</p>
<p><span id="more-9947"></span>dd is nicknamed &#8216;destroy disk&#8217; as mistyping one letter can wipe your hard disk, so caution must be used.</p>
<p>To copy a hard disk, one would use the following command (whilst root):</p>
<p><code>dd if=/dev/hdx of=/dev/hdy</code></p>
<p>hdx is the input hard disk (to be copied) and hdy is the output hard disk (where it is to be copied to).</p>
<p>if = input<br />
of = output</p>
<p>This is extremely important to remember and their names must be altered according to how they are on your computer (use a tool like gParted to find out your drive&#8217;s paths). For example, your &#8216;if&#8217; may be /dev/sdb whilst your &#8216;of&#8217; may be /dev/sda, but this obviously varies according to how you want to use it and computer-by-computer so you MUST check. An extremely intelligent friend of mine accidentally wiped a hard drive using this command!</p>
<p>Another use would be to use it to produce a CD image:</p>
<p><code>dd if=/dev/cdrom of=image.iso bs=2k</code>.</p>
<p><a href="http://www.debianhelp.co.uk/ddcommand.htm"><br />
Debian Help has a more complete guide.</a></p>

	Tags: <a href="http://www.ghacks.net/tag/acronis-true-image/" title="acronis true image" rel="tag">acronis true image</a>, <a href="http://www.ghacks.net/tag/clone-disk/" title="clone disk" rel="tag">clone disk</a>, <a href="http://www.ghacks.net/tag/command/" title="command" rel="tag">command</a>, <a href="http://www.ghacks.net/tag/copy-data/" title="copy data" rel="tag">copy data</a>, <a href="http://www.ghacks.net/tag/dd/" title="dd" rel="tag">dd</a>, <a href="http://www.ghacks.net/tag/disk-cloning/" title="disk cloning" rel="tag">disk cloning</a>, <a href="http://www.ghacks.net/tag/disk-image/" title="disk image" rel="tag">disk image</a>, <a href="http://www.ghacks.net/tag/iso/" title="iso" rel="tag">iso</a>, <a href="http://www.ghacks.net/tag/linux/" title="Linux" rel="tag">Linux</a>, <a href="http://www.ghacks.net/tag/unix/" title="unix" rel="tag">unix</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/03/29/remote-ssh-run-processes-anywhere-on-different-platforms/" title="Remote SSH: Run processes anywhere on different platforms (March 29, 2009)">Remote SSH: Run processes anywhere on different platforms</a> (1)</li>
	<li><a href="http://www.ghacks.net/2008/11/08/iso-creator/" title="ISO Creator (November 8, 2008)">ISO Creator</a> (4)</li>
	<li><a href="http://www.ghacks.net/2006/12/03/how-to-easily-dump-ps3-movies-and-games/" title="How to easily dump PS3 movies and games (December 3, 2006)">How to easily dump PS3 movies and games</a> (7)</li>
	<li><a href="http://www.ghacks.net/2009/01/27/burn-cds-from-command-line/" title="Burn CDs From Command Line (January 27, 2009)">Burn CDs From Command Line</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/01/11/burn-cd-and-dvd-iso-images-with-k3b/" title="Burn CD and DVD ISO Images with K3B (January 11, 2009)">Burn CD and DVD ISO Images with K3B</a> (9)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/01/17/dd-the-ultimate-disk-cloning-tool/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
