Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Grub is unable to boot CentOS, hangs at the Grub prompt

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-05-2011
Member
 
Join Date: Apr 2011
Posts: 62
Grub is unable to boot CentOS, hangs at the Grub prompt
  

today I have installed CentOS as server on the computer of mine. after finishing with the installation the computer reboots. Well the computer seems to be hang at the grub prompt. Well there is no option or menu on the operating system. I am unable to find out why such problem is occurring on the computer of mine. Any help on this particular matter would be highly appreciated. Thanks a lot in advance.

Reply With Quote
  #2  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 859
Re: Grub is unable to boot CentOS, hangs at the Grub prompt

It seems to be difficult to find out the root cause of the problem why because you have not provided very less details regarding the computer of yours. so tell me about the system configuration of the computer of yours. Do you have completed the installation successfully? Do you have got any error message on the screen while doing installation of the operating system on the computer.
Reply With Quote
  #3  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 962
Re: Grub is unable to boot CentOS, hangs at the Grub prompt

I am suspecting that the Grub is unable to find out the /boot/grub/grub.conf on the computer. So let me know file /etc/fstab. Also you should execute the below mentioned command on the terminal and let me know about the results.
Code:
fdisk -l
blkid | sort
you should execute the command on the terminal and post the output of the same over here.
Reply With Quote
  #4  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 991
Re: Grub is unable to boot CentOS, hangs at the Grub prompt

I am suggesting the following instruction which you should use to fix the problem of yours.
  • You should make the hard disk of yours as Master rather than that of making the same as Slave.
  • Now you should make the hard disk as first boot device from the BIOS.
  • Now boot into rescue mode and chroot and simply swap the instance of the hd0 and hd1.
  • Now you should reinstall the Grub to the /dev/sd.
After doing the same you should reboot the computer of yours.
Reply With Quote
  #5  
Old 06-05-2011
Member
 
Join Date: May 2008
Posts: 1,020
Re: Grub is unable to boot CentOS, hangs at the Grub prompt

Let me know whether the steps which are provided in the previous post helped you out or not. If it did not working then you should use the following command on the grub prompt and let me know whether it is working or not.
Code:
find /grub/stage1
I am hoping that it will help you out to get the requirement of yours.
Reply With Quote
  #6  
Old 07-05-2011
Member
 
Join Date: Nov 2009
Posts: 824
Re: Grub is unable to boot CentOS, hangs at the Grub prompt

I am sure that the Grub is unable to find out the stage 2 on the computer. The Grub file is written on the boot/grub directory on root file system and then /boot is mounted over the same. Also you should use the below mentioned command on the terminal and let me know whether it is working or not. You should copy and paste the below mentioned command on the terminal.
Code:
ls -lF /boot /boot/grub
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Grub is unable to boot CentOS, hangs at the Grub prompt"
Thread Thread Starter Forum Replies Last Post
Grub doesn't automatically boot CentOS Ooopinder Operating Systems 4 08-05-2011 11:29 AM
GRUB not loading after Installing Centos Buggers Operating Systems 6 02-05-2011 11:41 PM
Unable to boot using past Grub Linux Mint 10 Rufta Operating Systems 3 02-01-2011 07:33 PM
Edit grub/defaults/grub file on triple-boot system Hishem-Remashiya Operating Systems 5 14-11-2010 06:44 AM
GRUB load shows unknown filesystem, grub rescue error aFRODITA Operating Systems 4 13-11-2010 07:34 AM


All times are GMT +5.5. The time now is 07:32 AM.