Remove driver or boot without driver

  • Print this page so you have it as a reference while in TTY2

  • Switch to TTY2 by pressing Ctrl+Alt+F2

  • Log in there

  • Execute:

    mhwd --listinstalled
    
  • That will show you all the drivers you have installed (Example below for my system)

    Installed PCI configs:
    --------------------------------------------------------------------------------
                      NAME               VERSION          FREEDRIVER           TYPE
    --------------------------------------------------------------------------------
              video-nvidia            2020.11.30               false            PCI
    
    
    Warning: No installed USB configs!
    
  • to remove the driver you don’t want:

    sudo mhwd --install pci unwanted-driver 
    

    (where obviously unwanted-driver is the name of the driver you installed erroneously)

  • Once finished:

    sudo reboot
    

:crossed_fingers:

Please read this so that you never have to do this ever again in the future:

1 Like