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-13-2003, 02:27 PM   #1
jhachey
LQ Newbie
 
Registered: Aug 2003
Posts: 17

Rep: Reputation: 0
Exclamation Oops! Where's GRUB?


Hello,

I had linux and windows XP on seperate drives using GRUB as the bootloader and everything was fine. Yesterday, I reformatted my Windows (C drive and reinstalled windows. Now, windows boots up everytime. GRUB does't boot anymore. I'm pretty sure that my new windows installation rewrote the MBR, erasing any entries that GRUB had in there. My question is, how do I get GRUB back without having to reinstall Linux?
 
Old 09-13-2003, 03:49 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
You can use your Linux boot disk in order to boot the system.
If you do not have a boot disk, you can probably boot into Rescue Mode using your Linux CD.

When the system is booted, login as root and type:
Code:
/sbin/grub-install /dev/hda
 
  


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 configurations ... oops utw-mephisto Red Hat 5 06-19-2005 11:55 AM
Oops !! bejiita Slackware 6 12-22-2004 02:54 PM
OOPS! overwrote MBR, GRUB wont boot :( slacker9876 Linux - Newbie 4 04-16-2004 06:04 PM
Oops q64 Linux - Newbie 6 03-24-2004 09:35 PM
oops!!!! help_me Linux - Newbie 12 07-12-2001 11:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration