Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2065814
  • 博文数量: 32
  • 博客积分: 10010
  • 博客等级: 上将
  • 技术积分: 8577
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-18 18:22
文章分类

全部博文(32)

文章存档

2011年(1)

2010年(3)

2008年(28)

我的朋友

分类: WINDOWS

2008-04-10 22:03:23

程序总算可以使用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

阅读(1700) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~