Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

如何解決在作業系統上執行 Ubuntu 復原後的開機問題

Summary: 本文將說明使用 Ubuntu 作業系統,還原 Dell 筆記型電腦的無法開機問題。

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

下列文章提供在 Dell 筆記型電腦上執行 Ubuntu 作業系統復原後,發生開機至作業系統問題的相關資訊。


您的 Ubuntu 筆記型電腦是否在執行復原工具後無法開機?

在復原階段,通常會將主硬碟指派為 /dev/sda,以繼續進行系統復原。

但是在某些情況下,Realtek RTS5170 讀卡機會在真正的硬碟之前,意外將讀卡機回報為 /dev/sda

發生這種情況時,會將主硬碟指派為 /dev/sdb

這表示在復原完成後,下次重新開機系統時,開機管理程式會在錯誤的位置尋找主硬碟,因為主硬碟已變更為 /dev/sda。開機管理程式的內容變更會使系統無法開機,且會停止在下列畫面上:

Gave up waiting for root device. Common problem:
 - Boot args (cat /proc/cmdline)
 - Check rootdelay: (did the system wait long enough?)
 - Check root: (did the system wait for the right device?)
 - Missing modules (cat /proc/modules: ls /dev)
ALERT! /dev/disk/by-uuid/e279d132-d5b4-42a6-932f-225b4be3f0c8 does not exist. Dropping to a shell!

BusyBox v1.21.1 (Ubuntu 1:1.21.0-1ubuntu1) built in shell (ash)
Enter 'help' for a list of built-in-commands.

(initramfs) _

Cause

沒有可用的原因資訊。

Resolution

  1. Ubuntu.com 下載最新的 Ubuntu LTS 映像。 此超連結會帶您前往 Dell Technologies 以外的網站。

  2. 使用 Dell Ubuntu 映像建立可開機 USB 隨身碟或 DVD。

    • 在可正常運作的 Windows 電腦上燒錄可開機 Ubuntu DVD (Windows 7 / 8):

      1. 以滑鼠右鍵按一下下載的 ISO 映像,然後選取開啟檔案 > Windows 磁碟映像燒錄工具

      2. 選取 DVD-RW 光碟機的位置,然後選擇燒錄。(建議您在勾選在燒錄後驗證光碟選項,這可確認是否正確燒錄映像。)

    • 在可正常運作的 Windows 電腦上製作可開機 Ubuntu USB 隨身碟 (Windows 7 / 8):

      1. 下載 USB 安裝程式,例如 Pen Drive Linux 的 USB 安裝程式此超連結會帶您前往 Dell Technologies 以外的網站。

      2. 針對此特定安裝程式 - 從下拉式清單中選取 Ubuntu

      3. 按一下瀏覽並開啟下載的 ISO 映像。

      4. 選擇 USB 磁碟機,然後按一下建立

  3. 從 USB 隨身碟或您建立的 DVD 為系統開機。開啟系統電源時,您可能需要在 Dell 標誌畫面上快速按下 F12 鍵,以在螢幕上顯示開機裝置選取功能表。(選擇與您使用之媒體相符的選項。)

  4. 從媒體的開機功能表中選擇嘗試 Ubuntu 但不安裝選項。

  5. 這會讓您開機進入桌面,但不會在硬碟上安裝任何內容。在桌面上同時按下 Ctrl+Alt+T 鍵以開啟終端機視窗。請按照以下步驟解決開機位置問題:

    1. 變更為 root。

      sudo –s

    2. 重新掛接 CDRom,設定為讀寫。

      mount –n –o remount, rw /cdrom/

    3. 輸入命令。

      cd /cdrom/factory

    4. 使用 vigedit 編輯器編輯 /cdrom/factory/common.cfg 檔案。變更原始命令,設定 options="boot=casper automatic-ubiquity noprompt quiet splash -- modprobe.blacklist=rts5139 nomodeset"

    5. 儲存檔案,退出編輯器和終端機視窗,然後重新開機系統。

  6. 如果系統仍無法開機,請嘗試下列步驟:

    1. 執行診斷程式,確保硬體運作正常。

      1. 如果發生任何故障,請聯絡技術支援部門,並告知錯誤訊息和驗證代碼。

      2. 若通過診斷,請接著繼續執行下列步驟。

    2. 在終端機內執行以下命令:

      ls -lah

    3. 如果您收到 drwxrwxrwt 以外的結果,請執行下列命令:

      chown username: username .Xauthority

    4. 如果沒有效果,請執行:

      sudo chmod a+wt /tmp

    5. 您也可以嘗試執行:

      dpkg-reconfigure lightdm

    6. 如果這些嘗試皆無效,您應該考慮從系統映像或備份媒體復原。


其他資訊:

注意:軟體支援由 Canonical 透過以下方法提供:
技術支援由 Dell 提供:
注意:您是否擁有 Dell 筆記型電腦?如果您筆記型電腦無法啟動,您可以將您的筆記型電腦送交保固內維修,我們會找出問題並加以解決。本服務目前適用於加拿大、法國、德國、義大利、荷蘭、波蘭、英國及美國。

Article Properties


Affected Product

Inspiron

Last Published Date

31 May 2024

Version

6

Article Type

Solution