Clone
1.5 Kernel Panic:VFS 無法掛載 root fs
jsc-wiki edited this page 2026-10-14 06:27:29 +00:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Kernel Panic:VFS 無法掛載 root fs

第1章 系統維護 · 來源:JSC 知識庫

簡介

當核心(Kernel)升級不完整或映像檔損壞時,開機會出現 Kernel Panic - not syncing: VFS: Unable to mount root fs on unknown-block 而無法掛載根檔案系統。本文記錄修復損壞套件、移除問題核心並重新安裝正常核心的步驟。

需在可開機的環境(例如選擇舊版核心開機,或進入救援模式)下執行以下指令。

步驟

1. 修復損壞的 Kernel

修復先前安裝中斷、相依未滿足的套件。

sudo apt -f install

2. 列出所有 Kernel

列出系統中已安裝的核心映像。

dpkg --list | grep linux-image

3. 移除低版本到無法移除

逐一移除有問題的舊版核心(將 x.xx.x-xxx 換成實際版本號),直到無法再移除為止。

sudo apt purge -y linux-image-x.xx.x-xxx-generic

4. 更新 GRUB 2

重新產生開機選單。

sudo update-grub2

5. 更新 Kernel 到現在的版本

更新套件並重新安裝最新核心。

sudo apt update && sudo apt upgrade -y

6. 試著重啟看看是否正常

sudo reboot

← 1.4 進入 busybox 問題 · 本章目錄 · 全書目錄 · 1.6 常用工具 →