<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY 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'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 "now" -r</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>The resulting "find" command will display something 
like "(hd0,1)".&nbsp; In this example, you would then type "root (hd0,1)" and 
then "setup (hd0)" in the above area.&nbsp; These numbers might be different; 
that's&nbsp;why I included the "find" 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'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 "Recovery Mode", usuaully the 
second option down on the GRUB menu.&nbsp; This will allow you to boot into the 
root.&nbsp; Once you'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's usually automatically 
placed by GRUB once it'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'll be happy to 
answer to the best of my ability.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>