LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-19-2005, 08:20 PM   #1
rrc124
LQ Newbie
 
Registered: May 2005
Posts: 2

Rep: Reputation: 0
Accidentally overwrote MBR - Grub


I have a dual boot setup. I had XP installed, then installed Fedora and set it during the install so that Grub let me choose which to boot. I had some XP trouble, however, and part of the solution in the guide was to run "fixboot" from the Windows Recovery Console. I am an idiot and didn't think about it overwriting Grub (that's what I assume happened). How can I put Grub back where it used to be doing what it used to do? Thanks!
 
Old 05-19-2005, 08:30 PM   #2
detpenguin
Senior Member
 
Registered: Oct 2003
Location: lost in the midwest...
Distribution: Slackware
Posts: 1,091

Rep: Reputation: 45
boot into fedora with your install disk, and as root in a terminal, rerun grubconfig

*edit...

btw, you're not an idiot...prolly all of us have overwritten our boot programs at some point...i know i have.

Last edited by detpenguin; 05-19-2005 at 08:31 PM.
 
Old 05-20-2005, 12:24 AM   #3
trey31357
Member
 
Registered: Apr 2005
Location: Birmingham, AL
Distribution: Win XP Pro / Slackware 10.1 dual-boot
Posts: 83

Rep: Reputation: 15
detpenguin is definately right, I know I have actually cleared my MBR with a Slackware install disc. But the good news is is it's fixable.

All you have to do in your case is reinstall Grub to the MBR from the Fedora disc.

If things get messed up, and you happen to have a Windows bootdisk, you can always run fdisk and type "fdisk /mbr" and it will rebuild the MBR using a standard code. You will be able to again boot into Windows, and you could go again at trying to install grub.

Just a good tidbit to know I think, it's what got me back running.
 
  


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
Accidentally overwrote /bin/sh roastedmnm Suse/Novell 5 07-26-2005 02:37 AM
windows overwrote my mbr c-- Linux - Newbie 5 03-30-2005 01:23 PM
help: accidentally overwrote on crontab auden Slackware 1 02-14-2005 06:40 AM
winxp overwrote MBR :( rohan208 Red Hat 5 05-17-2004 08:05 AM
OOPS! overwrote MBR, GRUB wont boot :( slacker9876 Linux - Newbie 4 04-16-2004 05:04 PM


All times are GMT -5. The time now is 11:09 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration