LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 01-31-2004, 06:56 PM   #1
sau2004
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
reinstall grub


Hi, can someone help me please?

I had the following dualboot setup:

Redhat 9 on a Primary Slave
WinXP on Primary Master

Everything was running fine except a couple of days ago, I use acronis true image 7 to transfer my stuff from my drive on primary master to my new drive. I then proceeded to boot off the new drive, but now GRUB is gone and it just straight boots to windows xp.

I think the problem is the MBR is lost when I transferred the data. Is there anyway I can reinstall GRUB on the MBR without having to reinstall Linux again? (I currently can't boot to Linux without the bootloader) Thanks!
 
Old 01-31-2004, 07:12 PM   #2
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
you'll need a bootdisk to get you into your linux system. If you didn't make one during instal, you can probably get one from one of RH's ftp sites. Once you get into linux, open up a console as root, and type
me@localhost# grub

you'll get a grub command prompt:

grub> root (hd1,0) /*or wherever your boot partition is - (hd1,0) = /dev/hdb1 */
grub> setup (hd0)
grub> quit
 
Old 01-31-2004, 08:30 PM   #3
sau2004
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Original Poster
Rep: Reputation: 0
Thank you very much! You saved my life!!!!

I don't know how to thank you!

Thanks!
 
Old 01-31-2004, 10:29 PM   #4
spuzzzzzzz
Member
 
Registered: Sep 2003
Location: Australia
Distribution: Gentoo
Posts: 465

Rep: Reputation: 30
Quote:
I don't know how to thank you!
Once you've become a bit more familiar with linux, visit this forum, then click on "View threads with 0 replies." Find some questions you think you can help out with and answer them.

We were all new once .
 
  


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 error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
reinstall windows, reinstall GRUB too? leupi Linux - Software 1 05-07-2005 10:50 AM
Can't reinstall GRUB gandalfthewite Linux - General 4 01-26-2004 03:31 AM
Reinstall GRUB Staticreator Linux - Software 0 08-10-2003 04:14 PM
how to reinstall grub? Pimp Linux - General 1 08-04-2003 04:35 AM


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

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