Enable 4g memory in 32-bit ubuntu

Discussion in 'macOS' started by gamepoint, Nov 5, 2010.

  1. gamepoint

    gamepoint MDL Senior Member

    Jan 4, 2010
    457
    59
    10
    #1 gamepoint, Nov 5, 2010
    Last edited by a moderator: Apr 20, 2017
    Many of us (ubuntu users) use 32-bit ubuntu because of the availability of the Drivers n Softwares.But 32-bit architecture doesnt support 4g ram:(.So it's a waste of money and RAM (of course).

    So,after surfing searching for solution, i finally found the solution to the problem.This tutorial is to enable 32-bit ubuntu system to use all of 4g RAM.

    You can check your usable RAM at System-Administration-System Monitor-System Tab.

    So basically what we have to do is to change the kernel of the existing ubuntu to PAE kernel.

    Tutorial starts here-

    The PAE enabled kernel can be installed using the Synaptic Package Manager (accessible from the System menu under Administration -> Synaptic Package Manager): The relevant packages are called "linux-generic-pae" and "linux-headers-generic-pae"

    Seearch for PAE

    Alternatively they can be installed using either apt-get or aptitude through the terminal:

    Code:
    sudo apt-get install linux-generic-pae linux-headers-generic-pae
    After a reboot the PAE kernel should be booted as the default option in the GRUB boot menu.

    To confirm that PAE was enabled correctly you can use the system monitor form the System menu under Administration -> System Monitor. The first tab shows usable memory.


    Removing non-PAE kernels

    Then, You will notice there are 2 kernel ie : newly installed PAE, and the older generic with no PAE at the end of the name.So if you want to remove it.Here are the steps

    If PAE was successfully enabled you may want to remove the meta-packages for the normal kernel, to disable unnecessary updates to the non-PAE kernels

    Code:
    sudo apt-get remove linux-generic linux-image-generic linux-headers-generic
    OR (i tried this one)

    If you want to remove all of the old kernels from your boot menu, it seems like you have to do it all manually:

    Code:
    sudo apt-get remove linux-image-<version number>-generic linux-headers-<version number>-generic
    Replace the <version number> with your Kernel Version. Mine is Kernel Linux 2.6.35-22-generic (before i upgrade it)

    So, mine will be like this

    Code:
    sudo apt-get remove linux-image-2.6.35-22-generic linux-headers-2.6.35-22-generic
    Restart. the old kernel will be removed.

    Done.

    If this post is useful to you.Please hit the Thanks button below.TQ :D:D
     
  2. gamepoint

    gamepoint MDL Senior Member

    Jan 4, 2010
    457
    59
    10
    u r sure a true MDL OS testing Specialist~! HAHA
     
  3. sps

    sps MDL Member

    Feb 6, 2008
    126
    33
    10
    If you install ubuntu 32 bit with a live internet connection and have 4gig or more RAM, it will automatically download/install the PAE kernel by default.
     
  4. gamepoint

    gamepoint MDL Senior Member

    Jan 4, 2010
    457
    59
    10
    and how is it?
     
  5. gamepoint

    gamepoint MDL Senior Member

    Jan 4, 2010
    457
    59
    10
    thanx for the info man..but somehow..i have do it manually..
     
  6. stanton_suen

    stanton_suen MDL Novice

    Nov 14, 2010
    3
    0
    0
    Ubuntu 1010 default kernel for 32bit i386 is pae
     
  7. gamepoint

    gamepoint MDL Senior Member

    Jan 4, 2010
    457
    59
    10
    not for me:confused:..maybe the latest one is...