Solved

Redhat won't boot, halts at grub prompt

Posted on 2008-10-10
6
1,273 Views
Last Modified: 2013-12-06
I have a redhat 5.2 system that will not boot, system halts at the grub prompt.
Been on the phone with redhat all morning and am now running an sosreport for them to look at.
I have even tried to run theinstall media and do an upgrade to get the system to boot, when it attempts to update the boot loader a bug alert pops up and that's it..

Is their anyway to boot the machine from the install CD or rescue media and worry about the getting grub fixed later?
I really need to get this machine back running as well as gte a backup of the system..
0
Comment
Question by:a016691
6 Comments
 
LVL 4

Expert Comment

by:codezp
Comment Utility
You can boot with bootdisk if you have one if not get one from http://www.bootdisk.com/linux.htm

What exaclly happend did you delete GRUB or boot record?

in any case boot disk can bring the system back up
0
 
LVL 1

Author Comment

by:a016691
Comment Utility
Not sure what happened..system downloaded several security updates this morning and while it was installing one a bug error popped up.. Everything was fine until I rebooted, then it would not boot..

The link you gave does not work..http://www.bootdisk.com/linux.htm
Is there no way to boot the system from the rescue / install media and then load the system on the harddrive?
If I recall correctly, suse had an option to load the system on the harddrive from the install media..
0
 
LVL 4

Assisted Solution

by:codezp
codezp earned 165 total points
Comment Utility
Link http://www.bootdisk.com/linux.htm works for me

when system gets to grub>

can you type commands or just freezes?
if you can type try this

root (hd0,0) (assuming that you have linux on first partition first disk)
kernel (hd0,0)/boot/yourkernel
boot

also you can use http://www.knoppix.org/ to boot in and fix /boot/grub/grub.conf which seems to be erroring
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 19

Assisted Solution

by:jools
jools earned 165 total points
Comment Utility
The rescue mode is usually the way to go, I've never had problems with it before.
It sounds like a bad update.

Can you post the error messages?
0
 
LVL 11

Accepted Solution

by:
jgiordano earned 170 total points
Comment Utility
0
 
LVL 1

Author Closing Comment

by:a016691
Comment Utility
Everyone helped solmewhat..
Finally got it back up and running.
I had to do a clean install and mount my backup drive and copy the backup tar to the filesystem.
Then I had to boot into rescue mode and load the file system which let me access the backup file.
Then I had to un mount /dev/sda1 so the backup would not overwrite the /boot folder.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now