Ubuntu 16.04+GTX970 黑屏無法安裝解決方法


 參考http://www.linuxidc.com/Linux/2017-01/139318.htm

http://blog.sciencenet.cn/blog-655584-877622.html

 深度學習主機環境配置: Ubuntu16.04+Nvidia GTX 1080+CUDA8.0

 

視頻線接入Nvidia顯卡(這里是GTX970)上,開機啟動按F12(這里清華同方台式機)進入USB安裝選擇界面:

選擇“USB:Generic Flash Disk”, 回車Enter,在按e鍵,可進入到Ubuntu選擇安裝界面

 

選擇“Install Ubuntu”,並按F6(Other Options),出現可編輯內容

"Boot Options ed boot=... initrd=/casper/initrd.lz quiet splash ---"

修改紅色部分(刪去“---”並添加“nomodeset”)如下

"Boot Options ed boot=... initrd=/casper/initrd.lz nomodeset quiet splash"

編輯好后按Enter鍵,黑屏等待幾秒鍾順利的話即可進入Ubuntu安裝引導界面

 

二、當安裝結束后,啟動系統出現黑畫面

1.開機,進入grub畫面(如果硬碟沒有別的OS,請開機時按住shift不放才會有grub畫面)

2.按'''e''' 進入編輯開機指令的模式, 同樣找到'''quite splash''' 並在后面加上對應的“nomodeset”,即。

'''quite splash nomodeset'''


3.按 ''F10''啟動系統.

4.進去系統之后編輯'''/etc/default/grub''' :
Ubuntu>打開終端機,輸入

$sudo vi /etc/default/grub

5.找到這一行:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

修改為:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nomodeset"

6. 更新GRUB: 

$sudo update-grub

7.存檔,並重新開機。

 

 

VNC server

通過VNC server遠程登陸Ubuntu,設置方法如下

#!/bin/sh
export XKL_XMODMAP_DISABLE=1
unset  SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal

  

設置成功后,根據Ubuntu的ip通過VNC登陸

登陸后界面如下

 

在linux中執行 vncconfig -nowin&

在linux選中文字后,無需其他按鍵,直接在windows中可以黏貼。
在windows中選中文字,Ctrl+C,在linux中按中鍵黏貼。

 

http://www.jb51.net/os/Ubuntu/104948.html

http://jingyan.baidu.com/article/8ebacdf0cdc64949f75cd555.html


免責聲明!

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



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