LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 06-25-2011, 08:08 AM   #1
drax669
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
problem with grub loader


Hi all,

My grub loader is not taking entries from /etc/grub.conf

and i am not able to find out from where it is taking grub.conf entries.

OS : RHEL 5


Thanks and regards,
Devesh Gutpa
 
Old 06-25-2011, 09:00 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
It takes it from /boot/grub/grub.conf
http://avdeo.com/2008/08/25/rhel-5-b...ence-and-grub/
 
Old 06-25-2011, 10:24 AM   #3
drax669
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Simon Bridge View Post
It takes it from /boot/grub/grub.conf
http://avdeo.com/2008/08/25/rhel-5-b...ence-and-grub/
By default it should take from grub.conf, but it is not taking from standard locations.

/etc/grub.conf -> /boot/grub/grub.conf
/boot/grub/menu.lst -> /boot/grub/grub.conf

these all are soft link to "/boot/grub/grub.conf" . I tried to verify this by changing timeout to 500, but there was no effect on grub loader time ???

Is there any command to find out from where the grub loader is getting the grub.conf
 
Old 06-25-2011, 11:22 AM   #4
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Are you multi-booting?
Do you have a separate /boot partition?
Is grub installed to mbr?

Last edited by Simon Bridge; 06-25-2011 at 11:26 AM.
 
Old 06-27-2011, 11:25 PM   #5
drax669
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Simon Bridge View Post
Are you multi-booting?
Do you have a separate /boot partition?
No we are not multi-booting, also we don't have separate partitions.
 
Old 06-28-2011, 03:54 AM   #6
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Is grub installed to mbr of the boot drive? But we're getting somewhere.

... are you using LVM and/or RAID? Is your boot process expecting a separate /boot partition (this would be the default - check fstab, as well as grub.conf)?
Probably your fastest recovery will be to reinstall grub.
 
Old 06-28-2011, 03:59 PM   #7
sandwormusmc
Member
 
Registered: Nov 2006
Distribution: Fedora 15 x86_64
Posts: 76

Rep: Reputation: 24
What is the output of parted -l?

You should see a partition with the boot flag set. If there is only one partition, and it doesn't have "boot" in the Flags, you can set that using parted.

As root ...
Code:
# parted
print
toggle <partition-number> boot
exit

My output is:

[me@work 2011-06-28]$ parted -l
Model: ATA SAMSUNG HM160HI (scsi)
Disk /dev/sda: 160GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End     Size    Type      File system     Flags
 1      512B    84.2GB  84.2GB  primary
 2      84.2GB  84.8GB  524MB   primary   ext4            boot
 3      84.8GB  93.1GB  8390MB  primary   linux-swap(v1)
 4      93.1GB  160GB   66.9GB  extended
 5      93.1GB  160GB   66.9GB  logical                   lvm
 
  


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
GRUB Loader problem sent222 Linux - Hardware 1 01-31-2008 08:06 AM
grub loader problem akhil.mud Linux - Software 8 01-16-2008 11:42 PM
GRUB Loader problem Richpo Linux - General 6 07-27-2006 11:05 AM
Problem with Grub Loader Bob Moore Linux - Software 3 09-22-2004 08:38 AM
Problem with Grub loader aadilkhan Linux - Newbie 1 09-30-2003 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 08:14 AM.

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