LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 06-10-2005, 09:52 PM   #1
j0hn_galt
LQ Newbie
 
Registered: Jun 2005
Location: Bangalore , India
Distribution: Fedora Core 4, Suse 10.1
Posts: 27

Rep: Reputation: 15
Exclamation recover grub


i have a dual boot of xp and red hat 9.0. recently i reinstalled xp on C: leaving all other partitions intact. Now when i start my system i do not get the grup bootloader. how do i recover it back?
 
Old 06-10-2005, 10:05 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 327Reputation: 327Reputation: 327Reputation: 327
Boot from the RH install CD and select rescue mode, then run

/sbin/grub-install /dev/hda

to install GRUB to the Master Boot Record (replace '/dev/hda' with your actual drive).
 
Old 06-10-2005, 10:05 PM   #3
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,783

Rep: Reputation: 311Reputation: 311Reputation: 311Reputation: 311
By re-installing xp, windows overwrote the MBR, where the first part of grub was. Be assured, Linux is still there. If you have a boot disk, or install cd to boot from, you can still access it.

This question comes up almost every day. Do a search of these boards on the keywords 'grub mbr' and you'll probably get a ton of answers on how to fix it. (but first, you'll have to be able to boot Linux - as mentioned above).
 
Old 06-11-2005, 01:26 AM   #4
j0hn_galt
LQ Newbie
 
Registered: Jun 2005
Location: Bangalore , India
Distribution: Fedora Core 4, Suse 10.1
Posts: 27

Original Poster
Rep: Reputation: 15
thanks a lot! that worked!
 
  


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
how to recover GRUb of FC2 ??? executive Linux - General 1 04-18-2005 04:58 AM
Gentoo, grub recover? berkay Linux - General 4 08-25-2004 10:18 AM
How to recover/edit /etc/inittab From GRUB sujith_marar Linux - Newbie 3 06-25-2004 10:28 AM
how to reinstall/recover grub? Present Linux - General 6 02-10-2004 11:12 PM
GRUB to recover? allenpanther Red Hat 2 02-09-2004 07:19 PM


All times are GMT -5. The time now is 05:35 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