DellR730安装ESXI Ubuntu安装显卡失败问题
ESXI显卡直通车安装显卡驱动
配置清单如下
本地服务器型号:Dell R730
系统:ubuntu20.4
显卡:Nvidia P40
虚拟化操作系统:esxi 6.7.0
驱动版本:NVIDIA-Linux-x86_64-440.95.01.run
禁用Nouveau(这一步很关键)
sudo vi /etc/modprobe.d/blacklist-nouveau.conf
添加如下内容
blacklist nouveau
options nouveau modeset=0
更新生效
sudo update-initramfs -u
重启
验证,如果没有输出就是被禁用成功
lsmod | grep nouveau
安装显卡驱动
下载: wget https://cn.download.nvidia.cn/tesla/440.95.01/NVIDIA-Linux-x86_64-440.95.01.run
安装:sudo sh NVIDIA-Linux-x86_64-440.95.01.run
检查是否安装成功:nvidia-smi
安装中出现的选择(很关键,不按如下选择就安装不成功,这一步被卡了很久)
遇到Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later
选择NO
遇到Nvidia's 32-bit compatibility libraries?
选择NO
遇到Would you like to run the nvidia-xconfigutility to automatically update your x configuration so that the NVIDIA x driver will be used when you restart x? Any pre-existing x confile will be backed up
选择YES
学以致用,只争朝夕,不负韶华。