Anyone know what exactly goes on when yum applies a kernel update? Something automagically edits the /boot/grub/grub.conf file, but whatever is doing that isn't doing it the same way on a couple of different fedora boxes I have.
One box once had Xen installed, but I removed all the Xen stuff because it wasn't very useful on the machine. This box now inserts a new kernel at the top of the list of "title" sections, but changes the default= parameter so the old kernel is the default boot.
Another box never had Xen, and when it gets a kernel update, the new kernel is inserted at the front, but the default= line is NOT changed, so the new kernel is the default boot.
What the heck is different and how do I make them the same?
On 5/3/07, Tom Horsley tom.horsley@att.net wrote:
Anyone know what exactly goes on when yum applies a kernel update? Something automagically edits the /boot/grub/grub.conf file, but whatever is doing that isn't doing it the same way on a couple of different fedora boxes I have.
RPM is doing the heavy lifting. Check the first stanza in menu.lst. RPM uses that as a template.
One box once had Xen installed, but I removed all the Xen stuff because it wasn't very useful on the machine. This box now inserts a new kernel at the top of the list of "title" sections, but changes the default= parameter so the old kernel is the default boot.
Another box never had Xen, and when it gets a kernel update, the new kernel is inserted at the front, but the default= line is NOT changed, so the new kernel is the default boot.
What the heck is different and how do I make them the same?
Edit /etc/sysconfig/kernel to make all your systems the same.
On Thu, 3 May 2007 15:41:35 -0800 "Kam Leo" kam.leo@gmail.com wrote:
Edit /etc/sysconfig/kernel to make all your systems the same.
Thanks! That file said kernel-xen should be the default (and since there isn't one, that musta confused things :-).
On 5/3/07, Tom Horsley tom.horsley@att.net wrote:
On Thu, 3 May 2007 15:41:35 -0800 "Kam Leo" kam.leo@gmail.com wrote:
Edit /etc/sysconfig/kernel to make all your systems the same.
Thanks! That file said kernel-xen should be the default (and since there isn't one, that musta confused things :-).
If you used yum or rpm to remove kernel-xen please file a bug report.
On 5/3/07, Tom Horsley tom.horsley@att.net wrote:
Anyone know what exactly goes on when yum applies a kernel update? Something automagically edits the /boot/grub/grub.conf file, but whatever is doing that isn't doing it the same way on a couple of different fedora boxes I have.
One box once had Xen installed, but I removed all the Xen stuff because it wasn't very useful on the machine. This box now inserts a new kernel at the top of the list of "title" sections, but changes the default= parameter so the old kernel is the default boot.
Another box never had Xen, and when it gets a kernel update, the new kernel is inserted at the front, but the default= line is NOT changed, so the new kernel is the default boot.
What the heck is different and how do I make them the same?
Seems like in the first scenario it noticed you had made changes so it left your choice of kernels alone.
In the second case , things were vanilla, so it bumped you to the latest kernel.
How did you update your kernel ?
On Thu, 3 May 2007 18:53:12 -0400 Tom Horsley tom.horsley@att.net wrote:
Anyone know what exactly goes on when yum applies a kernel update? Something automagically edits the /boot/grub/grub.conf file, but whatever is doing that isn't doing it the same way on a couple of different fedora boxes I have.
One box once had Xen installed, but I removed all the Xen stuff because it wasn't very useful on the machine. This box now inserts a new kernel at the top of the list of "title" sections, but changes the default= parameter so the old kernel is the default boot.
Another box never had Xen, and when it gets a kernel update, the new kernel is inserted at the front, but the default= line is NOT changed, so the new kernel is the default boot.
What the heck is different and how do I make them the same?
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
On Sat, 05 May 2007 10:44:16 -0400 archive archive@infolinux.jp wrote:
How did you update your kernel ?
Just with the good old standby "yum -y update". The full details of what happened are here: