RHEL5關於大記憶體的問題

來源:互聯網
上載者:User
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即可

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.