<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Matt Manela's Blog : Ubuntu</title><link>http://blogs.msdn.com/matt/archive/tags/Ubuntu/default.aspx</link><description>Tags: Ubuntu</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Master Boot Record Fiasco</title><link>http://blogs.msdn.com/matt/archive/2007/11/07/master-boot-record-fiasco.aspx</link><pubDate>Thu, 08 Nov 2007 07:37:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5976925</guid><dc:creator>MattManela</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/matt/comments/5976925.aspx</comments><wfw:commentRss>http://blogs.msdn.com/matt/commentrss.aspx?PostID=5976925</wfw:commentRss><description>&lt;p&gt;&lt;strong&gt;The Error&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I restarted my computer for the first time in a couple weeks and it would not boot.&amp;nbsp; I was&amp;nbsp;faced with a screen which said:&lt;/p&gt; &lt;p&gt;&lt;em&gt;Grub Loading Stage 1.5&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&lt;em&gt;Error 22&lt;/em&gt;&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;A nice helpful error.&amp;nbsp; &lt;/p&gt; &lt;p&gt;Now I was faced with a problem and I needed to figure out how to solve this. My first step was to restart again, since that ALWAYS fixes problems.&amp;nbsp; Sadly, after several more restarts I still was stuck at that screen.&amp;nbsp; Then it hits me as to what is going on.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;One Week Earlier&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I&amp;nbsp;had Ubuntu 7.04 dual-booting with Windows XP on my computer.&amp;nbsp; I was running low on hard drive space so I decided&lt;/p&gt; &lt;p&gt;to get rid of the Ubuntu partition.&amp;nbsp; That worked fine and then I go on using my computer not realizing that by removing that partition, the Grub application that was in the master boot record would now fail to run.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;The Solution&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;I looked the error up online and found out that Error 22 means that Grub failed to find a partition.&amp;nbsp; Which makes sense since I deleted the partition it was looking for.&amp;nbsp; The simplest solution to this problem&amp;nbsp;would be to put a Windows XP disc in and go to the recovery console. From there you can easily overwrite the master boot record with the default windows one.&amp;nbsp; One problem though, I couldn't find my XP disc.&amp;nbsp; Now I know, I work for Microsoft I could just get one the next day.&amp;nbsp; I thought about that but I didn't want to wait, I was determined to fix the problem.&amp;nbsp; The only solution&lt;em&gt;&amp;nbsp; &lt;/em&gt;I could think of to re-install Ubuntu from a Live CD which would let me repartition, and fix the Grub boot record.&lt;/p&gt; &lt;p&gt;&amp;nbsp;&lt;/p&gt; &lt;p&gt;&lt;strong&gt;In The End&lt;/strong&gt;&lt;/p&gt; &lt;p&gt;After all of that I am able to boot into my computer once more.&amp;nbsp; I also learned my lesson, Ubuntu does not like when I delete it :)&amp;nbsp; &lt;/p&gt; &lt;p&gt;For now I will stick with having my computer dual-boot Windows and Ubuntu.&lt;/p&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=5976925" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/matt/archive/tags/PC/default.aspx">PC</category><category domain="http://blogs.msdn.com/matt/archive/tags/Ubuntu/default.aspx">Ubuntu</category><category domain="http://blogs.msdn.com/matt/archive/tags/Windows/default.aspx">Windows</category></item></channel></rss>