VMware Workstation 3.2
Features | Documentation | Knowledge Base | Discussion Forums
Red Hat Linux 7.1 and 7.2 Installation Guidelines
Red Hat Linux 7.1 and 7.2 Installation Guidelines
The easiest method of installing Red Hat Linux 7.1 or 7.2 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 or 7.2 via the boot floppy/network method is supported as well.
Before installing the operating system, be sure that you have already created a directory for the new virtual machine and configured it using the VMware Workstation New Virtual Machine Wizard (on Windows hosts) or Configuration Wizard (on Linux hosts).
Note: You should not run the X server that is installed when you set up Red Hat Linux 7.1 or 7.2. Instead, to get an accelerated SVGA X server running inside the virtual machine, you should install the VMware Tools package immediately after installing Red Hat Linux 7.1 or 7.2.
Use the VMware Workstation Configuration Editor to verify the virtual machine's devices are set up as you expect before starting the installation. For example, if you would like networking software to be installed during the Red Hat Linux 7.1 or 7.2 installation process, be sure the virtual machine's Ethernet adapter is enabled and configured. VMware also recommends that you disable the screen saver on the host system before starting the installation process.
Insert the Red Hat Linux 7.1 or 7.2 CD-ROM in the CD-ROM drive and power on the virtual machine.
You need to install Red Hat Linux 7.1 or 7.2 using the text mode installer, which you may choose when you first boot the installer. At the Red Hat Linux 7.1 or 7.2 CD boot prompt, you are offered the following choices:
To install or upgrade a system ... in graphical mode ...
To install or upgrade a system ... in text mode, type: text <ENTER>.
To enable expert mode, ...
Use the function keys listed below ...
To choose the text mode installer, type text followed by Enter.
Follow the installation steps as you would for a physical machine. Be sure to make the choices outlined in the following steps.
Choose the language and keyboard, then in the Installation Type screen, choose either Server or Workstation for the installation type.
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.
Allow automatic partitioning of the disk to occur in the Automatic Partitioning screen.
If your host operating system supports DHCP and is connected to a LAN, then in the Network Configuration screen, select the Use bootp/dhcp option.
In the Mouse Selection screen, choose Generic - 3 Button Mouse (PS/2) and select the Emulate 3 Buttons? option for three-button mouse support in the virtual machine.
In the Video Card Selection screen, choose the default selection.
During the configuration of the X server, select the defaults and proceed through this section as quickly as possible, as this X server is replaced by an X server specific to your guest operating system when you install VMware Tools in this virtual machine.
Continue to the Starting X screen and click the Skip button to skip testing the configuration.
This completes basic installation of the Red Hat Linux 7.1 or 7.2 guest operating system. Be sure to install VMware Tools in your virtual machine. For details, see Installing VMware Tools. This installs an X server specific to your Red Hat 7.1 or 7.2 guest operating system, as well as some other utilities. If you choose to keep the X server that was installed with Red Hat Linux 7.1 or 7.2, your virtual machine's graphics performance suffers. Do not start X until you have installed VMware Tools.
- On a Linux host with an XFree86 3.x X server, it is best not to run a screen saver in the guest operating system. Guest screen savers that demand a lot of processing power can cause the X server on the host to freeze.
- 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 VMware Workstation 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 may have a performance impact.
- VMware recommends you do not migrate a Red Hat Linux 7.2 virtual machine between hosts when one host is running on an AMD processor and the other is running on an Intel processor. During the Red Hat Linux 7.2 installation, Red Hat Linux 7.2 chooses a kernel that is optimized for the specific processor on which it is running. The kernel may contain instructions that are only available for that processor. These instructions can have adverse effects when run on a host with the wrong type of processor. Thus, a Red Hat Linux 7.2 virtual machine created on a host with an AMD processor may not work if migrated to a host with an Intel processor. The reverse is true; a Red Hat Linux 7.2 virtual machine created on a host with an Intel processor may not work if migrated to a host with an AMD processor.
This problem is not specific to virtual machines and would also occur on physical computers. For example, if you moved a hard drive with a Red Hat Linux 7.2 installation from an AMD machine to an Intel machine, you would experience problems trying to boot from that drive.