I have run into this situation too many times now… Ubuntu wont accept all of the 4gb RAM that my laptop has.
free -m shows that its using only 3. This week I checked out a bunch of Linux distributions (like SimplyMEPIS, Fedora, Pardus and of course the new Ubuntu Lucid Lynx). Pardus was awesome but I went right back to Ubuntu anyways. So I had to reinit all of the 4gb RAM each time I went Ubuntu.
Here is what I did based on this link, I am putting it here so that I can quickly refer to it when I try out some distros again before coming back to Ubuntu. Ideally I d like to use Windows through VirtualBox on Ubuntu and have it run on its own desktop space.
So for using all of the RAM we need to install the PAE enabled kernel
sudo apt-get update
sudo apt-get install linux-headers-server linux-image-server linux-server
And then reboot.



