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.rpm
rpm -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 quiet
initrd /initrd-2.6.18-8.el5PAE.img
修改启动顺序,将 default=1 改为 default=0 即可

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值