Enable CentOS 32-bit support for memory larger than 4 GB

Source: Internet
Author: User
When a CentOS5.6 machine needs to upgrade the memory to 6 GB, the system is found to be 32-bit, so the search can enable the 32-bit system to support 4 GB memory or above. How does one make linux/Centos32-bit support 8 GB memory? The kernel-based PAE installation supports a method larger than 4 GB memory. Linux/Centos32bitOS does not support 4 GB memory or above by default. you can install a kernel-PAE patch to solve this problem. you 'd better back up a snapshot of the virtual machine before the operation to avoid unexpected recovery.

When a CentOS 5.6 machine needs to upgrade the memory to 6 GB, the system is found to be 32-bit, so the search can enable the 32-bit system to support 4 GB memory or above.

How does one enable 32-bit linux/Centos to support 8 GB memory? The kernel-based PAE installation supports a method larger than 4 GB memory. Linux/Centos 32bit OS does not support 4 GB memory or above by default. you can install a kernel-PAE patch to solve this problem. it is best to back up a snapshot of the virtual machine before the operation, in case of an accident, it can be restored to normal.

The following are the steps:

[Root@www.ctohome.com] # freetotal used freeshared buffers cachedMem: 3881968 637928 3244040 0 111292 461680-/+ buffers/cache: 64956 3817012 Swap: 4192924 0 4192924 [root@www.ctohome.com] # yum install kernel-PAELoaded plugins: fastestmirrorLoading mirror speeds from cached hostfilecentos-burstnet | 1.1 kB updates-burstnet | 1.9 kB Setting up Install ProcessResolving Dependencies --> Running Transaction check ---> Package kernel-PAE.i686 0: 2. 6.18-194.32.1.el5 setto be installed --> Finished Dependency ResolutionDependencies Resolved ==================== ========================================================== ========================================================== ========================================================== ========================== Package Arch Version Repository Size ======== ======================================================== ========================================================== ========================================================== ========================================================== =========== Installing: kernel-PAE i686 2.6.18-194.32.1.el5 updates-burstnet 17 MTransaction Summary ================== ========================================================== ========================================================== ========================================================== ====================================== Install 1 Package (s) Upgrade 0 Package (s) Total download size: 17 MIs this OK [y/N]: yDownloading Packages: kernel-PAE-2.6.18-194.32.1.el5.i686.rpm | 17 MB 00:01 Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning TransactionInstalling: kernel-PAE 1/1 Installed: kernel-PAE.i686 0: 2. 6.18-194.32.1.el5 Complete! [Root@www.ctohome.com] # freetotal used freeshared buffers cachedMem: 3881968 637928 3244040 0 111292 461680-/+ buffers/cache: 64956 3817012 Swap: 4192924 0 4192924 [root@www.ctohome.com] # vi/boot/grub. confdefault = 0 # (change default = 1 to default = 0) timeout = 5 splashimage = (hd0, 0)/grub/splash.xpm.gz hiddenmenutitle CentOS (2.6.18-194.32.1.el5PAE) # (with this line of PAE, it indicates that the pae kernel is successfully installed) root (hd0, 0) kernel/vmlinuz-2.6.18-194.32. 1. el5PAE ro root = LABEL =/initrd/initrd-2.6.18-194.32.1.el5PAE.imgtitle CentOS (2.6.18-194.32.1.el5) root (hd0, 0) kernel/vmlinuz-2.6.18-194.32.1.el5 ro root = LABEL =/initrd/initrd-2.6.18-194.32.1.el5.imgtitle CentOS (2.6.18-194. el5) root (hd0, 0) kernel/vmlinuz-2.6.18-194.el5 ro root = LABEL =/initrd/initrd-2.6.18-194.el5.img [root@www.ctohome.com] # reboot (restart the server here, pray, sometimes the motherboard or Nic is not supported, then you can only contact the data center.) Broadcast me Ssage from root (pts/0) (Thu May 19 18:52:34 2011): The system is going down forreboot NOW! [Root@www.ctohome.com] # freetotal used freeshared buffers cachedMem: 8295488 215248 8080240 0 19460 142592-/+ buffers/cache: 53196 8242292 4192924 Swap: 4192924 0

The upgrade is complete and supports large memory.


Related Article

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.