ubuntu(16.04) 電腦開機,滑鼠鍵盤失靈,進入不了系統

讓蛋蛋飛發表於2018-12-13

故障描述:

ubuntu(16.04) 系統開機後,滑鼠鍵盤失靈,沒有任何反應,操作不了,也進不了系統,重啟也不行。

故障原因:

在系統上安裝了類似桌面主題或者格式的軟體,導致ubuntu的桌面環境被毀掉了,即系統的ubuntu-desktop找不到路徑了。

解決方法:

1. 強制重啟電腦(按電源鍵),同時一直按“Esc”鍵,進入GRUB介面

圖片來自網路(ubuntu版本對不上).png

2. 選擇recovery mode,按Enter進入

Recovery menu.png

各選單命令:

<1> resume

resume --- Resume normal boot
繼續正常啟動,這個模式是提供給那些不小心誤入此選項的使用者使用,可以使他們繼續之前正常的啟動模式
複製程式碼

<2> clean

clean --- Try to make free space
清理軟體包,嘗試清除硬碟中不必要的檔案存放空間。
複製程式碼

<3> dpkg

dpkg --- Repair broken packages
修護損害的安裝包
複製程式碼

<4> failsafeX

failsafeX --- Run in failsafe graphic mode
以安全的圖形模式執行
複製程式碼

<5> fsck

fsck --- Check all file system
硬碟檢查與修護壞道/邏輯壞道,進行磁碟/硬碟掃描修復,適合不正常的開機使用
複製程式碼

<6> grub

grub --- Update grub bootloader
更新grub引導
複製程式碼

<7> network

network --- Enable networking
帶網路連線的shell介面,直接以文字模式啟動,並且開啟網路連線支援
複製程式碼

<8> root

root --- Drop to root shell prompt
最高的管理員的shell介面
複製程式碼

<9> system-summary

system-summary --- System summary
檢視系統的資訊/資料
複製程式碼

3. 選擇resume --- Resume normal boot選項進入(Enter)

4. 進入後,左上角出現白色閃爍游標,按Ctrl + Alt + F1進入 tty 命令模式

介面提示使用者登陸: 以root賬戶進入(其他賬戶登陸沒有許可權)

命令列輸入startx命令:

startx
複製程式碼

啟動圖形介面,會提示錯誤資訊:

/etc/X11/Xinit/xserverrc: 3: exec: /usr/bin/X: not found
xinit: giving up
...
複製程式碼

出現這個錯誤,原因是:ubuntu-desktop找不到路徑了。解決辦法:安裝一下ubuntu-desktop,執行命令:

sudo apt-get install ubuntu-desktop
複製程式碼

5. 安裝完後,執行重啟命令

sudo shutdown -r now
或
sudo reroot
複製程式碼

參考文獻:

blog.csdn.net/chichoxian/…

blog.csdn.net/zjwcdd/arti…

相關文章