Clear Linux* OS on VMware* Workstation Player (pre-configured image)¶
This page explains how to deploy a pre-configured Clear Linux OS VMware image on VMware Workstation 14 Player.
Overview¶
VMware Workstation 14 Player is a type 2 hypervisor. For example, it runs on top of Windows* or Linux* operating system. With VMware ESXi, you can create, configure, manage, and run Clear Linux* OS VMs on your local system.
Note
Screenshots in this document show VMware Workstation 14 Player for Windows. Menus and prompts in the Linux version have minor wording differences.
Install the VMware Workstation Player hypervisor¶
Enable Intel® VT and Intel® VT-d in your system’s BIOS.
VMware Workstation 14 Player is available for Windows and Linux. Download your preferred version.
Depending on which OS you’re running, install it by following one of these instructions:
On supported Linux distros:
Enable a GUI desktop.
Start a terminal emulator.
Start the installer by issuing the command below and following the guided steps.
sudo sh ./VMware-Player-[version number].x86_64.bundle
On Windows:
- Start the installer.
- Follow the setup wizard.
For additional help, see the VMware Workstation Player Documentation.
Download the latest Clear Linux OS VMware image¶
Get the latest Clear Linux OS VMware image from the image repository.
Look for clear-[version number]-vmware.vmdk.xz
. You can also use
this command:
curl -O https://cdn.download.clearlinux.org/image/$(curl https://cdn.download.clearlinux.org/image/latest-images | grep vmware)
Decompress and verify the image¶
Visit Download, verify, and decompress a Clear Linux* OS image and follow the instructions for your Windows* or Linux* environment. Visit Clear Linux* OS image types for additional information about all available Clear Linux OS images.
Create and configure a new VM¶
Start the VMware Workstation Player app.
On the home screen, click Create a New Virtual Machine. See figure 1.
On the Welcome to the New Virtual Machine Wizard screen, select the I will install the operating system later option. See figure 2.
Click the Next button.
On the Select a Guest Operating System screen, set the Guest operating system setting to Linux. See figure 3.
Set Version setting to Other Linux 3.x or later kernel 64-bit.
Click the Next button.
On the Name the Virtual Machine screen, give your new VM a name. See figure 4.
Click the Next button.
On the Specify Disk Capacity screen, click the Next button. Keep the default disk settings unchanged. When we attach the pre-configured Clear Linux OS VMware image, we will remove the default virtual disk and replace it with the pre-configured one. See figure 5.
On the Ready to Create Virtual Machine screen, click the Customize Hardware… button. See figure 6.
Under the Device list, select Processors. See figure 7.
Under the Virtualization engine section, check Virtualize Intel VT-x/EPT or AMD-V/RVI.
To disconnect the virtual CD/DVD (IDE) since it is not needed, under the Device list, select New CD/DVD (IDE). See figure 8.
Under the Device status section, uncheck Connect at power on.
Click the Close button.
Click the Finish button.
Attach the pre-configured Clear Linux OS VMware image¶
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:
- On Linux distros:
/home/username/vmware
- On Windows:
C:UsersusernameDocumentsVirtual Machines
- On Linux distros:
On the VMware Workstation Player home screen, select your newly-created VM. See figure 9.
Click Edit virtual machine settings.
To remove the default hard disk, under the Device list, select Hard Disk (SCSI). See figure 10.
Click the Remove button.
To add a new hard disk and attach the pre-configured Clear Linux OS VMware image, click the Add… button. See Figure 11.
Under the Hardware types section, select Hard Disk.
Click the Next button.
Select your preferred Virtual disk type. See figure 12.
Select the Use an existing virtual disk option. See figure 13.
Click the Browse button and select the pre-configured Clear Linux OS VMware image file. See figure 14.
Click the Finish button.
Note
When asked to convert the existing virtual disk to a newer format, selecting either option works.
Enable UEFI boot support¶
Clear Linux OS needs UEFI support to boot. To enable it, 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
Power on the VM¶
After configuring the settings above, power on your Clear Linux OS virtual machine.
On the VMware Workstation Player home screen, select your VM. See figure 15.
Click Play virtual machine.