LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't boot from Grub menu - RHEL5 (https://www.linuxquestions.org/questions/linux-newbie-8/cant-boot-from-grub-menu-rhel5-924077/)

FreekinDumb@ss 01-16-2012 01:44 PM

Can't boot from Grub menu - RHEL5
 
Hi, I was 'chosen' to modify a brand new 64bit computer with recently installed RHEL5 (that worked great until I messed with it). I followed the instructions for making changes as recommened by the NSA guide. Once I made the changes it would no longer boot. I am able to get to the grub> prompt. I tried to boot using the following:
grub> root (hd0,0)
grub> kernel (hd0,0) /boot/vmlinuz.....(has more stuff such as UUID=xxxx,etc.)
grub> initrd (hd0,0)
grub> boot

Once that's done it goes into a never ending loop trying to boot, i.e. I keep seeing it loading the mouse and more. The only change I made to the grub.conf file was to add a "audit=1" at the end of the kernel line.

Please help.

AlucardZero 01-16-2012 05:07 PM

Boot from live CD, edit grub.conf, remove audit=1 ?

vp0619520 01-16-2012 09:16 PM

You can try this:
Code:

grub> root (hd0,0)
          grub> kernel /vmlinuz...
          grub> initrd /initab...img
          boot

Then you modify the grub.conf.

FreekinDumb@ss 01-16-2012 10:00 PM

Thanks for the suggestions. I tried and still couldn't get it to load, so I reinstalled the Linux and it works. I then changed the grub.conf file first (audit=1) and it loads ok, so it must have been something else I changed.

John VV 01-17-2012 01:17 AM

normally when you see " grub> " it means that the boot image can not be found
( you changed something fallowing this unnamed nsa guide )
normally reinstalling grub fixes it
boot into the install dvd and select "rescue mode"
then from that list reinstall grub

but WHAT nsa guide where you fallowing ?
did you by chance encrypt the boot partition or add a boot password to lock it from change ?

now seeing AS this is RHEL 5 you DO have a paid for red hat support contract
RHEL is not free
the full instructions for reinstalling grub are in the red hat knowledge base
search for " reinstall grub"
https://access.redhat.com/knowledge/search
your RHN login username IS REQUIRED


All times are GMT -5. The time now is 10:12 AM.