Clear Linux* OS on VMware* Workstation Player

This page explains how to create a new VMware Workstation Player hypervisor and use one of two images: the Clear Linux OS Desktop installer iso, or the Clear Linux OS Pre-configured VMWare image.

Overview

VMware Workstation Player is a type 2 hypervisor. It runs on top of Windows* or Linux* operating systems. With VMware Workstation Player, you can create, configure, manage, and run Clear Linux* OS VMs on your local system.

VMware offers a type 1 hypervisor called VMware ESXi designed for the cloud environment. For information on how to install Clear Linux OS as guest OS on it, see Clear Linux* OS on VMware* ESXi.

Note

The screenshots on this document show the Windows version of the VMware Workstation 15 Player. The menus and prompts are similar to those in other versions and for the Linux OS save some minor wording differences.

Install the VMware Workstation Player hypervisor

  1. Enable Intel® VT and Intel® VT-d in your system’s BIOS.

  2. VMware Workstation Player is available for Windows and Linux. Download your preferred version.

    Note

    By default, selecting download means you receive the latest version of this application. Commands may differ based on the version.

  3. Install VMware Workstation Player by following the instructions appropriate for your system OS:

    • On supported Linux distros:

      1. Enable a GUI desktop.

      2. Start a terminal emulator.

      3. Start the installer by issuing the command below and follow the guided steps.

        sudo sh ./VMware-Player-[version number].x86_64.bundle
        
    • On Windows:

      1. Start the installer.
      2. Follow the setup wizard.

For additional help, see the VMware Workstation Player Documentation.

Create and configure a new VM

  1. Start the VMware Workstation Player app.

  2. On the home screen, click Create a New Virtual Machine. See Figure 1.

    VMware Workstation Player - Create a new virtual machine

    Figure 1: VMware Workstation Player - Create a new virtual machine

  3. Select I will install the operating system later.

    I will install the operating system later.

    Figure 2: I will install the operating system later.

  4. Click the Next button.

  5. On the Select a Guest Operating System, set the Guest operating system setting to Linux. See Figure 3.

    VMware Workstation Player - Select guest operating system type

    Figure 3: VMware Workstation Player - Select guest operating system type

  6. Set the Version setting to Other Linux 5.x or later kernel 64-bit.

  7. Click the Next button.

  8. On the Name the Virtual Machine screen, name the new VM. See Figure 4.

    VMware Workstation Player - Name virtual machine

    Figure 4: VMware Workstation Player - Name virtual machine

  9. Click the Next button.

  10. On the Specify Disk Capacity screen, set the VM’s maximum disk size. See Figure 5.

    VMware Workstation Player - Set disk capacity

    Figure 5: VMware Workstation Player - Set disk capacity

    Note

    For optimal performance with the Clear Linux OS Desktop image, we recommend 32GB of drive space. See Recommended minimum system requirements for more details.

  11. Click the Next button.

  12. On the Ready to Create Virtual Machine screen, click the Customize Hardware… button. See Figure 6.

    VMware Workstation Player - Customize hardware

    Figure 6: VMware Workstation Player - Customize hardware

  13. Select Memory and set the size to 2GB. See Figure 7.

    VMware Workstation Player - Set memory size

    Figure 7: VMware Workstation Player - Set memory size

    Note

    The Clear Linux OS installer ISO needs a minimum of 2GB of RAM. After completing installation, Clear Linux OS can run on as little as 128MB of RAM. Thus, you can reduce the memory size if needed. See Recommended minimum system requirements for more details.

  14. Under the Device list, select Processors. See Figure 8.

    VMware Workstation Player - Set virtualization engine option

    Figure 8: VMware Workstation Player - Set virtualization engine option

  15. Under Processors and Number of processor cores, enter 4.

  16. Under the Virtualization engine section, check Virtualize Intel VT-x/EPT or AMD-V/RVI.

  17. Click the Close button.

  18. Click the Finish button.

Enable UEFI boot support

Clear Linux OS needs UEFI support to boot. To enable UEFI:

  1. Power off the VM. click the Player menu. See Figure 9.

    VMware Workstation Player - Power off virtual machine

    Figure 9: VMware Workstation Player - Power off virtual machine

  2. Go to Power and select Shut Down Guest.

  3. Add the following line to the end of your VM’s .vmx file.

    firmware = "efi"
    

    Note

    Depending on the OS, you can typically find the VMware VM files under:

    • On Linux distros: /home/username/vmware
    • On Windows: C:\Users\username\Documents\Virtual Machines

