更换显卡后,ubuntu无法进入问题
- 开机,进入grub画面。选择第一项ubuntu,按e,进入编辑模式。
- 找到quite splash 并在后面添加选项 nomodeset,然后按 F10启动系统。
- 进入系统后,为了避免以后每次都手动添加nomodeset选项,可以修改/etc/default/grub文件,找到GRUB_CMDLINE_LINUX_DEFAULT,在quiet splash后添加nomodeset,保存
- 更新grub,
sudo update-grub
安装gtx1080ti驱动
- Download CUDA: I used the 9.1 version and “runfile (local)”. That is 1.6 GB.
- Remove any other installation (
sudo apt-get purge nvidia-cuda*
- if you want to install the drivers too, thensudo apt-get purge nvidia-*
.) - Go to a terminal session,
ctrl+alt+F2
- Stop lightdm:
sudo service lightdm stop
- Create a file at
/etc/modprobe.d/blacklist-nouveau.conf
with the following contents:
blacklist nouveau
options nouveau modeset=0
6.Then do: sudo update-initramfs -u
7. sudo sh cuda_9.1.85_387.26_linux.run --override
. Make sure that you say y for the symbolic link
8. Start lightdm again: sudo service lightdm start
自此,开始发掘gtx 1080ti的强大功能吧。