-
I've gotten my CentOS 7 painted into a corner where I really need a kernel-ml during and after the upgrade .... Is there a simple way to patch in switching from the distro's default kernel to one from elrepo? I tried just swapping out the vmlinuz-upgrade in /boot, but for some reason the upgrade process also needed iscsi ... |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi @rrauenza, I am not familiar with this kernel. Well, in case you want to use this specific kernel instead of the standard one, you will need to update possibly more things. note that iscsi is not supported for upgrades right now if you need it. In general, I suggest to look at actors here: When you want to use a specific kernel for the upgrade process, you need to build also the upgrade initramfs right for this kernel so both are compatible (I expect that kernel-ml is not of the same version-release as the RH official one). In short:
The first step can be done in several ways, however, as you will have to modify the code anyway, I suggest you to look at this one actor and modify it properly: You are interested about Then update Similarly, you need to ensure that correspongind rpms are installed also during the upgrade. Regarding that part, search for all related to |
Beta Was this translation helpful? Give feedback.
-
Thank you. I'm poking at this today. CentOS7 started with supporting btrfs, there were some bugs, and I started moving to the kernel-ml line of kernels from elrepo to work around them. I'll record my progress here for anyone else needing to do this. |
Beta Was this translation helpful? Give feedback.
Hi @rrauenza, I am not familiar with this kernel. Well, in case you want to use this specific kernel instead of the standard one, you will need to update possibly more things. note that iscsi is not supported for upgrades right now if you need it.
In general, I suggest to look at actors here:
When you want to use a specific kernel for the upgrade process, you need to build also the upgrade initramfs right for this kernel so both are compatible (I expect that kernel-ml is not of the same version-release as the RH official one). In short: