I've been spending increasingly more time researching topics for Unix Tutorial on one of my desktops. Ubuntu has replaced the Windows Vista I had and so far I quite like the experiment. Out of the box, all of the hardware was properly supported and even the NTFS partitions left from Vista install are easily available.
One of the first things I've decided to install was the trial version of the latest VMware Workstation: 6.0.3 build-80004. And although it installed without a problem, when I tried to run one of the previously created virtual machines, I got the following error:
VMware Workstation unrecoverable error: (vcpu-0)
Failed to allocate page for guest RAM!
As it turned out after a quick investigation, that was a result of running a VM from a NTFS partition, because its default mounting settings don't have the exec option.
Since you shouldn't be running anything critical through an NTFS driver anyway, I simply moved the VM onto one of the ext3 partitions and, sure enough, it fixed the guest RAM allocation error.
Update: if your scenario prevents you from moving a VM to a native partition, use the following option:
mainmem.UseNamedFile = "FALSE"
You should add it to the vmx file of your VM. Thanks for the tip, benito!
See Also
benito says
One posible solution is to include mainmem.UseNamedFile = "false" in the vmx file from the machine.
Kory Miller says
[quote]One posible solution is to include mainmem.UseNamedFile = “false” in the vmx file from the machine.[/quote]
worked for me (though it gave an error, so I think it wants "FALSE" in all caps….
Mat Seymour says
yeh does work
utter genious
🙂
miki says
I added the line
mainmem.UseNamedFile = “FALSE”
worked pretty good!
thanks!
Dave says
Just make sure the quotes are correct.
mainmem.UseNamedFile = “FALSE”
shuld actually be
mainmem.UseNamedFile = "FALSE"
see the quote mark difference otherwise an error occurs.
Gleb Reys says
Thanks so much for the comment, Dave!
I have finally realized what happened – WordPress escaped the quotes with curvy ones, and all the readers who followed my advice got syntax error when they copied and pasted the line.
It's fixed now! Thanks again!
Edward Burns says
mainmem.UseNamedFile = "FALSE"
Does this have any adverse affect on performance? What does this setting actually do?
Mike says
Hey tyring to get this working, i'm VERY new to Linux. i'm trying to do the UseNamedFile = "FALSE" what is the command, or how exactly do i add that to the vmx file? Thanks, Mike
Truong says
If you are in linux, just open file .vmx in your VM's directory by vim or geditl; then append that line into the file.
Jon says
Well, this error message had just ruined my day, but your little article helped end it on a positive note. My .vmx file had stopped working and I had forgotten that I just recently moved it from my Ubuntu partition over to my Windows-dual-boot data partition. So, moving that file's folder back to /usr solved the problem. Thanks!
Gleb Reys says
Glad to hear you had it fixed after all, Jon!
It was a rather frustrating experience for myself, took a while to reconnect the events and figure it out.
Jhon F. Ortiz O. says
Hi! I repaired the VMware virtual machine following these steps. I just moved the vmware vm from a ntfs partition to ext3 partition. Thanks for this information. Bye!
Gleb Reys says
Hi, glad to have helped you! 🙂
nor says
works. thanks.