ubuntu cannot boot due to driver update

Originally my graphics card was this 470

 Then I want to install CUDA, I know this command: ubuntu-drivers devices

 Want to install the recommended 525 graphics card driver.

sudo apt install nvidia-driver-525-open
sudo reboot

As a result, it got stuck in this interface after restarting.

Ubuntu 20.04.5 LTS cgm tty3

cgm login:

 Note that this login is to enter the user name, and the password is the password after pressing enter.

 Then I follow the link below to uninstall the driver and install the driver. At that time, my third step 470 driver did not seem to be installed (forgot to take a picture)

https://blog.csdn.net/zency/article/details/127356788

1.卸载所有驱动
sudo apt-get remove --purge nvidia*
2.清除缓存
sudo apt-get autoremove
3.重新安装驱动
sudo apt-get install nvidia-driver-470
4.重启
reboot


当时,我这个第三步470驱动好像没装上(忘记拍照)

After restarting, the computer display is abnormal and the screen is blurred.

 

 Solution (find a way to reinstall 470 to start)

After opening, select ubuntu advanced options

 select recovery mode

 Select the root line, press the enter key, and enter the command in the lower left corner to install the 470 driver

 Enter the command to install the 470 driver

sudo apt-get install nvidia-driver-470

 Zoom in on the lower left corner of this image.

 

 Once installed, reboot and restart.

reboot

installed

 Check it out

 Record the above, I went to see Avatar 2, come back and continue to install cuda

Guess you like

Origin blog.csdn.net/u013454780/article/details/128358969