<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dushan888- Technology &#38; FOSS for Humans &#187; reinstall</title>
	<atom:link href="http://dushan888.wordpress.com/tag/reinstall/feed/" rel="self" type="application/rss+xml" />
	<link>http://dushan888.wordpress.com</link>
	<description>Technology &#38; FOSS for Humans!</description>
	<lastBuildDate>Fri, 25 Dec 2009 15:27:07 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dushan888.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/8261350af7612de99794c0b1aa067da4?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Dushan888- Technology &#38; FOSS for Humans &#187; reinstall</title>
		<link>http://dushan888.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dushan888.wordpress.com/osd.xml" title="Dushan888- Technology &amp; FOSS for Humans" />
		<item>
		<title>Reinstalling the GRUB</title>
		<link>http://dushan888.wordpress.com/2008/12/08/reinstalling-the-grub/</link>
		<comments>http://dushan888.wordpress.com/2008/12/08/reinstalling-the-grub/#comments</comments>
		<pubDate>Mon, 08 Dec 2008 02:56:00 +0000</pubDate>
		<dc:creator>Dushi</dc:creator>
				<category><![CDATA[Computer]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[dushan888]]></category>
		<category><![CDATA[dushi]]></category>
		<category><![CDATA[grub]]></category>
		<category><![CDATA[installing the grub]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linuxmint]]></category>
		<category><![CDATA[mbr]]></category>
		<category><![CDATA[reinstall]]></category>

		<guid isPermaLink="false">http://dushan888.wordpress.com/?p=160</guid>
		<description><![CDATA[      New Linux users like to keep windows in their computers while getting use to Linux. But I don&#8217;t recommend that because when they find something hard in Linux or something new to do in Linux, most of them just forget about everything and get it done in windows. So they won’t learn anything new.
            [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dushan888.wordpress.com&blog=3513735&post=160&subd=dushan888&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>      </span>New Linux users like to keep windows in their computers while getting use to Linux. But I don&#8217;t recommend that because when they find something hard in Linux or something new to do in Linux, most of them just forget about everything and get it done in windows. So they won’t learn anything new.</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>            </span><span> </span>However most new users think whenever they run a new installation of Windows the <span>GRUB</span> gets disappear so they also have to reinstall Linux. But that’s not the way! Oops, I almost forgot to tell what GRUB is<strong>. </strong>Well<strong> </strong><span>GRUB<strong> </strong></span>stands for <strong>GRand Unified Bootloader. </strong>It’s a flexible and a powerful boot loader which comes with Linux<strong>. </strong>It’s useful when we use more than one operating system in a single PC. </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><strong><span>            </span></strong>So the reason for the disappearance of <span>GRUB</span> is when user installs Windows or any other OS after a Linux installation, the newly installed OS rewrites the <strong>MBR (</strong>Master Boot Record) with its own boot loader. OK then this is the way to re-establish the <strong>GRUB</strong>. </span></span></p>
<p class="MsoNormal" style="text-indent:.25in;margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>       </span>0. Boot the machine from your Live CD/DVD. </span></span></p>
<p class="MsoNormal" style="margin:0 0 0 .5in;"><span style="font-size:small;font-family:Times;"> </span></p>
<p class="MsoNormal" style="text-indent:-.25in;margin:0 0 0 .75in;"><span><span><span style="font-size:small;font-family:Times;">1.</span><span style="font:7pt 'Times New Roman';">      </span></span></span><span style="font-size:small;font-family:Times;">Open a terminal/konsole and get into root mode by giving </span></p>
<p class="MsoNormal" style="margin:0 0 0 .75in;"><strong><span style="font-size:small;"><span style="font-family:Times;">sudo<span>  </span>su</span></span></strong></p>
<p class="MsoNormal" style="margin:0 0 0 .5in;"><span style="font-size:small;font-family:Times;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>            </span>2.Then type &#8216;<strong>grub&#8217; </strong>and press enter. This allows the user to run the grub shell.</span></span></p>
<p class="MsoNormal" style="margin:0 0 0 36.75pt;"><span><span style="font-size:small;font-family:Times;"> </span></span></p>
<p class="MsoNormal" style="margin:0 0 0 .5in;"><span style="font-size:small;font-family:Times;">3. Setting the root device. Root device means the partition which contains the &#8216;/boot&#8217; directory. If you’re not sure with that, you can find the corresponding partition by giving,</span></p>
<p class="MsoNormal" style="margin:0 0 0 .5in;"><span style="font-size:small;"><span style="font-family:Times;">grub&gt; <strong>find<span>  </span>/boot/grub/stage1</strong></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>                        </span>I have resulted this,</span></span></p>
<p class="MsoNormal" style="margin:0;"> </p>
<div id="attachment_161" class="wp-caption aligncenter" style="width: 240px"><img class="size-full wp-image-161" title="grub&gt; find  /boot/grub/stage1" src="http://dushan888.files.wordpress.com/2008/12/pic1.png?w=230&#038;h=46" alt="grub&gt; find  /boot/grub/stage1" width="230" height="46" /><p class="wp-caption-text">grub&gt; find /boot/grub/stage1</p></div>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times;">            This says my hard disk number is 1 and partition number is 3.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>            </span><strong>Note: </strong>hard disk numbers and partition numbers are starting from 0.</span></span></p>
<p class="MsoNormal" style="margin:0 0 0 36.75pt;"><span style="font-size:small;font-family:Times;">(According to me, this is the 4<sup>th</sup> partition of my 2<sup>nd</sup> hard disk)</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>                        </span>Now, I’m setting it as the root device.</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>                        </span>grub&gt;<strong>root<span>  </span>(hd1,3)</strong></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times;"> </span></p>
<p class="MsoNormal" style="margin:0 0 0 .5in;"><span style="font-size:small;font-family:Times;">4.After setting the root device correctly run the following command,</span></p>
<p class="MsoNormal" style="margin:0 0 0 .5in;"><span style="font-size:small;"><span style="font-family:Times;"><span> </span>grub&gt;<strong>setup<span>  </span>(hd1)</strong></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>            </span>This tells to install the GRUB to the MBR of the 2<sup>nd</sup> hard disk.</span></span></p>
<p class="MsoNormal" style="margin:0;"><span><span style="font-size:small;font-family:Times;">                        </span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>            </span>5.Now exit from the grub shell</span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><span>                        </span><span>  </span>grub&gt;<strong>quit</strong></span></span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;font-family:Times;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-size:small;"><span style="font-family:Times;"><strong><span>   </span></strong>The missing GRUB is back on business.<span>  </span></span></span></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dushan888.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dushan888.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dushan888.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dushan888.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dushan888.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dushan888.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dushan888.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dushan888.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dushan888.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dushan888.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dushan888.wordpress.com&blog=3513735&post=160&subd=dushan888&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dushan888.wordpress.com/2008/12/08/reinstalling-the-grub/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/8cc9ef6d86394a37e85e624071a8e34c?s=96&#38;d=identicon" medium="image">
			<media:title type="html">Dushi</media:title>
		</media:content>

		<media:content url="http://dushan888.files.wordpress.com/2008/12/pic1.png" medium="image">
			<media:title type="html">grub&#62; find  /boot/grub/stage1</media:title>
		</media:content>
	</item>
	</channel>
</rss>