can't boot after cuda toolkit installation

Issues related to applications and software problems and general support
Liran
Posts: 27
Joined: 2014/06/05 09:10:28

can't boot after cuda toolkit installation

Post by Liran » 2021/07/07 18:05:26

Running Lenovo LEGION laptop with dual boot - win10 and centos 8. after installing cuda toolkit on centos, it can't boot.

I guess it might be related to new nvidia drivers that doesn't fit my gpu (nvidia geforce rtx 2060).

when booting from centos, it get stuck on

Starting Switch Root...
[ 6.514970] iTCO_wdt: can't request region for resources [mem 0x00c5fffc-0x00c5ffff]

as suggested by other posts I have deleted from grub the

rd.driver.blacklist=nouveau

and tried instead nouveau.modeset=0 and nouveau.modeset=1 - both didn't do the trick.

I get instead to pixels on my screen that are not identifiable fonts.

Any idea on how to get to a cli where I can start doing something? ...at least to be able to update drivers.
should I remove something else on grub edit?
grub.jpg
grub.jpg (48.52 KiB) Viewed 1246 times

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: can't boot after cuda toolkit installation

Post by TrevorH » 2021/07/08 08:51:00

Remove 'quiet' so you can see any errors.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Liran
Posts: 27
Joined: 2014/06/05 09:10:28

Re: can't boot after cuda toolkit installation

Post by Liran » 2021/07/08 16:46:01

I have removed quiet and this is what I get
Attachments
centos8_1.jpg
centos8_1.jpg (142.51 KiB) Viewed 1205 times

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: can't boot after cuda toolkit installation

Post by TrevorH » 2021/07/09 18:58:42

I'd suggest starting with the current version of CentOS 8 not 8.0 which is 2 years old.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Liran
Posts: 27
Joined: 2014/06/05 09:10:28

Re: can't boot after cuda toolkit installation

Post by Liran » 2021/07/10 15:12:47

@TrevorH, meaning boot from usb?

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: can't boot after cuda toolkit installation

Post by TrevorH » 2021/07/10 15:16:25

Meaning your installed kernel is, according to your grub menu screenshot, 4.18.0-147.8.1.el8_1.x86_64 which is a kernel from CentOS 8.1 dating from 2019-11-05. That means your entire system is going on 2 years out of date and you're trying to run an nvidia driver that will only have been tested using the latest version, currently 4.18.0-305.7.1.el8_4.x86_64.

Run yum update to get up to date then start over. We recommend using the ELRepo packaged kmod-nvidia drivers as they do everything for you including all blacklisting etc.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Liran
Posts: 27
Joined: 2014/06/05 09:10:28

Re: can't boot after cuda toolkit installation

Post by Liran » 2021/07/10 16:02:03

How can I run yum update when I cant reach the cli?

User avatar
TrevorH
Site Admin
Posts: 33215
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: can't boot after cuda toolkit installation

Post by TrevorH » 2021/07/10 16:51:07

Hit Ctrl-Alt-F2 or F3 etc to switch to a cli terminal and login there.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Liran
Posts: 27
Joined: 2014/06/05 09:10:28

Re: can't boot after cuda toolkit installation

Post by Liran » 2021/07/10 17:01:16

that's the problem...
it doesn't work.
while booting I see clear fonts, but then, at some point, it gets too small or something happens to the fonts which make the text unreadable.
that's why I think it's related to the graphic driver.
I have tried using "set gfx_payload=text" and also added text and single to the linux command in the boot menu -> it is still unreadable.

Liran
Posts: 27
Joined: 2014/06/05 09:10:28

Re: can't boot after cuda toolkit installation

Post by Liran » 2021/07/13 19:01:38

Here's an example
Attachments
WhatsApp Image 2021-07-13 at 21.53.44.jpeg
WhatsApp Image 2021-07-13 at 21.53.44.jpeg (204.67 KiB) Viewed 967 times

Post Reply