GRUB restart issue

Login or Register to Reply

Thread Tools Search this Thread
# 1  
Old 09-13-2011
GRUB restart issue

hi guys

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

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

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
# 3  
Old 09-13-2011
got it working guys

since menu.lst was OK Smilie

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

Last edited by kopper; 09-14-2011 at 03:16 AM..
This User Gave Thanks to kopper For This Post:
Corona688 (09-13-2011)
Login or Register to Reply

Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
GRUB 2 Menu bodisha UNIX for Beginners Questions & Answers 0 11-13-2016 02:23 PM
Grub password abbya Linux 2 02-12-2014 05:15 PM
"/boot/grub/grub.conf" VS "/etc/grub.conf" stunn3r UNIX for Dummies Questions & Answers 7 10-31-2012 04:41 PM
Can we specify which grub.conf to use in grub-install. successlin Red Hat 4 12-20-2011 10:45 AM
/etc/rc.d/named restart issue (command not found) zongo BSD 3 11-27-2011 08:38 AM
Grub customization dday Ubuntu 4 11-17-2009 11:11 AM
Grub screen issue while booting...... Amol21 Red Hat 5 07-27-2009 12:28 PM
grub.conf sagar_md Red Hat 1 06-23-2009 04:07 PM
Grub.Conf Arun.Kakarla Linux 1 07-27-2008 04:11 AM
GRUB/Solaris 10 Tekkie Solaris 6 01-28-2008 07:41 AM
grub problem- keeps rebooting as soon as it tries to do grub moesays UNIX for Dummies Questions & Answers 1 11-07-2007 05:46 AM
grub help seshumohan Linux 8 02-02-2007 06:03 PM
How to unistall grub chinnappa Red Hat 7 10-14-2005 12:45 PM
GRUB and windows XP Micky Linux 1 10-23-2004 12:13 AM