Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You should make sure that it is list in grub.conf as the default kernel (default line equals correct count, starting from 0, for the title of the updated kernel you installed) and then reboot.
It should be in the grub menu list that you can reboot the system and it'll either default or you can select the -53 kernel to boot the system. I recommend physical console access (or some means of out-of-band access) for at least the first boot to the new kernel in case there are any problems you can recover. I wouldnt expect any but better to plan ahead
[root@flulinux01 grub]# more grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/sda7
# initrd /initrd-version.img
#boot=/dev/sda3
default=1
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.4.21-53.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-53.EL ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-53.EL.img
title Red Hat Enterprise Linux AS (2.4.21-20.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.4.21-20.ELsmp ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-20.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.4.21-20.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-20.EL ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-20.EL.img
[root@flulinux01 grub]#
I have a question about the /boot/grub/menu.lst and the /boot/grub/grub.conf. They are different.
Which file is read when reboot the RedHat linux?
[root@flulinux01 grub]# more menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/sda7
# initrd /initrd-version.img
#boot=/dev/sda3
default=0
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.4.21-20.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.4.21-20.ELsmp ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-20.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.4.21-20.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-20.EL ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-20.EL.img
[root@flulinux01 grub]# more grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,2)
# kernel /vmlinuz-version ro root=/dev/sda7
# initrd /initrd-version.img
#boot=/dev/sda3
default=1
timeout=10
splashimage=(hd0,2)/grub/splash.xpm.gz
title Red Hat Enterprise Linux AS (2.4.21-53.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-53.EL ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-53.EL.img
title Red Hat Enterprise Linux AS (2.4.21-20.ELsmp)
root (hd0,2)
kernel /vmlinuz-2.4.21-20.ELsmp ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-20.ELsmp.img
title Red Hat Enterprise Linux AS-up (2.4.21-20.EL)
root (hd0,2)
kernel /vmlinuz-2.4.21-20.EL ro root=LABEL=/ hda=ide-scsi apic
initrd /initrd-2.4.21-20.EL.img
That's a bit strange because menu.lst is supposed to just be a symlink to grub.conf (or the other way around, i can't remember). I.e. they should both actually be identical. Either way, i would suggest that grub reads grub.conf on boot.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.