8.4.6. 你的内存不能够被识别吗?
有时,内核不能识别您的全部内存(RAM)。您可以用 cat /proc/meminfo
命令来校验。
查看一下所显示的数量是否与您所知的系统内存相同。如果不同,在 /boot/grub/grub.conf
文件中添加以下一行:
mem=xx
M
把 xx
替换成你拥有的内存数量(以 MB 为单位)。
在 /boot/grub/grub.conf
文件中,以上的例子与下面相似:,
# NOTICE: You have a /boot partition. This means that
# all kernel paths are relative to /boot/
default=0
timeout=30
splashimage=(hd0,0)/grub/splash.xpm.gz
title Fedora (2.6.27.19-170.2.35.fc10.i686)
root (hd0,1)
kernel /vmlinuz-2.6.27.19-170.2.35.fc10.i686 ro root=UUID=04a07c13-e6bf-6d5a-b207-002689545705 mem=1024M
initrd /initrd-2.6.27.19-170.2.35.fc10.i686.img
重新引导后,grub.conf
文件中的改变将会反映在您的系统中。
当您已载入 GRUB 引导屏幕后,键入 e
来编辑。 您所选定的引导标签的配置文件中的项目列表就会在您面前出现。
选择开头为 kernel
的行,然后键入 e
来编辑这一引导项目。
在 kernel
行的末尾,添加:
mem=xx
M
这里的 xx
与你系统的内存数量相同。
Press Enter to exit edit mode.
Once the boot loader screen has returned, type b
to boot the system.
Itanium users must enter boot commands with elilo
followed by the boot command.
请记住将 xx
替换成您系统的内存数量。按 Enter 键来引导。