LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 01-08-2006, 05:03 PM   #1
slidermsu
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
aysiu
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
kingsidy
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
Quote:
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

/
/boot
swap
.....

5. DO NOT FORMAT THEM.
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!.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:46 PM.

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
Open Source Consulting | Domain Registration