Welcome to the most active Linux Forum on the web.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 04-15-2008, 07:26 PM   #1
LQ Newbie
Registered: Apr 2008
Posts: 5

Rep: Reputation: 0
All RAM not being recognized on Linux RHEL after adding RAM

Okay, here are the specifics.

Linux version 2.6.18-53.1.14.el5 ( (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)

The machine came with 2 GB RAM. I added 2 additional GB. When I rebooted, it only sees 2.59 GB

cat /proc/meminfo

MemTotal: 2590196 kB

So, looking around, I found information about modifying the kernel in grub.conf. So, here is what I have:

kernel /vmlinuz-2.6.18-8.1.10.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet

I modified it to be this:

kernel /vmlinuz-2.6.18-8.1.10.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet mem=4096M

After reboot, I still only see 2590196 kB

Somewhere on the web, it says that after reboot and after the GRUB boot screen has loaded, type e for edit and then choose the kernel line and add the mem=xxM or mem=4096M in this case. Eventually, it would boot.

I didn't perform this last step and am wondering if that is where it failed.

Thanks for any tips that you may have.
Old 04-15-2008, 08:27 PM   #2
Senior Member
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
If you put the mem= in the actual grub.conf file, then you don't need to worry about editing the line as you are booting. You only need to do that if you want to temporarily boot with different parameters. Say you wanted to boot to the commandline once, and not into X, you would add " 3" to the end of the kernel line, hit enter to quit editing, then hit b to boot.

As for the memory problem, did you check to make sure the motherboard can handle four gigs of RAM? If it can, I would pull out the old RAM and just boot with the new, to make sure it's good.
Old 04-16-2008, 10:37 AM   #3
LQ Newbie
Registered: Apr 2008
Posts: 5

Original Poster
Rep: Reputation: 0
unrecognized RAM

The motherboard support 32 G. It was intended to have Windows Server on it, but I installed RHEL. The vendor won't help because they only support Windows.

Anyway, I had thought about taking out the old ram and seeing what happens.

As I was reading on the web, I also found this:

Find out if the displayed quantity is the same as the known amount of RAM in your system. If they are not equal, add the following line to the /boot/grub/grub.conf or /etc/lilo.conf file, depending on the boot loader you installed:


So, the line would be:

kernel /vmlinuz-2.6.18-8.1.10.el5 ro root=/dev/VolGroup00/LogVol00 rhgb quiet append="mem=4096M"

Is it true that 'append' can be used for lilo or grub?
Old 04-17-2008, 02:59 PM   #4
Registered: Feb 2008
Location: Sacramento
Distribution: RHEL AS, mostly
Posts: 44

Rep: Reputation: 18
lilo uses a bare "kernel" line and passes kernel parameters via "append=".

grub expects the kernel parameters on the end of the "kernel" line, so you've already tried the "mem=" thing.

At startup, what do the BIOS configuration screens show for memory?
Old 04-18-2008, 10:31 AM   #5
Registered: Jun 2003
Location: SoCal
Distribution: CentOS
Posts: 465

Rep: Reputation: 30
How much ram does your system BIOS see? If the BIOS only sees the 2.59GB then you have a hardware issue and not an os issue. If BIOS shows 4GB RHEL only sees 2.59GB, then it would be a matter of figuring out whats wrong with your os config.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAM: Does linux require as much ram as Windows XP? hanzj Linux - Newbie 48 04-18-2007 12:14 AM
16GB RAM not recognized whoopi_cat Linux - Hardware 5 02-27-2007 03:22 AM
Full RAM not recognized on Compaq 2500 TotalDefiance Slackware 9 06-29-2005 09:19 AM
Win98SE Pentium166MMX/64MB RAM vs Linux AthlonXP+ 3000/512MB RAM : Lucent LT WinModem t3gah Linux - Software 2 04-22-2005 01:01 PM
New RAM not recognized on Toshiba laptop 1speedjb Linux - Hardware 7 08-09-2004 08:18 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration