Re: Question regarding grub.conf and menu.lst



Hi Jan and Lenard,

Thank you so much for the replies. I found the problem it is done
by another application
while editing menu.lst file.

Regards,
Kishore

Jan Gerrit Kootstra wrote:
Lenard wrote:
venkatakm@xxxxxxxxx wrote:


Hi all,

Iam an application developer on Redhat, I have a problem in Red Hat
Enterprise Linux AS release 3 (Taroon Update 5) and above. Till Update
1, menu.lst is a sym link to grub.conf, but in Update 5, they are two
different files. So our application is broken, as it always updates
menu.lst but not grub.conf.


It should be a sym link to grub.conf still....


My question is, are these files going to be two different for ever
or is this going to be changed? If
they are going to be different, which will be the correct file to
modify?


<snip>

# ls -l grub.conf menu.lst
-rw------- 1 root root 700 Feb 21 22:38 grub.conf
-rw------- 1 root root 700 Feb 21 22:38 menu.lst


Looks like somebody/something made a change, example below;

# ls -l grub.conf menu.lst
-rw------- 1 root root 1282 Feb 22 09:27 grub.conf
lrwxrwxrwx 1 root root 11 Nov 29 19:13 menu.lst -> ./grub.conf

# cat /etc/redhat-release
CentOS release 4.2 (Final)
(a 'freely available' clone of RHEL4 Update2 in this case)

The correct file to modify (as always) with Red Hat Linux (all versions) is
grub.conf


venkatakm,


On Red Hat Enterprise Linux ES release 4 (Nahant Update 2) I get:

ls -l /boot/grub/grub.conf /boot/grub/menu.lst
-rw------- 1 root root 818 jan 23 07:15 /boot/grub/grub.conf
lrwxrwxrwx 1 root root 11 jan 14 15:18 /boot/grub/menu.lst -> ./grub.conf

So it is not normal to have two files instead of one file and a symlink.


Kind regards,


Jan Gerrit Kootstra RHCE

.



Relevant Pages