Clear Linux* OS on VMware* Workstation Player

This guide explains how to set up the VMware Workstation Player 15.5.1 hypervisor and instantiate a VM instance of Clear Linux OS by installing it using an ISO or using a pre-built 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 in this document show the Windows version of the VMware Workstation Player 15.5.1. The menus and prompts are similar to those in other versions and for the Linux version, 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.

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

    • On supported Linux distros:

      1. Ensure your Linux distro is running 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 a blank 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 window, 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. If you’re planning to use a pre-built image, just use the default size for now. 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 a desired value. See Figure 7.

    VMware Workstation Player - Set memory size

    Figure 7: VMware Workstation Player - Set memory size

    Note

    The Clear Linux OS live installer ISO needs a minimum of 1GB 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 the desired number of cores.

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

  17. Click the Close button.

  18. Click the Finish button.

Enable UEFI boot support

Clear Linux OS needs UEFI support to boot and work properly. To enable it:

  1. Close the VMware Workstation Player app.

  2. 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

Instantiate Clear Linux OS

If you want to install Clear Linux OS from scratch, following the instructions in the Install |CL| using ISO tab. Otherwise, follow the Use |CL| pre-built VMware image tab to use our pre-built image.

  1. Navigate to the Clear Linux OS Downloads page and download either the Server or Desktop ISO image. After the download is complete, you will attach this image.

  2. Start the VMware Workstation Player app.

  3. Select the VM that was created in section Create a blank VM. See Figure 9.

  4. Click Edit virtual machine settings.

    VMware Workstation Player - Edit virtual machine settings

    Figure 09: VMware Workstation Player - Edit virtual machine settings

  5. In the Virtual Machine settings window, under Hardware, select guilabel:CD/DVD (IDE). See Figure 10.

  6. Under Connection at the right, select Use ISO image file.

  7. Click Browse and select the Clear Linux OS installer ISO.

    VMware Workstation Player - Select |CL| installer ISO

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

  8. Click OK to close the Virtual Machine settings window.

  9. Start the VM by clicking Play virtual machine.

  10. Follow one of these guides to complete the installation of Clear Linux OS.

  11. Reboot the VM after the installation completes.

  12. Install the os-cloudguest-vmware bundle, the open source VMware Tools for Linux* guest operating systems, which enables new features and improves general performance.

    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.

  1. Navigate to the Clear Linux OS Downloads page and download the VMware image.

  2. Decompress the downloaded file and move it to the directory where your newly-created VM files reside.

    Note

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

    • Linux distros /home/username/vmware
    • Windows C:\Users\username\Documents\Virtual Machines
  3. Start the VMware Workstation Player app.

  4. Select the VM that was created in section Create a blank VM. See Figure 9.

  5. Click Edit virtual machine settings.

    VMware Workstation Player - Edit virtual machine settings

    Figure 9: VMware Workstation Player - Edit virtual machine settings

  6. Under Hardware and Device list, select Hard Disk (SCSI). See Figure 11.

    VMware Workstation Player - Remove hard drive

    Figure 11: VMware Workstation Player - Remove hard drive

  7. Click the Remove button.

  8. To add a new hard disk and attach the pre-built Clear Linux OS VMware image, click the Add button. See Figure 12.

    VMware Workstation Player - Add new device

    Figure 12: VMware Workstation Player - Add new device

  9. Under the Hardware types section, select Hard Disk. See Figure 13.

    VMware Workstation Player - Add hard drive

    Figure 13: VMware Workstation Player - Add hard drive

  10. Click the Next button.

  11. 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

  12. 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

  13. Click the Browse button and select the pre-built Clear Linux OS VMware image file. See Figure 16.

    VMware Workstation Player - Select pre-built VMware |CL| image file

    Figure 16: VMware Workstation Player - Select pre-built VMware Clear Linux OS image file

  14. Click the Finish button.

    Note

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

  15. Click the OK button.

  16. Start the VM by clicking Play virtual machine.

    Note

    If you need to increase the disk size of the pre-built Clear Linux OS image, see Increase Virtual Disk Size of an Image.