Pages

Wednesday, December 10, 2008

Upgrade Kernel CentOS 5.x nhận 4GB RAM ++

Upgrade Kernel CentOS 5.x nhận 4GB RAM ++

Check kernerl version :

Code:

uname -r

2.6.18-8.1.3.el5

Code:

yum info kernel-PAE

Available Packages
Name : kernel-PAE

Summary: The Linux kernel compiled for PAE capable machines.



Description:
This package includes a version of the Linux kernel with support for up to
64GB of high memory. It requires a CPU with Physical Address Extensions (PAE).

The non-PAE kernel can only address up to 4GB of memory.

Install the kernel-PAE package if your machine has more than 4GB of memory.

Code:

yum install kernel-PAE

Then edit your grub.conf
Code:

pico /etc/grub.conf

#boot=/dev/sda
default=1
timeout=5
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title CentOS (2.6.18-53.1.13.el5PAE)
root (hd0,0)
kernel /vmlinuz-2.6.18-53.1.13.el5PAE ro root=LABEL=/
initrd /initrd-2.6.18-53.1.13.el5PAE.img

Change default=1 to default=0

Then save, reboot server

No comments: