Home Man
Search
Today's Posts
Register

Discuss GRUB, BURG, UEFI, GPT, Mac EFI, GRUB2 and other topics about boot loaders.

GRUB restart issue

Login 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

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

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 02:16 AM..
The Following User Says Thank You to kopper For This Useful Post:
Corona688 (09-13-2011)
Login to Reply

« Previous Thread | Next Thread »
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Linux first or GRUB first ? sreyan32 UNIX for Dummies Questions & Answers 4 01-06-2014 08:17 PM
"/boot/grub/grub.conf" VS "/etc/grub.conf" stunn3r UNIX for Dummies Questions & Answers 7 10-31-2012 03:41 PM
Can we specify which grub.conf to use in grub-install. successlin Red Hat 4 12-20-2011 09:45 AM
/etc/rc.d/named restart issue (command not found) zongo BSD 3 11-27-2011 07:38 AM
Grub screen issue while booting...... Amol21 Red Hat 5 07-27-2009 11:28 AM
grub loader bcbotha Ubuntu 13 04-03-2009 10:39 AM
grub problem- keeps rebooting as soon as it tries to do grub moesays UNIX for Dummies Questions & Answers 1 11-07-2007 04:46 AM
grub help seshumohan Linux 8 02-02-2007 05:03 PM
Getting rid of grub jad Debian 4 07-04-2006 10:57 AM


All times are GMT -4. The time now is 08:52 AM.

Unix & Linux Forums Content Copyrightę1993-2018. All Rights Reserved.
UNIX.COM Login
Username:
Password:  
Show Password