六爻卦六十四卦图解:Debian支持4G内存

来源:百度文库 编辑:中财网 时间:2024/05/02 05:06:29
Debian支持4G内存2010-10-11 21:11程序总算可以使用4G的内存了,不用重新build内核就可以搞定。

1、查看当前系统版本
执行uname -a
Linux ff 2.6.18-6-686 #1 SMP Sun Feb 10 22:11:31 UTC 2008 i686 GNU/Linux
其中2.6.18-6-686为内核版本号

2、搜索可安装的版本
执行apt-cache search linux bigmem
linux-headers-2.6.18-5-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-5-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-headers-2.6-686-bigmem - Header files for Linux 2.6 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-4-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-headers-2.6.18-6-686-bigmem - Header files for Linux 2.6.18 on PPro/Celeron/PII/PIII/P4
linux-image-2.6-686-bigmem - Linux kernel 2.6 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-4-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-2.6.18-6-686-bigmem - Linux 2.6.18 image on PPro/Celeron/PII/PIII/P4
linux-image-686-bigmem - Linux kernel image on PPro/Celeron/PII/PIII/P4

3、切换为root权限安装
找到对应版本的安装包
执行aptitude install linux-image-2.6.18-6-686-bigmem

4、新内核加到开机启动菜单
执行update-grub
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... none found, skipping ...
Found kernel: /boot/vmlinuz-2.6.18-6-686-bigmem
Found kernel: /boot/vmlinuz-2.6.18-6-686
Found kernel: /boot/vmlinuz-2.6.18-4-686
Updating /boot/grub/menu.lst ... done

5、重启系统
执行reboot

6、再次检查一下系统版本
执行uname -a
Linux ff 2.6.18-6-686-bigmem #1 SMP Sun Feb 10 22:21:07 UTC 2008 i686 GNU/Linux