Contents

Installing Mandrake Linux 8.0 and 8.1 into a Virtual Machine

The easiest method of installing Mandrake Linux 8.0 or 8.1 in a virtual machine is to use the standard Mandrake Linux distribution CD. The notes below describe an installation using the standard distribution CD; however, installing Mandrake Linux 8.0 or 8.1 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.

Note: During the Mandrake Linux 8.0 or 8.1 installation, you are offered a choice of XFree86 X servers. You may choose either one, but do not run that X server. Instead, to get an accelerated SVGA X server running inside the virtual machine, you should install the VMware Tools package immediately after installing Mandrake Linux 8.0 or 8.1 and create one symbolic link as described in the steps that follow.

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 Mandrake Linux 8.0 or 8.1 installation process, be sure the virtual machine's Ethernet adapter is enabled and configured. You may also want to increase the virtual machine's memory to 64MB.

To install Mandrake Linux 8.0 or 8.1 in a virtual machine:

  1. Insert the Mandrake Linux 8.0 or 8.1 CD in the CD-ROM drive and click the Power On button.
  2. Follow the installation steps as you would for a physical machine. Be sure to make the choices outlined in the following steps.
  3. Use the Expert installer.
  4. In the partitioning step, unless you have special requirements, let Mandrake Linux auto-allocate the space.
  5. When selecting a boot loader, use LILO with text menu. Do not use the graphical version of LILO. It causes the virtual machine to hang.
  6. On the Select a Graphic Card screen, choose Other > Generic VGA compatible.
  7. Near the end of the installation, after files have been copied, you reach the monitor setup screen. Choose Super VGA, 800x600 @ 56 Hz.
  8. When the installer asks whether to start X when you reboot, answer No.
  9. Install VMware Tools in your guest operating system.

    Note: With a Mandrake Linux 8.0 or 8.1 guest, you should install VMware Tools from the Linux console. Do not start X until you have installed VMware Tools and carried out the final step.

  10. Be sure you are logged in as root (su), then enter the following commands to set up a symbolic link to the correct XFree86 configuration file.
    cd /etc
    ln -s /etc/X11/XF86Config.vm XF86Config
  11. Use the startx command to start your X server.

Known Issues

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.

The shutdown process in the guest operating system may hang when shutting down the network interface because of the way the Mandrake Linux 8.0 shutdown script handles dhcpd. This problem does not occur with Mandrake Linux 8.1 guests.

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.

  1. Power off the virtual machine and close the 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:
    cdrom.minvirtualtime=100
  2. Save the file. Now you should be able to install the guest operating system as described above.

You should now be able to install the guest operating system.

Back to top

© 2002 VMware, Inc. All rights reserved.