LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 05-29-2005, 12:11 PM   #1
madrat
LQ Newbie
 
Registered: Oct 2003
Location: Birmingham
Distribution: Redhat 9
Posts: 17

Rep: Reputation: 0
How can I rescue RH9 on my machine?


Hi folks

I have a dual boot machine but I am currently only able to access XP... I am a complete n00b when it comes to Linux but had three months of bliss with RH9... I steadily got hooked until sudenly my system restarted one day with only a grub commandline prompt and an "error 18 ..." message.


I have tried various things since then but nothing seems to work... is there anything i can do to rescue the RH9 I have installed???

c
 
Old 05-29-2005, 03:06 PM   #2
masand
LQ Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 69
try the recovering bootloader page at

http://masand.sourceforge.net/linux/myhelpages.html

regards
 
Old 05-29-2005, 03:07 PM   #3
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Try booting with the first CD of RH9. Or with the boot floppy if you have one. If not, make one in Windows. Using a program called RAWRITE.

Anyway.

You can try getting in RH9 through GRUB.

type these commands in GRUB (you can't mess anything up)

find /boot/grub/grub.conf
or
find /grub/grub.conf

One of these will return some info like (hd0,0) or so

root (hd0,0)
instead of hd0,0 put whatever you got from the find command.

Then you must choose a kernel, like this:

kernel vmlinu (press TAB a couple of times to get the available kernels and type one in)

then you must choose an initrd image, like this:

initrd init (press TAB a couple of times to get the available initrd images and type one in)

here you should be ready to boot your RH9.
Use the command

boot

Happy days are back!


Anyway you get back to linux, login as root and in the console, type:

/sbin/grub-install /dev/hda

You should be fine. If not, post here.
 
Old 06-01-2005, 12:11 PM   #4
madrat
LQ Newbie
 
Registered: Oct 2003
Location: Birmingham
Distribution: Redhat 9
Posts: 17

Original Poster
Rep: Reputation: 0
How can I fix my MBR?

Hi Folks

Wow this problem is really dragging on!

I have since i overwritten RH9 with RH Fedora and part of that process reinstalled Grub. Thinking the problem was solved I rebooted only to find that now grub crashes.... no commandline prompt... nothing!

I suspect there is a prblem with the MBR... Is there anyway I can fix it?

C
 
Old 06-01-2005, 05:28 PM   #5
Electro
LQ Guru
 
Registered: Jan 2002
Posts: 6,042

Rep: Reputation: Disabled
It could be that grub is just corrupted in the MBR. You can use fedora CD to reinstall grub. Type grub-install to do this. Also you can use Knoppix to do the same.
 
Old 06-01-2005, 07:44 PM   #6
marghorp
Senior Member
 
Registered: Jan 2004
Location: Slovenia
Distribution: Slackware 10.1, SLAX to the MAX :)
Posts: 1,040

Rep: Reputation: 45
Boot from fedora rescue CD and run /sbin/grub-install /dev/hda to install GRUB to MBR.
 
  


Reply



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
RH9 machine not responding on port 53 Drakkheim Linux - Networking 1 04-07-2004 04:10 AM
RH9 slow for my machine Thom_Redhat Linux - General 3 12-22-2003 03:15 PM
trying to install RH9 on a winxp machine harrycrumb11 Linux - Newbie 3 08-26-2003 02:13 AM
Is my machine too slow for RH9 GaryOswald Linux - Software 10 08-12-2003 11:25 AM
RH9 - Rescue, single, and emergency mode? blackx Linux - Newbie 3 05-22-2003 02:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:57 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
Open Source Consulting | Domain Registration