linux32-bit operating system supports large memory

Source: Internet
Author: User

The 32bit Linux operating system supports a maximum of 4GB of memory, so how can it support larger memory?

We need to install the operating system KENNEL-PAE kernel package, allowing the system to support PAE Physical Address Extension: http://pan.baidu.com/share/link?shareid=392468&uk= 436421975 download is the RPM installation package, if the host can surf the Internet, you can use the Yum command installation, more time-saving! Below I use Centos5.5-32bit to demonstrate:

First, check to see if the Linux system is installed to see if the Kernel-pae-devel and KERNEL-PAE packages are installed:

[[email protected] ~]# Rpm-qa |grep kernel//My test machine has installed these 2 packages

Kernel-headers-2.6.18-194.el5

Kernel-2.6.18-194.el5

Kernel-pae-2.6.18-371.11.1.el5

Kernel-devel-2.6.18-194.el5

Kernel-pae-devel-2.6.18-371.11.1.el5

1.yum Mode installation:

[[email protected] ~]# Yum install kernel-pae//directly


2. Modify the/etc/grub/guub.conf file:

[Email protected] ~]# cat/etc/grub.conf

#boot =/DEV/SDA

default=0//need to change to "0" here

Timeout=5

Splashimage= (hd0,0)/grub/splash.xpm.gz

Hiddenmenu

Title CentOS (2.6.18-371.11.1.EL5PAE)//appears this indicates that the installation of PAE succeeded

Root (hd0,0)

Kernel/vmlinuz-2.6.18-371.11.1.el5pae ro root=label=/rhgb quiet

Initrd/initrd-2.6.18-371.11.1.el5pae.img

Title CentOS (2.6.18-194.EL5)

Root (hd0,0)

Kernel/vmlinuz-2.6.18-194.el5 ro root=label=/rhgb quiet

Initrd/initrd-2.6.18-194.el5.img

3. Reboot the system:

Init6


4. View the version of kernel:

[Email protected] ~]# uname-a

Linux localhost.localdomain 2.6.18-371.11.1.el5pae #1 SMP Wed Jul 15:54:19 EDT i686 i686 i386 gnu/linux


5. View system Memory:

[Email protected] ~]# free-m

Total used free shared buffers cached//has been supported to more than 4GB!

mem:4657 549 4108 0 31 355

-/+ buffers/cache:162 4494

swap:4031 0 4031

over~


linux32-bit operating system supports large memory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.