Re: Question on installing 2.6.18

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Jerry Geis wrote:
Hi,

I have a need to install 2.6.18 kernel.

After I configure, make, make modules, make install (all that is good).
The last thing I do is 'make install'. This also modifies grub.conf and
adds an entry for my new kernel. However it leaves the old kernel as still
the default. Is there a way to have it automatically set my new kernel
as the default in grub.conf so when I reboot the new kernel is active.


Edit grub.conf

Set default=x where x is the menu order position of 2.6.18. The order starts from 0.

eg:
default=0
title CentOS (2.6.18)
	kernel (hd0,1)/vmlinuz-2.6.18 ro root=/dev/VolGroup00/LogVol00
	initrd (hd0,1)/initrd-2.6.18.img
title CentOS (2.6.9-42.0.3.plus.c4)
        root (hd0,1)
kernel /vmlinuz-2.6.9-42.0.3.plus.c4 ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.9-42.0.3.plus.c4.img
title CentOS (2.6.9-42.0.3.EL)
        root (hd0,1)
        kernel /vmlinuz-2.6.9-42.0.3.EL ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.9-42.0.3.EL.img
title CentOS-4 x86_64 (2.6.9-42.EL)
        root (hd0,1)
        kernel /vmlinuz-2.6.9-42.EL ro root=/dev/VolGroup00/LogVol00
        initrd /initrd-2.6.9-42.EL.im
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux