LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-21-2004, 01:58 PM   #1
glacier1985
Member
 
Registered: Jul 2003
Posts: 40

Rep: Reputation: 15
anyone who is familer with vmware please step in


i am running vmware 4.5.3 on fedora core2, i just installed windows 2000 in there, it was fine for couple of hours, until i restart vmware, now i got this error
could not open /dev/vmmon. no such device please make sure that the kernel module "vmmon" is loaded
any ideas ?

thank you in advance
 
Old 06-21-2004, 05:00 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
well.. exactly what it says on the tin really... make sure vmmon is loaded.... run "modprobe vmmon" not really related to VMware....
 
Old 06-21-2004, 05:13 PM   #3
glacier1985
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
yea, i did that, but it gives me this error
FATAL: Module /dev/vmmon not found.
i am sure that vmmon is in /dev
any ideas ?
 
Old 06-21-2004, 05:18 PM   #4
glacier1985
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
well, i did a serach for vmmon i found there is source file in /usr/lib/vmware/modules/source for vmmon , i am trying to compile this file see if it works
 
Old 06-21-2004, 05:26 PM   #5
glacier1985
Member
 
Registered: Jul 2003
Posts: 40

Original Poster
Rep: Reputation: 15
well this is funny , after recompiling vommon file, i click on start button in vmware , nothing responds. is there anyway that i can same my win2000 system as a image file ? i am planning to reinstall vmware right now, but dont wanna destroy my win2000 in there
 
Old 06-21-2004, 05:28 PM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
yeah the image file should be moveable in ~/.vmware by default i think.
 
Old 06-22-2004, 12:04 AM   #7
Rick485
Member
 
Registered: Sep 2003
Location: Arizona
Distribution: Kubuntu 8.04
Posts: 202

Rep: Reputation: 30
I also use the Linux verion of Vmware. When I type "lsmod" I see that I do have a "vmmon" module loaded on my Linux host. The "lsmod" command lists all the modules that I have loaded. I see "vmnet" and "vmmon" are listed which are both Vmware modules.

I then got to wondering about what loads the modules. My understanding of how initialization is done in Linux is quite shaky, but I will go out on a limb and say how I think it roughly works. What also complicates my answer is that I am using Slackware which uses a more or less BSD style initialization while you are using Fedora which uses "System 5" style initialization. So anyway with Fedora Core Linux, Vmware probably runs this script from this location to start Vmware:

/etc/init.d/vmware

I run Vmware from Slackware 9.1 and I when I installed it I had to copy that script to a different location and rename it as this:

/etc/rc.d/rc.vmware

Depending on which Linux distro you would run one script or the other to start Vmware. In Slackware is edited my "rc.local" script to have the "rc.vmware" script started automatically. Fedora Core and most other distros would do it slightly differently. Someone else here could probably explain how to do that if necessary.

When I look inside the startup script with a text editor I see that the "vmmon" module is listed in there. So anyway you might want to try running the script with the "status" parameter to see if it is already running.

/etc/init.d/vmware status

You could also try typing this to start up Vmware:

/etc/init.d/vmware start

I believe the script was created when I originally ran the "vmware-config.pl" or possibly "vmware-config.pl --compile" while installing the Vmware.

Your Windows 2000 virtual machine should be safe and survive even if you need to re-install Vmware. I originally created most of my virtual machines back when I was using Red Hat 9. I then switched to Slackware 9.1 and was able to use my existing virtual machines. I had originally mounted them on seperate partition by the way. To find your where your virtual machines are you can type these two commands while logged in as root:

cd /
find -name *.vmdk

That should find all you "vmdk" files for you. They are most likely in a subdirectory of the vmware directory. I am Assuming that you have Windows 2000 installed on virual partitions not on a real partition. If so then, if I am not mistaken, your copy of Windows 2000 should be spread accross several of the "vmdk" files. There is a whole chapter in my Vmware manual on how to move and share virtual machines. I do not recall all the details. I think that perhaps (maybe) you FILE -> OPEN and then brows for the appropriate ".vmx" file. It should be in the same directory as the "vmdk" files. On my computer is is called "Win2000Pro.vmx. It might have a slightly different name depending on what you chose to call your Windows virtual machine.

So anyway there is still a lot of this that I do not understand very well, so perhaps someone could explain a few of the details better. I compiled my copy of Vmware from source without understanding very well what I was doing. At least it works. I also discovered that whenever I change to a newer kernel I need to rerun "vmware-config.pl --compile" again.

The use of Vmware is not supported with all distros. I do not know for sure if Vmware is compatible with Fedora Core 2. That is pretty much all that I know about the "vmnet" and "vmmon" modules and how Vmware starts and also how to move or reuse a virtual machine.
 
Old 11-13-2004, 03:51 AM   #8
phlyersphan
Member
 
Registered: Jun 2004
Location: Chicago, IL USA
Distribution: Mandrake 10
Posts: 103

Rep: Reputation: 15
I just ran into a similar problem - had VMWare working fine, running XP, 2000, and 98 in it, and then one day I started geting the "Cannot open /dev/vmmon" error. No idea why.

Here's what makes it work again for me -

from console, type:
/etc/init.d/vmware start

Then just go into VMWare via the GUI and start your virtual machine. No idea why this works, or why suddenly things aren't initializing automatically, but I'm too sleepy to think about it any more!!
 
  


Reply



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
Step-By-Step Instruction to install Linksys WPC11 Ver.4 Wireless Card Zypher Linux - Hardware 8 08-12-2009 10:43 AM
Step by Step guied for Installation pent@net Dvb card under linux mobassir Linux - Networking 4 06-07-2006 07:31 PM
I need a step by step help to instal Suse 9.3 Pro on the same hdd as XP Home & 2003 suse91pro Linux - General 4 09-07-2005 01:15 PM
Step by Step way to make SUSE 9.3 VMWARE ready ?? my-unix-dream Linux - Newbie 5 07-05-2005 09:18 PM
Step-by-Step: Making integrated Broadcome wireless adapter work with Mandrake 9.2 jmp875 Linux - Wireless Networking 16 06-30-2004 12:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:03 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