<?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>sfdisk &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/sfdisk/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Mon, 22 Aug 2011 15:22:59 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To Backup &#038; Restore Master Boot Record (MBR) In Linux</title>
		<link>https://lifelinux.com/how-to-backup-restore-master-boot-record-mbr-in-linux/</link>
					<comments>https://lifelinux.com/how-to-backup-restore-master-boot-record-mbr-in-linux/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Mon, 22 Aug 2011 15:09:43 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[boot sector]]></category>
		<category><![CDATA[byte]]></category>
		<category><![CDATA[data storage]]></category>
		<category><![CDATA[dd command]]></category>
		<category><![CDATA[hard disk]]></category>
		<category><![CDATA[master boot record]]></category>
		<category><![CDATA[mbr]]></category>
		<category><![CDATA[partition table]]></category>
		<category><![CDATA[primary and extended partition]]></category>
		<category><![CDATA[raid 1]]></category>
		<category><![CDATA[sfdisk]]></category>
		<category><![CDATA[sfdisk command]]></category>
		<category><![CDATA[signature]]></category>
		<category><![CDATA[storage device]]></category>
		<category><![CDATA[UNIX]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=957</guid>

					<description><![CDATA[<p>A master boot record (MBR) is a type of boot sector popularized by the IBM Personal Computer. It consists of a sequence of 512 bytes located at the first sector of a data storage device such as a hard disk. MBRs are usually placed on storage devices intended for use with IBM PC-compatible systems. MBR [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-backup-restore-master-boot-record-mbr-in-linux/">How To Backup &#038; Restore Master Boot Record (MBR) In Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>A master boot record (MBR) is a type of boot sector popularized by the IBM Personal Computer. It consists of a sequence of 512 bytes located at the first sector of a data storage device such as a hard disk. MBRs are usually placed on storage devices intended for use with IBM PC-compatible systems.<br />
<span id="more-957"></span></p>
<h2>MBR Total Size</h2>
<p>446 + 64 + 2 = 512</p>
<p><strong>Where,</strong><br />
446 bytes &#8211; Bootstrap.<br />
64 bytes &#8211; Partition table.<br />
2 bytes &#8211; Signature.</p>
<h2>Backup MBR</h2>
<p>Linux or Unix provides &#8220;dd&#8221; tool to backup any file. Usually, you must be &#8220;root&#8221; so that you can use it.</p>
<pre>
# dd if=/dev/sda of=/backup/mbr_sda.bak bs=512 count=1
</pre>
<p>Above command will copy 512 bytes (MBR) from sda to mbr_sda.bak</p>
<h2>Restore MBR</h2>
<p>To restore the MBR and partition table, type the following command</p>
<pre>
# dd if=/backup/mbr_sda.bak of=/dev/hda bs=512 count=1
</pre>
<p>To restore the MBR, type the following command</p>
<pre>
# dd if=/backup/mbr_sda.bak of=/dev/hda bs=446 count=1
</pre>
<g:plusone href="https://lifelinux.com/how-to-backup-restore-master-boot-record-mbr-in-linux/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-backup-restore-master-boot-record-mbr-in-linux/">How To Backup &#038; Restore Master Boot Record (MBR) In Linux</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-backup-restore-master-boot-record-mbr-in-linux/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