Download the latest Clear Linux OS image

Download the appropriate image per the tab below. We also provide additional information about Clear Linux* OS image types and instructions on how to Download, verify, and decompress a Clear Linux* OS image.

Attach the appropriate image

This option provides a live-desktop iso installer.

  1. Navigate to the downloads page and download the Clear Linux OS Desktop. After the download is complete, you will attach this image.

  2. On the VMware Workstation 15 Player, right-click the new VM, created in Create and configure a new VM.

  3. From the pop-up menu, select Settings.

  4. From Virtual Machine settings, under Hardware, select CD/DVD.

  5. Under Connection at right, select Use ISO image file.

  6. Click Browse and select the decompressed Clear Linux OS installer ISO. See Figure 10.

    VMware Workstation Player - Select |CL| installer ISO

    Figure 10: VMware Workstation Player - Select Clear Linux OS installer ISO

  7. Follow the guide Install from live image to complete the installation of Clear Linux OS.

  8. After the installation completes, reboot the VM. This reboot restarts the Clear Linux OS installer.

  9. To enable the mouse pointer so you access VMware Workstation Player’s menus, press <CTRL> + <ALT> on the keyboard.

  10. To disconnect the CD/DVD to stop it from booting the Clear Linux OS installer ISO again, click the Player menu. See Figure below.

    VMware Workstation Player - Edit CD/DVD settings

    Figure 11: VMware Workstation Player - Edit CD/DVD settings

  11. Go to Removable Devices‣CD/DVD (IDE)‣Disconnect.

  12. Click the OK button.

  13. Continue below.

  1. Navigate to the downloads page and select the VMware image. Look for clear-[version number]-vmware.vmdk.xz.

  2. Move the downloaded and decompressed pre-configured Clear Linux OS VMware image file clear-[version number]-basic.vmdk to the directory where your newly-created VM resides.

    Note

    Depending on the OS, you can typically find the VMware VM files under:

    • Linux distros /home/username/vmware
    • Windows C:UsersusernameDocumentsVirtual Machines
  3. On the VMware Workstation 15 Player, right-click the new VM, created in Create and configure a new VM.

  4. From the pop-up menu, select Settings.

  5. Under Hardware and Device list, select Hard Disk (SCSI). See figure 12.

    VMware Workstation Player - Remove hard drive

    Figure 12: VMware Workstation Player - Remove hard drive

  6. Click the Remove button.

  7. To add a new hard disk and attach the pre-configured Clear Linux OS VMware image, click the Add button. See Figure 13.

    VMware Workstation Player - Add new hard drive

    Figure 13: VMware Workstation Player - Add new hard drive

  8. Under the Hardware types section, select Hard Disk.

  9. Click the Next button.

  10. Select your preferred Virtual disk type. See figure 14.

    VMware Workstation Player - Select virtual disk type

    Figure 14: VMware Workstation Player - Select virtual disk type

  11. Select the Use an existing virtual disk option. See figure 15.

    VMware Workstation Player - Use existing virtual disk

    Figure 15: VMware Workstation Player - Use existing virtual disk

  12. Click the Browse button and select the pre-configured Clear Linux OS VMware image file. See figure 16.

    VMware Workstation Player - Select ready-made VMware |CL|

    Figure 16: VMware Workstation Player - Select ready-made VMware Clear Linux OS image file

  13. Click the Finish button.

    Note

    When asked to convert the existing virtual disk to a newer format, selecting either option works.

Install Clear Linux OS into the new VM

  1. Select the newly-created VM and click the Play virtual machine button. See Figure below.

    VMware Workstation Player - Power on virtual machine

    Figure 17: VMware Workstation Player - Power on virtual machine

Install open-vm-tools

Optional: You may want to install the open-vm-tools in your virtual machine. The Open Virtual Machine Tools (open-vm-tools) are the open source implementation of VMware Tools for Linux* guest operating systems.

#. Power on your Clear Linux OS virtual machine. On the VMware Workstation Player home screen, select your VM. See Figure 10.

  1. Click Play virtual machine.

  2. In Clear Linux OS you can install the bundle, and enable the tools, in your VM.

    sudo swupd bundle-add os-cloudguest-vmware
    sudo systemctl enable --now open-vm-tools
    

More information is available on the VMWare Tools Product Documentation site.