Doc. # 1-0002931 | |||
---|---|---|---|
Date Updated | 02-03-2005 | Date Created | 07-27-2000 |
Document Type | Knowledge Base | Related OS | |
Related Product | PCA-6751/ PCA-6752/ PCA-6753/ PCA-6770/ PCI-6771/ PCM-4823/ PCM-4825/ PCM-5820/ PCM-5862E/ PCM-9570/ POS-560/ POS-562 |
My machine has 128 MB of RAM, however Linux only sees 64 MB of it. | |||
---|---|---|---|
Solution:
On most systems, the reason is that the BIOS has a limit of how much memory it
will tell the OS is present in the machine, even
though the board can have more. Common limits seen with this problem are 16M,
32M, 64M, and 128M. To get around this, we
need to explicitly specify the amount of memory to the kernel at boot time via
the mem=< actual memory goes here > flag.
In the following example, we have a 128M machine but only 64M are being seen by
Linux. At the LILO prompt, we type
LILO: linux mem=128M
After the machine boots, we use the free command to see if the larger amount of
memory was recognized by the kernel. If so,
we can add an append line to the /etc/lilo.conf file and rerun LILO to make it
happen permanently. The example from above could
look like the following:
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"
Do not forget to run /sbin/lilo -v after editing the file.
|