LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 01-07-2010, 04:42 PM   #1
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Rep: Reputation: 21
Linux virtual machine not recognizing memory


I have a Red Hat 5.3 virtual machine that has 3GB memory. I just upgraded the memory to 4GB, however when I run free -m it still only recognizes 3GB. Is there something else I need to do?

Thanks,
Scott
 
Old 01-07-2010, 06:59 PM   #2
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
I found something that says I need to install the PAE kernel. I'm no linux expert. Is there an easy way to do this?

Thanks,
Scott
 
Old 01-08-2010, 03:26 PM   #3
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
You might need to install kernel-PAE-* (something like that) and use it instead of regular.

But, I think I read about similar problem on some Dell machines. What type and vendor is your machine?
 
1 members found this post helpful.
Old 01-08-2010, 04:18 PM   #4
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Thanks for the resonse. The Linux machine is a virtual machine on an ESX server. The ESX server runs on HP hardware. I tried the PAE kernel, but it was still only recognizing 3GB. Is there anything else I can try to get it to 4GB.
 
Old 01-08-2010, 05:35 PM   #5
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
What means "upgraded memory to 4 GB"??? I thought you just set the memory size in host guest system settings.

Another thing. Is ESX server capable to allow 4GB of RAm to the guest system? And does your host system seeing those 4 GB?
 
Old 01-08-2010, 05:39 PM   #6
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
Right. When I say upgraded the memory of the guest, I set it to 4GB from 3GB. The host has 32GB memory and sees it all. There are other virtual machines that are configured to use 4GB and can see it. The ESX server can give a guest up to 128GB of memory.
 
Old 01-09-2010, 08:02 PM   #7
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
Well, double check if ESX realy gave that virtual those 4GB, maybe try uping to 5GB to test?
 
Old 01-12-2010, 11:51 AM   #8
scottyp55
Member
 
Registered: Oct 2009
Posts: 53

Original Poster
Rep: Reputation: 21
I ended up trying another PAE kernel and this time it worked. The memory is showing 4GB when I run free -m now.
One other question though... Now when I boot, I have to hit enter and select the new kernel or it defaults to the old one. Is there a way to change this so the new one is the default?

Thanks again to everyone for their help.
Scott
 
Old 01-12-2010, 05:43 PM   #9
DrLove73
Senior Member
 
Registered: Sep 2009
Location: Srbobran, Serbia
Distribution: CentOS 5.5 i386 & x86_64
Posts: 1,118
Blog Entries: 1

Rep: Reputation: 129Reputation: 129
go to /boot/grub/grub.conf and either change "default=0" (first "title" menu item to "default=1" (second "title" menu item) etc..., or cut entire section between "title" rows related to unwanted kernel, and pasted it somewhere on the bottom of the file.

BUT BACKUP THAT "grub.conf" FILE BEFORE ANY EDITING!!!
 
  


Reply


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
Can't start the Java Virtual Machine - memory problem? the182guy Debian 5 04-03-2009 12:16 PM
Running virtual pc files in a virtual machine in linux ... preferably virtual box biharibong Linux - Software 4 01-21-2009 01:04 PM
Linux Virtual memory mapping to Board memory map !rajkums! Linux - Kernel 4 10-19-2008 12:27 PM
Linux shared memory segment access problem and x86 Virtual Memory layout. regmee Linux - Kernel 1 08-23-2008 12:11 AM
how to make virtual machine in xen allocate memory automatically? jimmyjiang Red Hat 0 03-13-2008 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:12 PM.

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