Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2451067
  • 博文数量: 225
  • 博客积分: 11622
  • 博客等级: 上将
  • 技术积分: 7358
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-18 10:05
个人简介

我们的生活是多么美好呀!!!!

文章存档

2013年(2)

2012年(9)

2011年(59)

2010年(8)

2009年(35)

2008年(112)

分类: LINUX

2011-03-17 09:05:59

安装 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 即可

阅读(898) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~