Choosing and Installing Guest Operating Systems : Red Hat Enterprise Linux 4.0

Red Hat Enterprise Linux 4.0
Support
32-Bit Version
This guest operating system is supported on the following VMware products:
n
VMware Workstation 5.0, 5.5, 5.5.1, 5.5.2, 5.5.3—AS, ES, WS
Update 1 and 2 supported on Workstation 5.5, 5.5.1, 5.5.2, 5.5.3
Update 3 and 4 supported on Workstation 5.5.2, 5.5.3
Experimental support for 2-way Virtual SMP on Workstation 5.5, 5.5.1, 5.5.2, 5.5.3
n
n
n
VMware Server 1.0, 1.0.1
Update 1, 2, 3, supported on VMware Server 1.0, 1.0.1
Experimental support for Update 4 on VMware Server 1.0, 1.0.1
Experimental support for 2-way Virtual SMP on VMware Server 1.0, 1.0.1
n
VMware ESX Server 2.5.2, 2.5.3, 2.5.4, 3.0, 3.0.1 with special driver and updated VMware Tools—AS, ES, WS
Update 2 supported on ESX Server 2.5.2, 2.5.3, 2.5.4, 3.0, 3.0.1
Update 3 supported on ESX Server 2.5.3 (requires Upgrade Patch 3), 3.0, 3.0.1
Update 4 supported on ESX Server 2.5.3 (requires Upgrade Patch 3), 2.5.4
64-Bit Version
This guest operating system is supported on the following VMware products:
n
VMware Workstation 5.5, 5.5.1, 5.5.2, 5.5.3—AS, ES, WS
Update 1 and 2 supported on Workstation 5.5, 5.5.1, 5.5.2, 5.5.3
Update 3 and 4 supported on Workstation 5.5.2, 5.5.3
Experimental support for 2-way Virtual SMP on Workstation 5.5.2, 5.5.3
n
VMware Server 1.0, 1.0.1
Update 3 supported on VMware Server 1.0, 1.0.1
Experimental support for Update 4 on VMware Server 1.0, 1.0.1
Experimental support for 2-way Virtual SMP on VMware Server 1.0, 1.0.1
n
VMware ESX Server 3.0, 3.0.1—AS, ES, WS
Update 2, 3, 4 supported on ESX Server 3.0
Update 2, 3 supported on ESX Server 3.0.1
Virtual SMP supported on ESX Server 3.0.1
Note
If you are installing a guest operating system through VMware VirtualCenter, be sure it is supported under the VMware product—ESX Server or GSX Server—on which you are running the virtual machine.
General Installation Notes
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 Enterprise Linux 4.0 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 Enterprise Linux 4.0 via the boot floppy/network method is supported as well. If your VMware product supports it, you can also install from a PXE server.
Before installing the operating system, be sure that you have already created and configured a new virtual machine.
VMware Workstation, VMware ACE, VMware GSX Server: When creating the virtual machine, be sure to select the LSI Logic SCSI adapter. Red Hat Enterprise Linux 4.0 does not include a driver for the BusLogic SCSI adapter.
VMware ESX Server 2.5.2 or 2.5.3: ESX Server 2.5.2 and 2.5.3 support only the BusLogic SCSI adapter. For instructions on downloading and installing the driver for the BusLogic adapter, see
www.vmware.com/download/esx/drivers_tools.html, which contains the following download links for ESX Server 2.5.2 and 2.5.3:
n
n
n
Note
Be sure the virtual machine is configured with at least 256MB of memory. If the virtual machine has less than 256MB of memory, Red Hat Enterprise Linux presents an error message as it loads certain VMware drivers.
Installation Steps
Note
Pay particular attention to the notes in step 4 about how to avoid installing an inappropriate kernel.
1
2
3
4
VMware GSX Server: In the Package Group Selection screen, choose Software Development and select individual packages. In the Individual Package Selection screen, use the arrow keys to move down to System Environment/Kernel and press Enter. Be sure that kernel-smp is deselected (no asterisk should appear between the brackets). The SMP kernel is not supported in a GSX Server virtual machine. You do not need to change any other selections.
5
Allow automatic partitioning of the disk to occur in the Automatic Partitioning screen or partition the virtual disk manually if you do not want to use the Red Hat defaults.
6
You might see a warning that begins “The partition table on device <devicename> was unreadable. 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 Yes to partition the drive.
7
VMware GSX Server: If your computer is connected to a LAN that provides DHCP support, in the Network Configuration screen, you can select the option Use bootp/dhcp. If you prefer, you can also set the networking parameters manually.
VMware ESX Server: If you are using the vlance network adapter in your virtual machine and your computer is connected to a LAN that provides DHCP support, in the Network Configuration screen, you can select the option Use bootp/dhcp. If you prefer, you can also set the networking parameters manually. If you are using the vmxnet network adapter in your virtual machine, use the network configuration tools in Red Hat Enterprise Linux 4.0 to configure your network connection after you finish installing the guest operating system.
This completes basic installation of the Red Hat Enterprise Linux 4.0 guest operating system.
VMware Tools
Be sure to install VMware Tools in your guest operating system. For details, see the manual for your VMware product or follow the appropriate link in the knowledge base article at www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=340.
Do not start the X server in the guest operating system until you install VMware Tools.
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
This message repeats continuously until you reboot the virtual machine. To prevent this problem in virtual machines running Linux, disable IPv6 before installing VMware Tools.
To disable IPv6 in a virtual machine running Linux:
1
If the file /etc/sysconfig/network contains the line NETWORKING_IPV6=yes, change the line to NETWORKING_IPV6=no.
2
In the file /etc/modules.conf, add the following lines:
alias ipv6 off
alias net-pf-10 off
After you disable IPv6, you should be able to install and configure VMware Tools successfully.
Known Issues
PAE Message During Installation
VMware Workstation: If your host computer has a processor that includes NX (no execute) technology you might get an error message during installation. The message says the guest operating system is trying to use PAE. The NX technology is present in AMD processors including Athlon64, Opteron, and Sempron. It is also present in Intel EMT64-capable processors.
To avoid the problem, be sure the virtual machine is powered off, and then use a text editor to edit the configuration (.vmx) file for the affected virtual machine. Add the following line to the file:
paevm="true"
You can then power on the virtual machine and install the guest operating system.
Disable PAE in ESX Server Virtual Machines
EXS Server 2.5.x: Although ESX Server 2.5.x virtual machines are compatible with Physical Address Extension (PAE), they are not optimized for it. As a result, guest operating systems with PAE enabled might experience poor performance. For best performance, VMware recommends that you disable PAE in guest operating systems. For more information and instructions on disabling PAE, see the knowledge base article at
www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=2020.
EXS Server 3.x: Note that disabling PAE also disables NX (no execute) and ED (execute disabled) features found in recent AMD and Intel processors. These features are not supported by ESX Server versions before ESX Server 3.x.
Manual Changes Might Be Needed to Use Networking in Copied Virtual Machine
In some cases, networking does not work properly in a copied or cloned virtual machine or a virtual machine deployed to end users as part of a VMware ACE package. If you copy a virtual machine and specify that the copy should have a unique identifier, the MAC addresses for any virtual Ethernet adapters attached to the virtual machine change. When a Red Hat Enterprise Linux 4.0 guest operating system is installed, it includes the MAC address in a key configuration file. This can cause errors when the virtual machine’s MAC address changes. If you experience this problem, you can work around it by removing a line from the file. For eth0, for example, make the following change:
1
Make a backup copy of the file /etc/sysconfig/network-scripts/ifcfg-eth0, and then open it in a text editor.
2
3
Clock in Guest Operating System Might Run Too Quickly or Too Slowly
If the clock in your guest operating system runs too quickly or too slowly, use one of the workarounds described in the knowledge base article at www.vmware.com/support/kb/enduser/std_adp.php?p_faqid=1420.
Enabling Sound After Installing Red Hat Enterprise Linux 4.0
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.
Guest Screen Saver
VMware GSX Server: 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.
Migration to a Different Processor
VMware recommends you do not migrate a Linux virtual machine between hosts when one host is running on an AMD processor and the other is running on an Intel processor.
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.
Red Hat Enterprise Linux 4.0 Update 2 and Update 3 Guests Displayed with Incorrect Operating System Type in Virtual Infrastructure Client
ESX Server 3.x: ESX 3.x virtual machines running Red Hat Enterprise Linux 4.0 (AS, ES, WS) Update 3, with VMware Tools running, are shown in the Virtual Infrastructure Client as having Red Hat Enterprise Linux 3 as the guest operating system type. ESX 3.x virtual machines running Red Hat Enterprise Linux 4.0 (AS, ES, WS) Update 2, with VMware Tools running, are shown in the Virtual Infrastructure Client as having Red Hat Enterprise Linux 2 as the guest operating system type. This incorrect display is harmless and does not affect the proper operation of the virtual machine.