Be sure to read General Guidelines for All VMware Products as well as this guide to installing your specific guest operating system.
The easiest method of installing Red Hat Linux 7.1 in a virtual machine is to use the standard Red Hat distribution CD. The notes below describe an installation using the standard distribution CD; however, installing Red Hat Linux 7.1 via the boot floppy/network method is supported as well. If your VMware product supports it, you can also install from a PXE server.
A warning appears that says: Bad partition table. The partition table on device sda is corrupted. To create new partitions, it must be initialized, causing the loss of ALL DATA on the drive.
This does not mean that anything is wrong with the hard drive on your physical computer. It simply means that the virtual hard drive in your virtual machine needs to be partitioned and formatted. Click the
Initialize button and press
Enter. Also note that
sda appears in the message as the device name if the virtual disk in question is a SCSI disk; if the virtual disk is an IDE drive,
hda appears in the message as the device name instead.
In many Linux distributions, if IPv6 is enabled, VMware Tools cannot be configured with vmware-config-tools.pl after installation. In this case, VMware Tools is unable to set the network device correctly for the virtual machine, and displays a message similar to
Unloading pcnet32 module
unregister_netdevice: waiting for eth0 to become free
VMware GSX Server: The sound device is disabled by default and must be enabled with the virtual machine settings editor (
VM >
Settings) after the operating system has been installed. To set up the virtual machine to play sound, see Configuring Sound in the GSX Server documentation.
Installation sometimes hangs at running /sbin/loader for no apparent reason. The hang is caused by a bug in early versions of the 2.4 Linux kernel. The bug has been fixed in kernel 2.4.5. Distributions based on this kernel should install without problems.
For earlier 2.4-series kernels, a workaround is available. Although the Linux kernel bug is not related to CD-ROM drives, the workaround involves changing a VMware configuration setting for the virtual DVD/CD-ROM drive.
Power off the virtual machine and close the virtual machine window. Open the virtual machine’s configuration file (
.vmx file on a Windows host or
.cfg file on a Linux host) in a text editor and add the following line:
Save the file. Now you should be able to install the guest operating system as described above. After you finish installing the guest operating system, remove this setting from the configuration file, as it might have a performance impact.
During installation, many distributions of Linux choose a kernel that is optimized for the specific processor on which it is being installed, and some distributions install a generic kernel by default, but provide architecture-specific kernels that the user can choose to install. The kernel might contain instructions that are available only on that processor. These instructions can have adverse effects when run on a host with the wrong type of processor.
Thus, a Linux virtual machine created on a host with an AMD processor might not work if migrated to a host with an Intel processor. The reverse is also true: a Linux virtual machine created on a host with an Intel processor might not work if migrated to a host with an AMD processor.
This problem is not specific to virtual machines and also occurs on physical computers. For example, if you move a hard drive with a Linux installation from an AMD machine to an Intel machine, you are also likely to experience problems trying to boot from that drive.