Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 01-08-2006, 05:03 PM   #1
LQ Newbie
Registered: Dec 2005
Posts: 4

Rep: Reputation: 0
Restoring GRUB to MBR

I've looked at some other threads, and when I had this problem before, I followed instructions from the Ubuntu Starter Guide, but couldn't get it to work, so I'll lay out the setup and all here.

Four partitions:
/dev/hda1 (WinXP, NTFS)
/dev/hda5 (just my files, NTFS)
/dev/hda6 swap
/dev/hda7 / (ubuntu 5.10)

During Ubuntu installation (performed after XP installation), I let it install GRUB to the MBR. Now, I am preparing to reinstall WinXP, but I'm not exactly sure how to get GRUB re-installed exactly the way and location it is now once I've reinstalled XP. Note: I do have an Ubuntu Live CD. Could someone give me some direction here?
Old 01-08-2006, 05:26 PM   #2
Senior Member
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Maybe this might help?
Old 01-08-2006, 08:09 PM   #3
LQ Newbie
Registered: Aug 2005
Location: US
Distribution: Ubuntu 5.10 686
Posts: 15

Rep: Reputation: 0
reinstalling overwrites the mbr. i found this in the ubuntuforums hope it helps
Written by vnbuddy2002

Restore GRUB quite simple in Ubuntu, instead going through all the "gain root access" and play with shell commands, you can use the Ubuntu installation CD to restore it without going through all kinds of hassles.

Here are the steps:

1. Boot your computer up with Ubunto CD
2. Go through all the process until you reech "[!!!] Disk Partition"
3. Select Manual Partition
4. Mount your appropriate linux partions


6. Finish the manual partition
7. Say "Yes" when it asks you to save the changes
8. It will give you errors saying that "the system couldn't install ....." after that
9. Ignore them, keep select "continue" until you get back to the Ubuntu installation menu
10. Jump to "Install Grub ...."
11. Once it is finished, just restart your computer

Good luck!.


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
Restoring MBR & Creating USB Bootable Pendrive ady Linux - Hardware 2 05-16-2005 12:21 PM
restoring winxp in the mbr? pcandpc Linux - Newbie 3 05-03-2005 11:31 PM
DISCUSSION: MBR Saving and Restoring with TOMS floppy aus9 LinuxAnswers Discussion 0 11-02-2004 09:46 PM
Restoring Windows XP MBR srempel General 6 01-24-2004 01:58 AM
Restoring MBR aaronluke Linux - Software 2 09-27-2002 12:15 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:13 PM.

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