Rocky Linux does nothing upon boot after installing Nvidia driver

So I tried to install the Nvidia drivers and was unable to boot it. I screwed up a bit by installing wrong CUDA at first, then fixing my mistake, and also overlapping the install cuz been corrupted by other driver. What happens now. Is rocky cannot boot at all.

When i check the logs it start with all [OK] and then it flash disappear and just a _ on the screen.

When I am not in the log mode the cursor just disappears and I see computer logo. If i wait too long to restart it do that “fake sleep” like windows where it don’t turn on.

please fix this! It;s a horrible thing I do not know how to fix.

I tried to change display device back to noveau from nvidia and did not work.

By the way I am on Rocky Linux 9.4 in a Dual Boot system.

1 Like

Update. I fixed it!

Was an issue with the gde because that was the last thing go [OK]

I uninstalled cuda in rescue mode, then I deleted the Xorg.conf file. I also ran sudo dracut -f

I still have the basic NVIDIA driver though.