Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> 電腦軟體教學 >> 系統工具

VirtualBox 安裝 CentOS 報錯「please use a kernel appropriate for your cpu」:啟用 PAE/NX 秒解決

編輯:系統工具

VirtualBox 安裝 CentOS 6.x 等舊版 Linux 時啟動報錯:
This kernel requires the following features not present on the CPU:
Unable to boot – please use a kernel appropriate for your CPU.

原因:客體系統內核需 PAE(Physical Address Extension)與 NX(No-eXecute)CPU 特性,但虛擬機默認未啟用。

圖文解決步驟

  1. VirtualBox 主界面選中目標虛擬機 → 點 「設置」
  2. 左側選 「系統」 → 右側選 「處理器」 標籤
  3. 勾選 「啟用 PAE/NX」(Extended Features 區域)
  4. 確定 → 重新啟動虛擬機 → 正常進入安裝界面

關鍵提醒

  • 若「啟用 PAE/NX」呈灰色不可勾選 → **先關閉正在運行的虛擬機/安裝界面**,再進入設置修改
  • CentOS 7+ / 新版 Linux 內核通常不強制要求 PAE,此問題多見於 32位舊版發行版
  • 宿主機 CPU 必須硬件支援 PAE/NX(2003 年後主流 CPU 均支援)

原理補充

  • PAE:允許 32位 CPU 訪問 >4GB 物理內存,舊版 Linux 內核編譯時預設開啟 PAE 支援
  • NX:硬件級緩衝區溢出保護,標記內存頁不可執行,增強安全性
  • VirtualBox 預設關閉以兼容極舊 CPU,現代硬件建議常開

一鍵啟用 PAE/NX,舊版 Linux 虛擬化安裝無障礙。

Copyright © Windows教程網 All Rights Reserved