I'm Aoddy.

If you lose yourself, you lose everything. — Michael Scofield

How to enable RAM more than 4 GB on CentOS 5.

by aoddy on December 14, 2008

After I had increased the memory in my server from 2 GB to 4 GB, I found my server could see the memory about 3.5 GB only. I found this problem happened from my Kernel didn’t support so I would like to upgrade the Kernel so as to use my memory at 4 GB.

And these are steps for solve this problem.


1. Upgrade the Kernel.

# yum install kernel-PAE

2. If you would like to compile some software such as VMWare, you should install kernel-PAE-devel too. (Optional)

# yum install kernel-PAE-devel

3. Change DEFAULTKERNEL=kernel-PAE in file /etc/sysconfig/kernel such as

# UPDATEDEFAULT specifies if new-kernel-pkg should make
# new kernels the default
UPDATEDEFAULT=yes
 
# DEFAULTKERNEL specifies the default kernel package type
DEFAULTKERNEL=kernel-PAE

4. Reboot

 

Related Posts

2 thoughts on “How to enable RAM more than 4 GB on CentOS 5.

  1. RK says:

    Is this for a 32 bit server?
    I just checked my 64 bit server and it shows 4GB RAM as it should.

  2. aoddy says:

    Hey RK,
    Yes sir, this is a solution for 32 bits server. :D

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">