On Fri, Jun 04, 2021 at 07:35:54AM -0700, Doug H. wrote:
On Thu, Jun 3, 2021, at 11:20 AM, Jon LaBadie wrote:
On my 3 systems, F34, F34, and CentOS7, they are 1, 2, and 6 years old respectively.
Are old rescue kernels still useful? (6 years?)
Are there automated or manual procedures to update a rescue kernel?
Are there best practices for rescue kernel update? If there are, I've missed them.
I don't think anybody gave an example of procedure to update...
- Turn off auto updates to dnf.
- Daily update: sudo dnf upgrade
2a. If there is not kernel update hit "Yes" and stop here. 2b. If there is a kernel update hit "No" 3. Delete the "rescue" stuff in /boot and /boot/loader/entries/ 4. sudo dnf upgrade -y 5. Reenable auto updates if you wish.
This will make sure you get your rescue built right away without having to push the build yourself. This just lets the system do it for you. You could just do the deletes and then wait, but it might be days before a new kernel comes in to push the rebuild.
Thanks for the stepwise instructions Doug.
One thought, should one be certain that they are happy with the most recent kernel before embarking on replacing the rescue kernel. I don't reboot every time a kernel is installed. So I may not have yet run the most recent. Murphy's law says that will be the one that breaks something and I wouldn't want it as my rescue kernel ;)
Slightly off topic, my really old rescue kernel (2015) is on a CentOS system and has no /boot/loader directory. Was there an alternative before /boot/loader was introduced?