<?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>Geek Tips &#187; master boot record</title>
	<atom:link href="http://tips.mistergeek.com/tag/master-boot-record/feed" rel="self" type="application/rss+xml" />
	<link>http://tips.mistergeek.com</link>
	<description>making IT as simple as ABC</description>
	<lastBuildDate>Mon, 16 Jan 2012 15:23:32 +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>Repair Windows MBR with Ubuntu LiveCD</title>
		<link>http://tips.mistergeek.com/87</link>
		<comments>http://tips.mistergeek.com/87#comments</comments>
		<pubDate>Sun, 03 Jul 2011 08:54:51 +0000</pubDate>
		<dc:creator>benriley</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Recovery]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[master boot record]]></category>
		<category><![CDATA[mbr]]></category>
		<category><![CDATA[recover]]></category>
		<category><![CDATA[repair]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://tips.mistergeek.com/?p=87</guid>
		<description><![CDATA[If something happens to your Windows Master Boot Record (MBR), here is a very quick and easy way to restore it with nothing but an Ubuntu LiveCD WARNING: You are working with your disks in a very direct manner throughout this process. As always, having thorough and recent backups is essential. Boot into your Ubuntu [...]]]></description>
			<content:encoded><![CDATA[<div align="justify"><span style="font-family:arial;font-size:12;">If something happens to your Windows Master Boot Record (MBR), here is a very quick and easy way to restore it with nothing but an Ubuntu LiveCD</p>
<p><b>WARNING</b>: You are working with your disks in a very direct manner throughout this process. As always, having thorough and recent backups is essential.
<ol>
<li>Boot into your Ubuntu LiveCD on the offending machine.</li>
<li>Once Ubuntu has started up, go to <i>System</i> > <i>Administration</i> > <i>Software Sources</i> and enable the <i>Universal Repository</i>.</li>
<li>Open a terminal session (<i>Applications</i> > <i>Accessories</i> > <i>Terminal</i>) and type <b>sudo apt-get install ms-sys</b></li>
<li>Now you need to figure out which partition is the one hosting your Windows operating system. Start by typing <b>sudo fdisk -l</b> in to Terminal window.</li>
<li>From the resultant list of available partitions, you are looking for a partition that says something like:
<p><i>/dev/sda1 1 8619 94723115 81 NTFS</i></p>
<p>The two important bits are the <u>/dev/sda1</u> which is the partition label and the <u>NTFS</u> which tells us it is a Windows formatted partition.  So, in this example, your Windows partition exists on the drive sda and it is at partition 1.</li>
<li>We nned to fix the MBR on /dev/sda so type <b>sudo ms-sys -m /dev/sda</b>. You will need to change the <i>sda</i> text if your results from step 4 are different.</li>
<li>Remove the LiveCD from the CD drive and reboot the machine. Windows should come back to you.</li>
</ol>
<p>Of course, you could do this by inserting the correct Windows CD and booting into repair mode but the Ubuntu way doesn&#8217;t care about versions and is actually a bit faster.</span></div>
]]></content:encoded>
			<wfw:commentRss>http://tips.mistergeek.com/87/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

