Centos always Boots into 'grub>' command prompt

Posted on 2009-04-27
Last Modified: 2013-11-08

I have a newbie linux question I am hoping someone can help me with.

I have installed Centos5 and now Centos always Boots into 'grub>' command prompt, not the normal console or gui I expected.

I'm not sure what I did to cause it to boot like this as I installed this the same as I normally do. I must have ticked something I shouldnt have.

Thanks heaps in advance
Question by:johnkan
    LVL 19

    Accepted Solution

    It sounds like it used to work....has there been any system updates?

    you may be able to fix by typing the grub stuff in manually, the format for grub looks like this;
            root (hd0,0)
            kernel /vmlinuz-2.6.18-128.1.1.el5 ro root=/dev/rootvg/root rhgb quiet
            initrd /initrd-2.6.18-128.1.1.el5.img

    because you may not know what kernel version you are using, if you type the first few chars then press tab, the system will list the available options, this is also applicable to the `root (hd....)` option as well...

    Once you have booted try reinstalling grub on your hard disk, typically this is for the MBR rather than partition, e.g/ `grub-install /dev/sda`

    you also need to make sure your /boot/grub/grub.conf file exists, note this is usually linked to /boot/grub/menu.lst.

    LVL 1

    Assisted Solution

    Have you got several hard disks? Could you change the boot order of hard disks in the BIOS?

    Author Closing Comment

    Thanks people.

    This looks like it will need some familiarisation with grub which I'll do once I have this resolved and up and running again, so I have decided to rebuild the system and recover from a backup this time.

    Thanks again.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    In order for businesses to be compliant with certain information security laws in some countries, you need to be able to prove that a user (which user it was becomes important to the business to take action against the user after an event has occurr…
    If you use Debian 6 Squeeze and you are tired of looking at the childish graphical GDM login screen that is used by default, here's an easy way to change it. If you've already tried to change it you've probably discovered that none of the old met…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video discusses moving either the default database or any database to a new volume.

    745 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

    14 Experts available now in Live!

    Get 1:1 Help Now