有台PC,Dell optiplex 755系统为Rhel5 update1 原来1G内存,现在需要装4G内存, 把2根2G的内存插上去后,检查主板已经认出了4G内存,但RHEL5只能认出3G多一点点。这个时候我们需要装PAE内核。
1 首先安装pae内核,
# rpm -ivh kernel-PAE-2.6.18-53.el5.i686.rpm
2 然后修改启动选项,让系统使用pae内核启动
# vim /boot/grub/menu.lst
default= 那一行, PAE内核如果在***就改成 default=0
3 重启linux,这时候你应该可以看到4G的内存了
修改前
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘https://s9.51cto.com/oss/202207/19//zb_users/upload/2022/10/24/20221017143133-634d6745dd461.jpg’);}” alt=”” src=”/zb_users/upload/2022/10/24/20221017143133-634d6745dd461.jpg” onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=”0″>
修改后
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=’hand’; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” onclick=”if(!this.resized) {return true;} else {window.open(‘https://s8.51cto.com/oss/202207/19//zb_users/upload/2022/10/24/20221017143135-634d67474237c.jpg’);}” alt=”” src=”/zb_users/upload/2022/10/24/20221017143135-634d67474237c.jpg” onload=”if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=’Click here to open new window\nCTRL+Mouse wheel to zoom in/out’;}” border=”0″>
转载请注明:IT运维空间 » 运维技术 » 让RHEL5支持大于4G内存
发表评论