Oracle Labs by Yuri Khazin, Oracle DBA

VMware on Fedora Linux (F9) – some adjustments


This article addresses several problems that may be encountered when installing VMware Server 1.0 in Fedora Linux (F9) as host and running Red Hat like Linux as guest.

If you are interested in checking out what guest you can run in VMware – refer to compatibility tables here.

A very good installation guide can be found here:

http://www.howtoforge.com/vmware-server-installation-on-a-fedora9-desktop

Now to the problems:

  • Adjusting CPU speed parameter (I think “VMware tools” are supposed to help with that, did not work for me)

How to find what Linux host thinks about CPU speed (you may need to double the number if you have a Dual Core CPU)

cat /proc/cpuinfo

Where to configure:

/etc/vmware/config

Typical content:

host.cpukHz = 2000000
host.noTSC = TRUE
ptsc.noTSC = TRUE

  • Make VM synchronize the time (if VMware Tools are installed)

run vmware-toolbox in the guest

  • Fixing keyboard mapping after full screen mode (keyboard mapping can be messed completely at times)

run setxkbmap in the guest

  • Fixing Fedora’s networking (LAN and wireless are both present).

If networking is managed by NetworkManager (it is so by default) than eth0 will be down if cable is disconnected and wlan0 (wireless) will come up if wireless is present. Alternatively you may disable “NetworkManager” and enable “network” service.

Run following commands in the host:

chkconfig NetworkManager off

service NetworkManager stop

chkconfig –level 345 network on

chkconfig –list 345 network

service network restart

ifconfig -a

  • Adding host-only networking
  1. Run vmware-setup.pl and enable both host-only and bridged networking (in the host)
  2. use “ifconfig -a” command to verify that vmnet1 adapter is created in host and it is up and has an IP address
  3. While VM is down, in VM settings for the guest machine: make sure that its eth0 is a bridged network adapter and add another one as host-only type
  4. Start the VM, verify that eth1 is added as host-only network type
  5. add host’s vmnet1 address to guest’s /etc/hosts file
  6. add guest’s eth1 address to host’s /etc/hosts file
  • Fixing MAC address problem in guests
After some changes (VM was cloned or moved) some vmnet adapters may not come up on boot and give an error about changed MAC address.
Where to see actual MAC addresses:

ifconfig -a

Where to fix them (in guest):

cd /etc/sysconfig/network-scripts

and edit these two files (restart network after)
ifcfg-eth0

ifcfg-eth1

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: