Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-13-2003, 01:27 PM   #1
LQ Newbie
Registered: Aug 2003
Posts: 17

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


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, 02:49 PM   #2
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:
/sbin/grub-install /dev/hda


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 10:55 AM
Oops !! bejiita Slackware 6 12-22-2004 01:54 PM
OOPS! overwrote MBR, GRUB wont boot :( slacker9876 Linux - Newbie 4 04-16-2004 05:04 PM
Oops q64 Linux - Newbie 6 03-24-2004 08:35 PM
oops!!!! help_me Linux - Newbie 12 07-12-2001 10:49 AM > Forums > Linux Forums > Linux - Newbie

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

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