Eu tenho um simples VPS rodando no centos 7.5. Quando eu executo o yum update e ele atualiza o kernel, a máquina não irá reiniciar porque o caminho do root = / dev / vda1 mudança para root = / dev / sda1
no boot / grub2 / grub.cfg
Como evitar essa mudança quando executo a atualização do yum?
### BEGIN /etc/grub.d/10_linux ###
menuentry 'CentOS Linux (3.10.0-862.14.4.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.el7.x86_64-advanced-70fd62dd-88a6-4c09-8b70-56192bad3681' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 70fd62dd-88a6-4c09-8b70-56192bad3681
else
search --no-floppy --fs-uuid --set=root 70fd62dd-88a6-4c09-8b70-56192bad3681
fi
linux16 /boot/vmlinuz-3.10.0-862.14.4.el7.x86_64 **root=/dev/sda1** ro crashkernel=auto rhgb quiet LANG=en_US.UTF-8
initrd16 /boot/initramfs-3.10.0-862.14.4.el7.x86_64.img
}
menuentry 'CentOS Linux (3.10.0-862.11.6.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-693.el7.x86_64-advanced-70fd62dd-88a6-4c09-8b70-56192bad3681' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 --hint='hd0,msdos1' 70fd62dd-88a6-4c09-8b70-56192bad3681
else
search --no-floppy --fs-uuid --set=root 70fd62dd-88a6-4c09-8b70-56192bad3681
fi
linux16 /boot/vmlinuz-3.10.0-862.11.6.el7.x86_64 **root=/dev/vda1** ro crashkernel=auto rhgb quiet LANG=en_US.UTF-8
initrd16 /boot/initramfs-3.10.0-862.11.6.el7.x86_64.img