Enable 2GB RAM with RedHat Linux 7.0 (Linux 2.2.16 Kernel)

Redhat Linux 7.0 (Kernel 2.2.16) has built in support for 2GB RAM. What you need to do is enabling 2GB RAM via re-compiling the Linux kernel. Here is a list of what you need to do.


1. Re-install a complete version RedHat Linux 7.0 (2.2.16 kernel)
via "Text" mode installation. Be sure to select the
"kernel development" package option.

2. After the installation, type in the following commands.

# cd /usr/src/linux
# make config

Note: You will see a list of kernel configuration options. Please
make sure to check the following options as indicated.

Maximum physical memory (1GB, 2GB)[2GB] 2GB ---> (2GB)

IP: masquerading (Config_IP-MASQUERADE) [Y/n/?] N ---> (No)


Note: You can just press [ENTER] key for the rest of the
configuration options. Pressing the [ENTER] key will select
the default answer.

Note: After finish answering the options menu, type in the
following commands.

# make dep

# make bzImage

# make install

# cd /etc

# lilo

3. Now you need to reboot the machine to active the newly
compiled kernel.

4. Type in the following command to show the memory size.

# top (This will show the 2GB RAM installed in your system)


Reference Links

Visit http://www.linux-mm.org/more_than_1GB.shtml

Visit http://www.linuxdoc.org/HOWTO/Kernel-HOWTO-2.html

Visit http://www.linux.org/docs/ldp/howto/Kernel-HOWTO.html