T
T
tvoyadres2020-06-06 14:43:36
CentOS
tvoyadres, 2020-06-06 14:43:36

Centos 7 stops booting with new 5.6 kernel automatically after upgrade?

I recently updated the kernel according to the instructions https://losst.ru/obnovlenie-yadra-centos-7

contents
/ets/default/grub

GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g ' /etc/system-release)"
GRUB_DEFAULT=0
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto rhgb quiet"
GRUB_DISABLE_RECOVERY="true"

have to manually select

command
rpm -q kernel

kernel-3.10.0-1127.10.1.el7.x86_64

command
grub2-editenv list

saved_entry=CentOS Linux (3.10.0-1062.12.1.el7.x86_64) 7 (Core)


command
uname -sr
Linux 5.6.14-1.el7.elrepo.x86_64

kernel 5.7 I have an unstable panic. I

need to make sure that 5.6 always starts even when the power is gone and the server has restarted.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Dmitriev, 2020-06-08
@SignFinder

you need to change default = 0 to the number of the kernel in the boot list that you need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question