Red Hat ENTERPRISE LINUX WS 2.1 Installation Manual page 84

Table of Contents

Advertisement

74
Appendix C. Troubleshooting Your Installation of Red Hat Enterprise Linux WS
C.4.7. Is Your RAM Not Being Recognized?
Sometimes, the kernel does not recognize all of your memory (RAM). You can check this with the
following command:
cat /proc/meminfo
Find out if the displayed quantity is the same as the known amount of RAM in your system. If they
are not equal, add the following line to the
depending on the boot loader you installed:
append="mem=xxM"
Replace xx with the amount of RAM you have in megabytes. Remember that per-image append
lines completely overwrite the global append line. It might be worth adding this to the per-image
descriptions, as shown in this example:
append="mem=128M"
In
/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 Red Hat Linux (2.4.6-2)
root (hd0,0)
kernel /vmlinuz-2.2.6-2 ro root=/dev/hda3
append="mem=128M"
Once you reboot, the changes made to
In
/etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
image=/boot/vmlinuz-2.2.12-20
label=linux
root=/dev/sda1
initrd=/boot/initrd-2.2.12-20.img
read-only
append="mem=128M"
Remember to run
/sbin/lilo -v
Note that you can also produce the same effect by actually passing this option when you are specifying
the label/image to use in GRUB or LILO. For example if you had a label named linux, at the boot
loader menu you could type:
linux mem=xxM
Remember to replace xx with the amount of RAM in your system.
, the above example would look similar to the following:
grub.conf
, the above example would look similar to the following:
after changing
/boot/grub/grub.conf
will be reflected on your system.
/etc/lilo.conf
or
/etc/lilo.conf
.
file,

Advertisement

Table of Contents
loading

Table of Contents