问题出现在ubuntu16.04 nvidia显卡驱动崩溃,问题现象:
登录账号后,弹出检测到系统程序出现问题的对话框,界面出现了 /dev/sda2 clean 和 /dev/sda2 recovering journal 字样,然后又退回登陆界面,ssh之类的也登录不了。
1. 在卡住不动的界面我们需要切换到命令行模式,Ctrl+Alt+F3,笔记本F1
2. 检查显卡驱动是否已经损坏 cat /proc/driver/nvidia/version,若不能看到,则说明有问题,我的连nvidia目录都没有了
3. 卸载已安装显卡驱动:
sudo apt purge nvidia-*
sudo apt autoremove
4. 在官网下载对应的显卡驱动程序,官网地址为:https://www.nvidia.com/Download/index.aspx,选择好对应的显卡驱动后,下载后的文件名为NVIDIA-Linux-x86_64-390.87.run
5. 安装显卡驱动:sudo bash NVIDIA-Linux-x86_64-390.87.run
6. 一些询问信息:
1)Accept License
2)The distribution-provided pre-install script failed! Are you sure you want to continue? -> CONTINUE INSTALLATION
4) An incomplete installation of libglvnd was found. Do you want to install a full copy of libglvnd? This will overwrite any existing libglvnd libraries.-> Install and overwrite existin
4) Would you like to run the nvidia-xconfig utility? -> YES
7. 安装完成
驱动安装如果遇到问题,请转https://blog.csdn.net/weixin_44138807/article/details/100539885