Re: always boot from Elrepo kernel

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




----- Oorspronkelijk bericht -----
Van: "Jim Perrin" <jperrin@xxxxxxxxxx>
Aan: centos@xxxxxxxxxx
Verzonden: Donderdag 22 september 2016 17:19:42
Onderwerp: Re:  always boot from Elrepo kernel



On 09/22/2016 10:14 AM, johan.vermeulen7@xxxxxxxxxx wrote:
> Hello All, 
> 
> I purchased some Dell Latitude 3570 laptops. They came with Ubuntu preinstalled. ( Which I swapped for Centos7) 
> I have to use Elrepo kernel on these machines to get some of the fn function keys to work. 
> So I installed Elrepo's kernel-ml and selected this kernel with: 
> # grub2-set-default 0 
> ( after disabling secure boot) 
> 
> The problem I see is that after a next kernel update, the new Centos kernel will be nr 0 and the machine will 
> boot from that kernel if I tested this correctly. 
> 
> Is there a way I can enable elrepo kernel update but not the regular Centos kernel? 

I believe you need to update /etc/sysconfig/kernel to set the 'default'
kernel package to be the kernel-ml or whichever elrepo kernel you're using.

Hello Jim,

thanks for the reply.
For some reason that doesnt' work.
To test this I booted from an older kernel and removed the most recent Centos-kernel
After installing Elrepo's kernel-ml the system boots from kernel-ml, with or without changing /etc/sysconfig/kernel to
DEFAULTKERNEL=kernel-ml
But after running an update again, and reinstalling the latest Centos kernel, the system boots from that kernel again.

Greetings, J.

-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://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