Skip to main content

How to get 4GB in Ubuntu 32 bit

In case you added 4Gb or more of memory to your ubuntu 32 bit OS, you will notice that "free -m" only reports the OS using around 3.3Gb. This is behavior is related to technical hardware issue of old 32 Bit systems.

The 64 bit version of Ubuntu does not have this problem, it will detect the full memory.
But if you running 32 bit version, there is a work around to make all 4Gb available to the OS.

- Install the PAE enabled Kernel

sudo apt-get update
sudo sudo apt-get install linux-headers-server linux-image-server linux-server


- Reboot

sudo reboot

Comments

  1. Strangely, this did not work for me in Jaunty. Yes, the BIOS shows 4GB. FREE shows 3003052 total using the 'server' kernel. I think that is a little less than it showed with the regular kernel.

    The HWINFO --memory command shows that it thinks there is: Memory Size: 2 GB + 768 MB

    Still digging on the problem.

    ReplyDelete
  2. run "uname"
    $ uname -a
    Linux lafa-t61p 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux

    You should see server in the name of the kernel.

    $ "free" should display 4GB
    total used free shared buffers cached
    Mem: 4052856 3753792 299064 0 361160 1476888
    -/+ buffers/cache: 1915744 2137112
    Swap: 6225176 130556 6094620

    ReplyDelete

Post a Comment

Popular posts from this blog

Using a socks proxy

#ssh to a machine on the network you need access and start # a local socks server ssh -D 9999 httpserver.blah.com
# setweb browser proxy to proxy: localhost:9999
# To use other apps with socks install sudo apt-get install tsocks
# Change config file to (remove everything else) /etc/tsocks.conf server = 127.0.0.1 server_port = 9999
# ssh to a machine tsocks ssh -X httpserver.blah.com
# eclipse to a machine tsocks eclipse
reference: using tsocks for tunneling cmds lines and everything else http://www.plenz.com/tunnel-everything

Ubuntu 17.10 running on Lenovo Yoga 920 with HiDPI and touch screen support

I resized the windows partiton to the minimun necessary (100G), disabled secure boot and I also remove bitlocker key encryption on windows drive, this allows Ubuntu to see that partition and allow windows to boot with secure boot disabled, without complaning.

This makes everything go easier if you want to keep windows arround on the same disk and dual boot with Ubuntu, you should do this it helps a lot. Even after you disable this, you can re-enable it back, both secure boot and bitlocker key encryption.

Before installing on windows updates resize your windows partition, installing all windows updates will not alow you to gain as much space as possible. After resizing the windows partition to the minimium size you want, install all windows updates, bios and driver updates.

I upgraded all windows updates to the latest version and all drivers to the latest version and upgraded the bios on windows to the latest version before installing Ubuntu, I don't think this makes much differenc…

Chrome OS advanced commands, settings, expert features

Chrome OS advanced commands, settings, expert features All features described here where tested on a Asus C302 Chromebook, but should work on all Chromebooks, screenshots are from the Asus C302.
Recovery Install new factory image for your chrome book
https://support.google.com/chromebook/answer/1080595?hl=en

Perform a Hard Reset Go to settings select the reset section, you can do a reset or a powerwash.

Force-Boot Into Recovery Mode If you’d like to reinstall Chrome OS and you don’t see the “Chrome OS is missing or damaged” message on your screen, you can force your Chromebook to boot into recovery mode.

First, turn off your Chromebook. Next, press Esc + Refresh on the keyboard and hold down the Power button. Your Chromebook will boot straight to recovery mode.

Enable Canary First, turn off your Chromebook. Press Esc+Refresh+Power and, when the recovery prompt appears, press Ctrl+D and accept the prompt that appears to disable boot verification. When the Chromebook reboots, press Ctrl…