LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-30-2003, 10:03 AM   #1
xtrips
LQ Newbie
 
Registered: Mar 2003
Posts: 11

Rep: Reputation: 0
How can I restore GRUB ?


No, I don't have a rescue disk.
Can I restore Grub from the RH9 install CD ?
How ?
Grub was running Ok and gave me choice between XP, Win2k Server, and RH9.
Until I decided to upgrade my Win2k Server to a Win2k3 Server.
Now Grub is gone, and I only have the Micro$oft boot record.

Thanks
 
Old 07-30-2003, 12:43 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
Yes just boot from CD 1 and at the "boot:" prompt type "linux rescue" and press enter. From there you shold be able to follow:
http://www.redhat.com/docs/manuals/l...nstalling.html
 
Old 07-30-2003, 01:16 PM   #3
xtrips
LQ Newbie
 
Registered: Mar 2003
Posts: 11

Original Poster
Rep: Reputation: 0
Wow! Now I am in trouble...

I used the boot from Cd. Went to the Linux-rescue mode.
Mounted my RH9 installation. Changed dir to /sbin
Ran the "grub-install /dev/hda" script.
Output was successful.

Now I don't have grub nor the windows boot loader.
Just a pitch black screen.

Any ideas ?
 
Old 07-30-2003, 02:20 PM   #4
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
check your /etc/grub/grub.conf to make sure it is intact and makes sense.

you could also throw in your red hat 9 cd1 and do an upgrade, without selecting any packages even, you should be able to "update" your install of grub

Last edited by yowwww; 07-30-2003 at 02:21 PM.
 
Old 07-30-2003, 02:46 PM   #5
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
and if you don't find it there check:
/etc/grub.conf
cause there is no subdirectory grub in the etc folder in redhat.
 
Old 07-30-2003, 03:22 PM   #6
yowwww
Member
 
Registered: Apr 2003
Location: Ontario, Canada
Distribution: Arch Linux
Posts: 533

Rep: Reputation: 30
oops, yeah, sorry about that I was thinking of /boot/grub/grub.conf

thanks for the heads-up
 
  


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
Restore GRUB Nilesh.Shah Linux - Hardware 6 01-09-2010 11:43 AM
Grub Restore roopunix Linux - Networking 5 08-29-2005 05:29 PM
Help! Need to restore GRUB after ruining it with XP lamiczka Linux - Software 1 03-22-2005 09:35 AM
Restore Grub Help gackt3541 Linux - General 8 06-06-2004 04:17 PM
Please, restore my faith in GRUB glock27linux Linux - Newbie 8 11-20-2003 01:11 AM


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