Ubuntu 16.04升級Linux內核為4.7.0最快的方法


升級內容有很多好處,比如支持最新硬件驅動,使系統更安裝等。但是升級內容也會帶來一些問題,比如一些軟件的兼容性問題,從而出現一些莫名其妙的問題等,所以升級時要慎重考慮。

升級方法:

下載腳本:

https://software.intel.com/en-us/forums/opencl/topic/738108

使用:

mv install_OCL_driver.txt install_OCL_driver.sh
chmod 755 install_OCL_driver.sh
sudo su
./install_OCL_driver.sh install

完成后的提示信息:

...
Installation completed successfully.

Next steps:
1. Add OpenCL users to the video group: 'sudo usermod -a -G video USERNAME'
   e.g. if the user running OpenCL host applications is foo, run: sudo usermod -a -G video foo

2. If you have Intel Pentium J4000 or Intel Celeron J3000, you will need to add:
   i915.preliminary_hw_support=1
   to the 4.7 kernel command line, in order to enable OpenCL functionality for these platforms.

3. Reboot into the patched 4.7 kernel

HINT: to boot into the 4.7 kernel do the following:
      1) Hold the "shift" button during boot
      2) When the GRUB menu appears, select "Advanced options for Ubuntu"
      3) Select the Linux 4.7.0.intel.r5.0 kernel from the list

重啟后即可。

如果中途出現APT的錯誤,參考:http://www.cnblogs.com/EasonJim/p/7343892.html

 

離線文件:

鏈接: https://pan.baidu.com/s/1qXW2k5A 密碼: 2rj2


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM