2012-10-02

RHEL / CentOS / Fedora 支援 4GB 記憶體的方法

RHEL / CentOS / Fedora 支援 4GB 記憶體的方法

目前我所使用的 CentOS 5.0 無法完全的顯示 4GB 記憶體,大概衹有顯示 3GB 多一點,很多32位元的作業係統都有類似的問題,但是我明明就是 4GB 的記憶體??

kernel-PAE 這個套件解決我的問題,
安裝之後就可以完整支援 4GB 的記憶體了,

安裝方式很簡單

# yum install kernel-PAE

確認一下 /boot/grub/grub.conf 裡面的設定,
剛剛安裝的 kernel-PAE 應該在裡面了

title CentOS (2.6.18-92.1.22.el5PAE)
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-92.1.22.el5PAE ro root=/dev/sda1 rhgb quiet
initrd /boot/initrd-2.6.18-92.1.22.el5PAE.img

要選它,當然,重新開機後才能生效


If you have 4 GB or more RAM use the Linux kernel compiled for PAE capable machines. Your machine may not show up total 4GB ram. All you have to do is install PAE kernel package.

This package includes a version of the Linux kernel with support for up to 64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).
The non-PAE kernel can only address up to 4GB of memory. Install the kernel-PAE package if your machine has more than 4GB of memory (>=4GB).

沒有留言:

張貼留言