
我在戴爾 XPS 15 筆記型電腦上運行 ubuntu 21.10。它工作得很好,直到有一天我在啟動時遇到黑屏。
我可以在恢復模式下啟動它,從恢復選單中選擇“恢復”,ubuntu 將啟動,但只能作為文字命令行,沒有 GUI。
我的筆記型電腦是 Ubuntu 和 Windows 11 雙啟動的。
編輯:我已經從 Live CD 運行 fsck,現在的輸出是:
/dev/nvme0n1p7: clean, 362747/15261696 files, 28576717/61019392 blocks
其中 nvme0n1p7 是我的 ubuntu 分割區。所以檔案系統似乎一切都很好。
編輯:我嘗試過的其他方法是啟用網絡,然後從恢復選單運行 dpkg 來修復損壞的軟體包,我得到以下輸出:
Reading cache
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
No candidate ver: google-chrome-stable
No candidate ver: linux-image-5.11.41-generic
No candidate ver: linux-image-5.11.49-generic
No candidate ver: linux-modules-5.11.41-generic
No candidate ver: linux-modules-5.11.49-generic
No candidate ver: linux-modules-extra-5.11.27-generic
No candidate ver: linux-modules-extra-5.11.41-generic
No candidate ver: linux-modules-extra-5.11.49-generic
No candidate ver: teamviewer
No candidate ver: zoom
Calculating the changes
No candidate ver: google-chrome-stable
No candidate ver: linux-image-5.11.41-generic
No candidate ver: linux-image-5.11.49-generic
No candidate ver: linux-modules-5.11.41-generic
No candidate ver: linux-modules-5.11.49-generic
No candidate ver: linux-modules-extra-5.11.27-generic
No candidate ver: linux-modules-extra-5.11.41-generic
No candidate ver: linux-modules-extra-5.11.49-generic
No candidate ver: teamviewer
No candidate ver: zoom
Finished, please press ENTER
我使用 dpkg purge 刪除了 google chrome、zoom 和 teamviewer,但沒有效果。我在刪除/重新安裝系統相關軟體包時更加謹慎,特別是因為我不知道這是否能解決任何問題。
有人有任何想法/需要更多資訊嗎?