LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-18-2005, 06:48 AM   #1
walding
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Rep: Reputation: 0
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
 
Old 09-18-2005, 08:26 AM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
Old 09-18-2005, 09:36 AM   #3
walding
LQ Newbie
 
Registered: Nov 2004
Posts: 5

Original Poster
Rep: Reputation: 0
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.
 
Old 09-18-2005, 10:00 AM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB MBR overwritten by WIN98 MBR TOuseef Linux - General 7 11-14-2004 05:25 PM
How to reinstall Windows without overwriting the MBR? zero79 Linux - General 3 08-05-2004 07:33 PM
reinstall GRUB to MBR w/o reinstalling Linux?? timsch75 Linux - Software 3 06-24-2004 07:36 PM
reinstall grub/lilo on MBR without cdrom boot lay_Z Linux - Newbie 5 03-12-2004 06:45 AM
How to reinstall GRUB to MBR? Alinuxnoob Linux - Newbie 13 04-07-2002 06:44 PM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration