LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   mbr/grub reinstall (https://www.linuxquestions.org/questions/linux-newbie-8/mbr-grub-reinstall-364450/)

walding 09-18-2005 05:48 AM

mbr/grub reinstall
 
Hi,

I have just set up dual boot - windowsXP & Ubuntu.
When installing Ubuntu, it showed the list of OS's that it found and asked where I wanted grub. I got nervous, and decided to put it onto the floppy. My reasoning was that it would leave teh mbr alone, and allow my sife to boot up windows without getting confused.

It won't boot without the floppy now (requests a system disk, and gives an error about there being no mbr!).

If I use my Windows XP disk to fix teh mbr, I assume that I'll lose Ubuntu?

How do I repair this?

Further to that, it lists 6 options (3 for each OS). 2 of the Windows options don't work (only the Windows XP Home one does), which confuses my wife!
I'd like to be able to edit grub so that it just lists the 2 OS's that we have.

Thanks

AW

david_ross 09-18-2005 07:26 AM

Welcome to LQ.

If you run:
grub-install /dev/hda

That should put fix your mbr. To edit the list of OSs to boot then you need to edit the /boot/grub/menu.lst file.

walding 09-18-2005 08:36 AM

Thanks. I assume it iwll have detected the OS's automagically?
Also, how important is it to list the recovery & memtest Ubuntu options? If an OS fails, I tend to load teh live CD or reinstall.

david_ross 09-18-2005 09:00 AM

It should have detected the OSs when you installed the distro.

There isn't really any need to have the recovery or memtest options when you have a recovery cd.


All times are GMT -5. The time now is 10:07 AM.