With older
Linux distributions you needed to manually inform the kernel that
is had more memory than 64MB (not sure on current new Distributions).
Increasing the amount of memory in your Linux system is rather straight
forward, simply follow these few instructions (it shouldn't be necessary
to increase your swap disk space, in fact your could probably decrease
it depending on your memory size):
1. With your
machine powered off, open the case and install the appropriate memory
into the system in the correct memory slots.
2. Power on
the machine, once the system boots log into your system with the
root account.
3. Open the
/etc/lilo.conf file with your favourite text editor and you should
find something like this:
prompt
timeout=50
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
#message=/boot/message
lba32
image=/boot/vmlinuz-2.4.9-34
label=linux
root=/dev/hda2
read-only
initrd=/boot/initrd-2.4.9-34.img
You need to
add the line append="mem=XXXM"
(where XXX is the new total of memory, in megabytes) so it looks
like this:
image=/boot/vmlinuz-2.4.9-34
label=linux
root=/dev/hda2
read-only
initrd=/boot/initrd-2.4.9-34.img
append="mem="XXXM"
4. Now that
you have entered the appropriate information in your lilo.conf
file you will need to reload lilo by typing /sbin/lilo,
this will check your config file for correct syntax and then load
the changes.
When you have
completed this your system should recognise the total amount of
memory (including the new memory), you can double check this by
typing in free which
will give you information on your memory (such as total, used and
free etc).
|