GRUB restart issue

 
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

Code:
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
Code:
grub>

and I have to manually boot the system up with
Code:
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
# 2  
Old 09-13-2011
Did your menu.lst work before, then stop working after these modifications?

Can we see your complete menu.lst ?
# 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

Code:
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)

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Grub password abbya Linux 2 02-12-2014 05:15 PM
GRUB Queries ?! sreyan32 Debian 6 01-18-2014 11:40 AM
"/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 - start up syco__ Boot Loaders 2 05-23-2011 11:39 AM
GRUB explanation senkerth UNIX for Dummies Questions & Answers 1 12-25-2010 10:37 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 Error 25 etcpasswd Linux 3 04-17-2009 12:43 PM
grub problem tiwsaj Solaris 8 01-06-2009 11:29 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