安装Nvidia驱动时出现以下情况:
The distribution-provided pre-install script failed! Are you sure you want to continue?
The target kernel has CONFIG_MODULE_SIG set, which means that it supports cryptographic signatures on kernel modules. .....................
ERROR: The kernel module failed to load, because it was not signed by a key that is trusted by the kernel .Please try installing the driver again, and sign the kernel module when prompted to do so.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when this kernel module was built against the wrong or improperly configured kernel sources, with a version of gcc that differs from the one used to build the target kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA kernel module from obtainning ownership of the NVIDIA GPU(s), or no NVIDIA GPU installed in this system is supported ...............
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log'......
多方判断,是因为华硕主板有一些是加锁的,设置了安全启动的原因。
以下disable掉安全启动的方法:
首先:重启,按F2/ESC进入BIOS
- 确定 "OS Type" 是 "Windows UEFI"
- 点击进入 "Key Management"
- 以下每一项上面点右键——"Clear Secure Boot keys"
4. 删除完成后,Secure Boot state 将自动变为 disabled,然后设置OS Type 为 Other OS .