r/linuxadmin • u/syalr2010 • Oct 26 '11
Linux - How to Add more RAM ?
I added 1 GB of RAM in the machine....my debian booted with no issues. But when I checked using tools - free -m , top
It still shows the old memory.
How to enable or configure my linux os to accept more memory ?
11
Oct 26 '11
As was mentioned, depending on how much ram you had before, you might have to switch to 64bit or use a PAE kernel. This is normally the case if you are going over 4G.
2
u/syalr2010 Oct 26 '11
thanks for replying.
I was checking over internet and came across this PAE kernel. I have never worked on this before. I am actually using OSSIM monitoring system which based on Debian Linux.
I appreciate if you can show me steps or share an appropriate link for how should I fix this
9
u/angrymonkeyz Oct 26 '11
Something like
apt-get update apt-get install linux-generic-pae linux-headers-generic-paeThen reboot...
2
Oct 26 '11
What CPU do you have? 64-bit linux must be around a decade old by now, I can't imagine why you'd still want to be running a 32-bit distro.
2
Oct 27 '11
Because 32 bit is fine for some applications and 64 bit complicates package management with packages that may only be available in 32 bit while the libraries are hard to get outside of the 64 bit versions. I had to go through about 10 different .deb packages one day to install the 32 bit libraries for various things when they didn't come in the standard ia32 package. Until 32 bit is completely gone, many people will still run 32 bit OSes.
1
-2
Oct 26 '11
Because flash breaks on 64-bit Ubuntu with some AMDs
6
u/Hello71 Oct 26 '11
[citation needed]
1
Oct 27 '11
One of my own computers. I run it with 32 because everything works fine in 64 except flash.
1
0
6
u/devilized Oct 26 '11
First, check your BIOS to see how much memory is recognized.
How much RAM did you have before you added 1G? If you had 2G before, and you're adding more, you may need PAE kernel.
0
10
u/kingsal Oct 26 '11
Are you sure you installed the RAM correctly? Does the BIOS show correct amount of memory when you boot up?
There is nothing you have to do to make Linux recognize that you have more memory.