How do I make a Systemd-boot entry that blocks the nvidia drivers?

I want to do this because I had to reinstall the operating system because of a driver update, I just want a way to troubleshoot this issue without fully reinstalling my OS, I tried the modprobe commands on the efi loader entries folder and that didnt change anything; it was still using nvidia drivers even though i blacklisted it. Any help is appreciated.

Welcome to the community @VarVarJeg :wave::smiley: :enos_flag:

Assuming you’re referring to the proprietary closed source Nvidia drivers ( nvidia-dkms ), these, as part of the nvidia-utils package that gets installed with them, block the open source nouveau module.

So just blacklisting the proprietary driver might actually leave you without a fallback option.

I’d like to suggest some alternative approaches.

  1. If you find your system unbootable for any reason, arch-chroot within a Live ISO environment, allows you to perform repairs on your installation. It’s worth familiarising yourself with it. https://discovery.endeavouros.com/system-rescue/arch-chroot/2022/12/
  2. Consider using the btrfs file system, which supports snapshots. This, when configured correctly (and fairly easily), automatically takes snapshots before an update, and allows you to rollback to an earlier snapshot from within the Grub menu, if needed.

See here for a comprehensive rundown on snapshots with btrfs:

The super summary version though, is on a system using Grub with the btrfs file-system, run this:

yay -S snapper-support btrfs-assistant
1 Like

Thank you so much for the help! So I block just nouveau drivers or also the nvidia-dkms drivers?

1 Like

How did you confirm that EOS was still using nvidia drivers? And how did you blacklist the nvidia drivers?

I had copied the bootloader entries and made a seperate fallback entry, on it i edited the drm modeset and removed that part, i added modeset block nvidia and i used lspci and it said it still was using nvidia.

What driver are you trying to use?

It is not about what driver I am attempting to use. :smiley:

I asked to know how to detect which drivers EOS was using. Typically I use inxi -G to determine which graphics driver is being used. However if @VarVarJeg had used some other mechanism it would be nice to know.

From the post that @VarVarJeg and said that he used lspci . By that I assumed that he might have used the command lspci -k to get the drivers he was using.