Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

USB重灌系統出現「Error 15: File Not Found」?GRUB 引導修復完整教學

編輯:系統常見問題解答

使用 USB 重灌 Linux 或多重開機系統後,重開機卡在 GRUB 畫面顯示 Error 15: File not found,代表開機載入器在指定分區找不到核心映像檔(vmlinuz)或初始映像檔。這與 error 15: file not found 同源,修復邏輯完全一致:進入 GRUB 命令列手動指定核心路徑開機 → 進入系統後永久修復設定檔。

錯誤成因

  • menu.lst / grub.cfg 中 root=、kernel、initrd 路徑錯誤(分區代號變動、UUID 不符)。
  • 核心更新後 update-grub 未執行或失敗。
  • 分區表調整導致 (hd0,0) 對應錯誤。

GRUB Legacy 命令列救援步驟(圖文對應)

  1. 開機 GRUB 選單 → 按任意鍵停止 → 按 C 進入命令列。
  2. root (hd0,0) → Enter(設定根分區,通常第一顆硬碟第一分區)。
  3. kernel (hd0,0)/boot/ → 按 Tab 列出可用核心 → 選擇正確版本(如 vmlinuz-2.6.9-42.ELsmp)。
  4. 完整輸入:
    kernel (hd0,0)/boot/vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ vga=0x317 → Enter
  5. initrd (hd0,0)/boot/initrd-2.6.9-42.ELsmp.img → Enter
  6. boot → Enter 開機進入系統。

GRUB Error 15 錯誤畫面

進入系統後:永久修復 GRUB 設定

  1. 編輯 /boot/grub/menu.lst,修正 kernel、initrd 路徑,root= 建議用 UUID=xxxx(blkid 查詢)。
  2. 執行 grub-install /dev/sda 重寫 MBR。
  3. 重開機驗證選單正常。

GRUB 2 (現代主流) 救援指令差異

set root=(hd0,1)
linux /boot/vmlinuz-xxx root=UUID=xxxx ro quiet
initrd /boot/initrd-xxx.img
boot

語法改用 set root、linux 取代 kernel,其餘邏輯相同。

避坑提醒

  • 分區代號 (hd0,0) 從 0 開始,(hd0,0) = 第一顆硬碟第一分區(通常是 /boot 或 /)。
  • 若有獨立 /boot 分區,kernel 路徑為 /vmlinuz-xxx(無 /boot 前綴)。
  • 平時備份 /boot/grub/ 目錄,關鍵時刻複製還原最快。
Copyright © Windows教程網 All Rights Reserved