LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-16-2012, 02:44 PM   #1
FreekinDumb@ss
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 01-16-2012, 06:07 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,817

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
Boot from live CD, edit grub.conf, remove audit=1 ?
 
Old 01-16-2012, 10:16 PM   #3
vp0619520
Member
 
Registered: Jan 2012
Posts: 55

Rep: Reputation: Disabled
You can try this:
Code:
grub> root (hd0,0)
          grub> kernel /vmlinuz...
          grub> initrd /initab...img
          boot
Then you modify the grub.conf.
 
Old 01-16-2012, 11:00 PM   #4
FreekinDumb@ss
LQ Newbie
 
Registered: Jan 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
Old 01-17-2012, 02:17 AM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,986

Rep: Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447Reputation: 2447
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How come I can't edit /boot/grub/grub.conf or /boot/grub/menu.lst in Fedora 14? trien27 Fedora 4 01-22-2011 05:02 PM
Grub menu doesnt load at startup : dual boot : grub in the /boot partition jayesh.bhoot Linux - General 7 10-23-2010 04:58 AM
/boot/grub/grub.conf file has been deleted on rhel5 diwakars Linux - Newbie 5 12-03-2008 12:21 PM
Why /boot/grub/grub.conf is symlinked to /boot/grub/menu.lst raj_hcl1986@rediffma Linux - Newbie 2 10-19-2008 03:19 AM
need to access /boot/grub/menu.lst and /boot/grub/device.map neouto Linux - Newbie 8 09-04-2005 12:45 PM


All times are GMT -5. The time now is 03:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration