<?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>fabiolagana.net &#187; cloning</title>
	<atom:link href="http://blog.fabiolagana.net/category/linux/cloning/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fabiolagana.net</link>
	<description>640 Kb should be enough memory for anybody</description>
	<lastBuildDate>Mon, 26 Oct 2009 13:17:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using dd to create disk images</title>
		<link>http://blog.fabiolagana.net/using-dd-create-disk-images/</link>
		<comments>http://blog.fabiolagana.net/using-dd-create-disk-images/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 14:23:57 +0000</pubDate>
		<dc:creator>Fabio Laganà</dc:creator>
				<category><![CDATA[cloning]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dd]]></category>
		<category><![CDATA[hard disk]]></category>

		<guid isPermaLink="false">http://blog.fabiolagana.net/?p=83</guid>
		<description><![CDATA[&#160;Powered by Max Banner Ads&#160; Create a hard disk image: &#160; dd if=/dev/hda1 of=/home/hda1.bin &#160; Create a compressed disk image &#160; dd if=/dev/hda1 &#124; gzip &#38;gt; /home/hda1.bin.gz &#160; Back up the MBR &#160; dd if=/dev/hda of=/home/hda.boot.mbr bs=512 count=1 &#160; Restore MBR &#40;from a Live CD&#41; &#160; dd if=/mnt/hda1/home/hda.boot.mbr of=/dev/hda bs=512 count=1 &#160; Backup a drive [...]]]></description>
			<content:encoded><![CDATA[
<div class="wp_codebox"><table><tr id="p832"><td class="code" id="p83code2"><pre class="bash" style="font-family:monospace;">Create a hard disk image:
&nbsp;
 <span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hda1 <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>hda1.bin
&nbsp;
Create a compressed disk image
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hda1 <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">gzip</span>  <span style="color: #000000; font-weight: bold;">&amp;</span>gt; <span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>hda1.bin.gz
&nbsp;
Back up the MBR
&nbsp;
 <span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hda <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>hda.boot.mbr <span style="color: #007800;">bs</span>=<span style="color: #000000;">512</span> <span style="color: #007800;">count</span>=<span style="color: #000000;">1</span>
&nbsp;
Restore MBR <span style="color: #7a0874; font-weight: bold;">&#40;</span>from a Live CD<span style="color: #7a0874; font-weight: bold;">&#41;</span>
&nbsp;
<span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/</span>hda1<span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>hda.boot.mbr <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hda <span style="color: #007800;">bs</span>=<span style="color: #000000;">512</span> <span style="color: #007800;">count</span>=<span style="color: #000000;">1</span>
&nbsp;
Backup a drive to another drive
&nbsp;
 <span style="color: #c20cb9; font-weight: bold;">dd</span> <span style="color: #007800;">if</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hda <span style="color: #007800;">of</span>=<span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>hdb <span style="color: #007800;">conv</span>=noerror,<span style="color: #c20cb9; font-weight: bold;">sync</span> <span style="color: #007800;">bs</span>=4k</pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.fabiolagana.net/using-dd-create-disk-images/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->
