RHEL5關於大記憶體的問題安裝RHEL 5,硬體為4G記憶體,安裝完成後顯示為 3.2G原因,沒有安裝 kernel-PAE-2.6.18-8.el5.i686.rpm軟體包。RHEL 5的文檔中關於核心的說明: Red Hat Enterprise Linux contains the following kernel packages kernel:Contains the kernel for multi-processor systems.For x86 system,only the first 4GB of RAM is used.As such,x86systems with over 4GBof RAM should use the kernel-PAE.kernel-devel:Contains the kernel headers and makefiles sufficient to bulid modules against the kernel package.kernel-PAE(only for i686systems):This package offers the following key configuration options (in addition to the options already enabled for the kernel package) 1.Support for over 4GB of RAM (up to 64GB for the x86) 2.PAE(Physical Address Extension)or 3-level paging on x86 processors that support PAE 3.4GB/4GB split:4GB of virtual address space for the kernel an almost 4GB for each userprocess on x86systtems另外還有以下核心:kernel-PAE-devel,kernel-doc,kernel-headers,kernel-xen,kernel-xen-devel.解決:主要需要2個方面設定1.bios:在bios裡開啟對大記憶體的設定2.安裝支援大記憶體的kernel安裝kernel-PAE-2.6.18-8.el5.i686.rpmrpm -ivh kernel-PAE-2.6.18-8.el5.i686.rpm 安裝完後,vi /etc/grub.conf 如果看到如下代碼 代表PAE核心已經安裝好了 title Red Hat Enterprise Linux Server (2.6.18-8.el5PAE)root (hd0,0)kernel /vmlinuz-2.6.18-8.el5PAE ro root=LABEL=/ rhgb quietinitrd /initrd-2.6.18-8.el5PAE.img修改啟動順序,將default=1改為default=0即可