[Fixed] boot Prolbem

General support questions
Post Reply
Zosso
Posts: 12
Joined: 2016/07/03 17:01:09

[Fixed] boot Prolbem

Post by Zosso » 2021/05/07 20:08:48

Good morning all

I installed Centos7 with the kernel-3.10.0-1160.15.2.el7.x86_64
everything was working fine and still to this day.

But I have made updates since that time of the Kernel
kernel-3.10.0-1160.21.1.el7.x86_64
kernel-3.10.0-1160.24.1.el7.x86_64

these last two do not restart anymore, i have a little idea of what is going on but i dont know how to fix this problem
I installed the proprietary Nvidia drivers on my first installation since I cannot migrate to a higher version.

looks like the GUI can't start ??
no error at startup everything is ok then its stop ??


Does anyone have a Idea please !!


Thank you

I did this manipulation to install the Nvidia drivers https://www.youtube.com/watch?v=ap4nyLMTX0A
### BEGIN /etc/grub.d/10_linux ###
menuentry 'CentOS Linux (3.10.0-1160.24.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-1c8ca0c7-1b9c-4777-bc5b-7804d232634a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 --hint='hd0,msdos1' 5b7503a7-e9e5-40e8-9979-21e6db2b3498
else
search --no-floppy --fs-uuid --set=root 5b7503a7-e9e5-40e8-9979-21e6db2b3498
fi
linux16 /vmlinuz-3.10.0-1160.24.1.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet nomodeset rdblacklist=nouveau LANG=fr_CA.UTF-8
initrd16 /initramfs-3.10.0-1160.24.1.el7.x86_64.img
}
menuentry 'CentOS Linux (3.10.0-1160.21.1.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-1c8ca0c7-1b9c-4777-bc5b-7804d232634a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 --hint='hd0,msdos1' 5b7503a7-e9e5-40e8-9979-21e6db2b3498
else
search --no-floppy --fs-uuid --set=root 5b7503a7-e9e5-40e8-9979-21e6db2b3498
fi
linux16 /vmlinuz-3.10.0-1160.21.1.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet nomodeset rdblacklist=nouveau LANG=fr_CA.UTF-8
initrd16 /initramfs-3.10.0-1160.21.1.el7.x86_64.img
}
menuentry 'CentOS Linux (3.10.0-1160.15.2.el7.x86_64) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-3.10.0-1160.el7.x86_64-advanced-1c8ca0c7-1b9c-4777-bc5b-7804d232634a' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 --hint='hd0,msdos1' 5b7503a7-e9e5-40e8-9979-21e6db2b3498
else
search --no-floppy --fs-uuid --set=root 5b7503a7-e9e5-40e8-9979-21e6db2b3498
fi
linux16 /vmlinuz-3.10.0-1160.15.2.el7.x86_64 root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet nomodeset rdblacklist=nouveau LANG=fr_CA.UTF-8
initrd16 /initramfs-3.10.0-1160.15.2.el7.x86_64.img
}
menuentry 'CentOS Linux (0-rescue-91f7b530313247ff9d53ad555e37957f) 7 (Core)' --class centos --class gnu-linux --class gnu --class os --unrestricted $menuentry_id_option 'gnulinux-0-rescue-91f7b530313247ff9d53ad555e37957f-advanced-1c8ca0c7-1b9c-4777-bc5b-7804d232634a' {
load_video
insmod gzio
insmod part_msdos
insmod xfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,msdos1 --hint-efi=hd2,msdos1 --hint-baremetal=ahci2,msdos1 --hint='hd0,msdos1' 5b7503a7-ex9e5-40e8-9979-21e6db2b3498
else
search --no-floppy --fs-uuid --set=root 5b7503a7-e9e5-40e8-9979-21e6db2b3498
fi
linux16 /vmlinuz-0-rescue-91f7b530313247ff9d53ad555e37957f root=/dev/mapper/centos-root ro crashkernel=auto rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet
initrd16 /initramfs-0-rescue-91f7b530313247ff9d53ad555e37957f.img
Last edited by Zosso on 2021/05/07 23:45:45, edited 1 time in total.

tunk
Posts: 986
Joined: 2017/02/22 15:08:17

Re: boot Prolbem

Post by tunk » 2021/05/07 22:37:32

When you use the Nvidia drivers, I think you have to reinstall it
for each new kernel. You could try to boot the newest kernel, wait
a bit and then press crtl+alt+F2. This should give you command line
log-in, then log in and install. Or you could use kmod-nvidia (haven't
used it so I can't tell you how - do a web search).

Zosso
Posts: 12
Joined: 2016/07/03 17:01:09

Re: boot Prolbem

Post by Zosso » 2021/05/07 23:44:57

Wow tunk !!!!
fantastic it works wonderfully
this is what i wanted to try but i didn't know how to do it
to go in command line you give me the trick ctrl + alt + F2
thank you again i appreciate a lot

gostal
Posts: 71
Joined: 2019/09/23 15:26:45

Re: [Fixed] boot Prolbem

Post by gostal » 2021/05/20 13:13:47

If you have dkms installed there is an option during installation of nvidia driver to utilize that and get an automatic rebuild of the nvidia driver whenever a new kernel gets installed.

Cheers,
gostal
Desktop Dell T5810 Intel(R) Xeon(R) CPU E5-1650 v4 @ 3.60GHz, 72 GB RAM, Radeon Pro WX 7100
CentOS 7.9.2009

Post Reply

Return to “CentOS 7 - General Support”