<br><br><div><span class="gmail_quote">On 23/01/2008, <b class="gmail_sendername">David Mooney</b> &lt;<a href="mailto:moondoggy369@mchsi.com">moondoggy369@mchsi.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">






<div bgcolor="#ffffff">
<div><font face="Arial" size="2">If for some odd reason you missed having the 
Windows operating system and you decided to install it on another partition, you 
will notice your GRUB is missing afterwords.&nbsp; This usually happens and is a 
huge headache for those trying to get their GRUB back.&nbsp; Here&#39;s what you 
need to do to get it back:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Put your bootable Ubuntu/Xubuntu install disk in 
the CD drive and run it.&nbsp; Instead of installing anything, click on the menu 
to open the terminal application.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">In terminal mode, type the following:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">sudo grub</font></div>
<div><font face="Arial" size="2">find /boot/grub/stage1</font></div>
<div><font face="Arial" size="2">root (x,y)</font></div>
<div><font face="Arial" size="2">setup (x)</font></div>
<div><font face="Arial" size="2">quit</font></div>
<div><font face="Arial" size="2">sudo shutdown &quot;now&quot; -r</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">The resulting &quot;find&quot; command will display something 
like &quot;(hd0,1)&quot;.&nbsp; In this example, you would then type &quot;root (hd0,1)&quot; and 
then &quot;setup (hd0)&quot; in the above area.&nbsp; These numbers might be different; 
that&#39;s&nbsp;why I included the &quot;find&quot; command so that&nbsp;folks who might have 
their Ubuntu partitions located either in front or behind their Windows 
installation or on a completely separate internal/external hard drive so that 
you will get the appropriate/correct setup numbers.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Ok, now you got your GRUB-on, but what about that 
darn GRUB menu?&nbsp; It&#39;s not displaying what you want it to display? Well, let 
just see here...</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Upon reboot, select &quot;Recovery Mode&quot;, usuaully the 
second option down on the GRUB menu.&nbsp; This will allow you to boot into the 
root.&nbsp; Once you&#39;re in the terminal mode, type:</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">editor /boot/grub/menu.lst</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">Well, the rest is pretty much self 
explanatory.&nbsp; There should be enough comments in the menu.lst to direct you 
to what you can and cannot do to your GRUB menu.lst.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">I usually put&nbsp;the Windows option at the top of 
the menu so that others (none-Linux users) who use my computer can find it 
easily if they have to do a reboot.&nbsp; Your Windows installation will have a 
differnt&nbsp;root than your Ubuntu/Xubuntu, but it&#39;s usually automatically 
placed by GRUB once it&#39;s set up again (like the above).&nbsp; I also recommend 
removing the timeout option as this is sometimes annoying.&nbsp; Have 
fun!</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">-David :D</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div>
<div><font face="Arial" size="2">P.S.- If you have a question, I&#39;ll be happy to 
answer to the best of my ability.</font></div>
<div><font face="Arial" size="2"></font>&nbsp;</div></div>
<br></blockquote></div><br>I got one: would you mind if I checked if I can get this up at <a href="http://xubuntu.wordpress.com">xubuntu.wordpress.com</a>? I think this can be of help to many more people than those who are subscribed to this mailinglist or browse the archives ;-)
<br clear="all"><br>-- <br>Vincent