Files
clear-linux-documentation/source/vm-vmware-player.rst
T
2016-07-12 08:49:18 -07:00

100 lines
3.0 KiB
ReStructuredText

.. _vm-vmware-player:
Using *VMware* Player
#####################
This section explains how to run Clear Linux OS for Intel® Architecture
within a `VMware* Player`_ environment.
Install VMware Player
=====================
VMware* Workstation Player, formerly VMware Player, is a virtualization
software package for x64 computers running Microsoft Windows or Linux. Download
VMware player from the `VMware website`_.
Player on Linux
---------------
For the Linux option, you should have a ``VMware-Player-[version]_FILE.bundle`` file. To
install it, run:
::
$ sudo bash ./VMware-Player-[version].x86_64.bundle
Player on Windows
-----------------
Follow the instructions from the Setup Assistant.
Prepare Image
=============
#. Download the `latest`_ Clear Linux OS for Intel Architecture **live**
disk image, named ``[clear-[version_number]-live.img.xz]``.
#. Decompress the image. Uncompressed image size ~ **5GB**.
* On Linux ::
$ unxz clear-VERSION-live.img.xz
* On Windows you can use `7zip`_.
#. Convert the installer to :abbr:`VMDK (Virtual Machine Disk)` format.
* On Linux, you can use ``qemu-img convert``::
$ qemu-img convert -O vmdk clear-VERSION-live.img clear.vmdk
* On Windows, you can convert the live image to vmdk format (from raw format to vmdk)
with a tool like VBoxManage from `VirtualBox`_.
Run using VMware* Player
========================
#. Create a new virtual machine.
#. Click on “Create a new Virtual Machine”.
* Select “**I will install the operating system later**”, and click on “Next”.
* Select “**Linux**” as “Guest operating system” and version **Other Linux 3.x kernel 64-bit**.
* Type a name for the new virtual machine.
* Perform the *remaining steps* using the default options.
#. Change boot type to EFI. You must change the VMware virtual machine *configuration*
to **Support EFI firmware**; you can do this by editing the configuration ``.vmx``
file located in the virtual machine folder and adding the following line::
firmware = "efi"
#. Attach the prepared image as SATA disk. And when you have a new virtual machine,
edit its configuration as follows:
* Click on “Edit virtual machine settings”.
* Remove any default attached hard disk.
* Click on “Add” option below devices list tab and choose Hard disk.
* Choose **SATA** as the virtual disk type.
* Use the existing Clear Linux OS for Intel Architecture virtual disk
The live disk must be set as ``SATA 0:1 Hard Disk (SATA)``; you can verify
this under the “Advanced" section of the disk settings.
Start the virtual machine
=========================
After configuring the settings above, start the virtual machine.
.. _VMware website: https://www.vmware.com/products/player/playerpro-evaluation.html
.. _VMWare Player: http://www.vmware.com/products/player/
.. _latest: https://download.clearlinux.org/image/
.. _7zip: http://www.7-zip.org/
.. _VirtualBox: https://www.virtualbox.org/