Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have install oracle linux 4.5 on server twice but having same problem. The server hangs on booting just displays "GRUB C" i don't know why is it happening.

Please advice is it the drive issue.

share|improve this question

3 Answers 3

I had similar problem with Debian and one old laptop, but only for GRUB2. When I changed grub to older version the problem disappeared.

share|improve this answer
    
The Problem got resolved when i removed one hard drive from the system. Initially i got 2. –  Muahmmad Zeeshan May 17 '10 at 10:52

In my case the Problem was there were 2 hard drives on the system and when i remove one it got resolved.

share|improve this answer
    
Glad you resolved this issue. Please be sure to mark your answer as "accepted" when you are able. –  jscott Jul 25 '12 at 14:35

that mean that for some reason, grub is installed on the wrong drive or file system. I have to deal with that problem a number of times. If I recall from memory:

1) Boot into rescue mode and have it mount all the partitions. Make note of the location of the location of the boot file system (or the file system that is marked bootable). Lets assume that its /boot

2) Go into chroot on the root file system.

3) Look at the /boot/grub/device.map - it should map to the correct drive and file systems, but because of how grub sometimes mis-read the BIOS during the install, it is probably not correct (likely you were installing from an external USB or other device that is ordinarily not connected). Please check the grub manual for details.

4) Afterwards, make sure that the "root" directive in /boot/grub/grub.conf is pointed to the correct file system. Again, please check the grub manual for details. Note that drive and file system part of the HD directive (hdX,X) starts at "0", where the drive and file system starts at "a" and "1" - don't get confused with both. :)

5) After that is corrected, run "grub-install /dev/FILESYSTEM", where FILESYSTEM is your root file system (assuming that /boot is in a separate file system).

6) do sync && sync && sync and then type in exit twice. It will reboot at that point.

7) It should work from there. If not, boot into rescue mode and try again. :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.