<?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: Linux: How to backup hard disk partition table (MBR)</title> <atom:link href="http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html/feed" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html</link> <description>This is a Linux sys admin journal by Vivek about sys admin work, Linux tips &#38; tricks, hacks, news and more.</description> <lastBuildDate>Fri, 10 Feb 2012 20:37:43 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: Marek</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-176629</link> <dc:creator>Marek</dc:creator> <pubDate>Wed, 07 Dec 2011 11:19:15 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-176629</guid> <description>What about GPT ?</description> <content:encoded><![CDATA[<p>What about GPT ?</p> ]]></content:encoded> </item> <item><title>By: Mr_T</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173935</link> <dc:creator>Mr_T</dc:creator> <pubDate>Tue, 13 Sep 2011 19:31:39 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173935</guid> <description>Victor,
In your first post, could you clarify the units you are using for  mbr and the partiton table and what is the &quot;2 as end&quot; means.  Its not intuitive to the uninitiated.
Thanks</description> <content:encoded><![CDATA[<p>Victor,<br
/> In your first post, could you clarify the units you are using for  mbr and the partiton table and what is the &#8220;2 as end&#8221; means.  Its not intuitive to the uninitiated.</p><p>Thanks</p> ]]></content:encoded> </item> <item><title>By: victor</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173687</link> <dc:creator>victor</dc:creator> <pubDate>Sat, 03 Sep 2011 12:45:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173687</guid> <description>i&#039;m sorry, i&#039;m mistake. error coud be if mbr is all zero. then you must add conv=notrunc for no file optimization.
ej:
2GB file
dd if=/dev/zero of=afile bs=1 seek=2GB count=1 (file size in hd&lt;1kb)
or
dd if=/dev/zero of=afile bs=1 count=2GB (file size in hd=2gb)
size must be specific in bytes, 2gb is only for easy read.
note: a little bs spend more time</description> <content:encoded><![CDATA[<p>i&#8217;m sorry, i&#8217;m mistake. error coud be if mbr is all zero. then you must add conv=notrunc for no file optimization.<br
/> ej:<br
/> 2GB file<br
/> dd if=/dev/zero of=afile bs=1 seek=2GB count=1 (file size in hd&lt;1kb)<br
/> or<br
/> dd if=/dev/zero of=afile bs=1 count=2GB (file size in hd=2gb)</p><p>size must be specific in bytes, 2gb is only for easy read.<br
/> note: a little bs spend more time</p> ]]></content:encoded> </item> <item><title>By: victor</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173686</link> <dc:creator>victor</dc:creator> <pubDate>Sat, 03 Sep 2011 12:18:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173686</guid> <description>jns, it could be because only one seek is needed.
there are 446b of MBR, 64b of Partition Table and 2 as end (0x55aa). {= 512b}
if skip and seek aren&#039;t synonimous, you seek 446 + 446.
thus, command line must be
dd if=sda-mbr.bin of=/dev/sdX bs=1 count=64 skip=446
or
dd if=sda-mbr.bin of=/dev/sdX bs=1 count=64 seek=446</description> <content:encoded><![CDATA[<p>jns, it could be because only one seek is needed.<br
/> there are 446b of MBR, 64b of Partition Table and 2 as end (0x55aa). {= 512b}<br
/> if skip and seek aren&#8217;t synonimous, you seek 446 + 446.<br
/> thus, command line must be<br
/> dd if=sda-mbr.bin of=/dev/sdX bs=1 count=64 skip=446<br
/> or<br
/> dd if=sda-mbr.bin of=/dev/sdX bs=1 count=64 seek=446</p> ]]></content:encoded> </item> <item><title>By: jns</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173473</link> <dc:creator>jns</dc:creator> <pubDate>Mon, 22 Aug 2011 06:07:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-173473</guid> <description>The restore line corrupted my entire partition table...
beware, i guess...</description> <content:encoded><![CDATA[<p>The restore line corrupted my entire partition table&#8230;<br
/> beware, i guess&#8230;</p> ]]></content:encoded> </item> <item><title>By: VernDog</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-168459</link> <dc:creator>VernDog</dc:creator> <pubDate>Wed, 26 Jan 2011 16:26:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-168459</guid> <description>Wrong! This method DOES WORK with extended , primary partitions. I&#039;ve used it all the time, to both backup &amp; restore. Just remember to backup MBR if you add any changes to partitions.</description> <content:encoded><![CDATA[<p>Wrong! This method DOES WORK with extended , primary partitions. I&#8217;ve used it all the time, to both backup &amp; restore. Just remember to backup MBR if you add any changes to partitions.</p> ]]></content:encoded> </item> <item><title>By: Jack</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-160112</link> <dc:creator>Jack</dc:creator> <pubDate>Sat, 09 Oct 2010 09:47:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-160112</guid> <description>PT,
You can use sfdisk to backup extended partition table.
sfdisk -d /dev/sdX &gt; backup-sdX.sf
Restore:
sfdisk /dev/sdX &lt; backup-sdX.sf</description> <content:encoded><![CDATA[<p>PT,</p><p>You can use sfdisk to backup extended partition table.</p><p> sfdisk -d /dev/sdX &gt; backup-sdX.sf</p><p>Restore:</p><p>sfdisk /dev/sdX &lt; backup-sdX.sf</p> ]]></content:encoded> </item> <item><title>By: PT</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-158781</link> <dc:creator>PT</dc:creator> <pubDate>Tue, 10 Aug 2010 05:14:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-158781</guid> <description>This advice does not work if you have an extended partition table.</description> <content:encoded><![CDATA[<p>This advice does not work if you have an extended partition table.</p> ]]></content:encoded> </item> <item><title>By: Wartin</title><link>http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-155047</link> <dc:creator>Wartin</dc:creator> <pubDate>Thu, 15 Apr 2010 13:37:17 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/tips/linux-how-to-backup-hard-disk-partition-table-mbr.html#comment-155047</guid> <description>dd if= sda-mbr.bin
it has a blank space after =, it should read
dd if=sda-mbr.bin of=/dev/sdX bs=1 count=64 skip=446 seek=446</description> <content:encoded><![CDATA[<p>dd if= sda-mbr.bin</p><p>it has a blank space after =, it should read</p><p> dd if=sda-mbr.bin of=/dev/sdX bs=1 count=64 skip=446 seek=446</p> ]]></content:encoded> </item> </channel> </rss>
