Ubuntu 16.04+GTX970 黑屏無法安裝解決方法
視訊線接入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中按中鍵黏貼。