linux5_32位安装PAE支持3G以上内存

安装PAE:
[root@10_32_66_86 yum.repos.d]# yum install kernel-PAE
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package kernel-PAE.i686 0:2.6.18-194.el5 set to be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================
Package Arch Version Repository Size
======================================================================================================
Installing:
kernel-PAE i686 2.6.18-194.el5 base 17 M

Transaction Summary
======================================================================================================
Install 1 Package(s)
Upgrade 0 Package(s)

Total download size: 17 M
Is this ok [y/N]: y
Downloading Packages:
kernel-PAE-2.6.18-194.el5.i686.rpm | 17 MB 00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : kernel-PAE 1/1

Installed:
kernel-PAE.i686 0:2.6.18-194.el5

Complete!
[root@10_32_66_86 yum.repos.d]# vim /boot/grub/grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
# initrd /initrd-version.img
#boot=/dev/sda
default=0 //修改default值为0
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Red Hat Enterprise Linux Server (2.6.18-194.el5PAE) //带有PAE字样表明安装成功
root (hd0,0)
kernel /vmlinuz-2.6.18-194.el5PAE ro root=/dev/VolGroup00/LogVol00 rhgb quiet< /FONT> < /FONT>
initrd /initrd-2.6.18-194.el5PAE.img
title Red Hat Enterprise Linux Server (2.6.18-194.el5)
root (hd0,0)
kernel /vmlinuz-2.6.18-194.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet< /FONT> < /FONT>
initrd /initrd-2.6.18-194.el5.img

重启之后,查看物理内存:
[root@10_32_66_86 ~]# free -m
total used free shared buffers cached
Mem: 6082 364 5718 0 26 274
-/+ buffers/cache: 63 6019
Swap: 2996 0 2996
[root@10_32_66_86 ~]#

posted @ 2024-01-23 16:42  ZhengLiming  阅读(11)  评论(0编辑  收藏  举报