GRUB restart issue

hi guys

I have an issue with my grub configuration
I see I have this in my menu.lst file

default=0
timeout=1
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-238.19.1.el5)
        root (hd0,0)
        kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
        initrd /initrd-2.6.18-238.19.1.el5.img

but every time I reboot my server is not able to boot up it get stuck at this GRUB prompt

grub> 

and I have to manually boot the system up with

grub> root (hd0,0)
grub> kernel /vmlinuz-2.6.18-238.19.1.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet
grub> initrd /initrd-2.6.18-238.19.1.el5.img
grub> boot

any idea how to reload or make my menu.lst file active again?

thanks a lot guys

Did your menu.lst work before, then stop working after these modifications?

Can we see your complete menu.lst ?

got it working guys

since menu.lst was OK :slight_smile:

I did these 2 commands and now I got it working

grub-install /dev/sda
install (hd0,0)/grub/stage1 d (hd0) (hd0,0)/grub/stage2 p (hd0,0)/grub/menu.lst

for the second command you will need to invoke grub at shell so grub> will show up
and insert the command

1 Like