Use Hyper-V*
This page explains how to run Clear Linux* OS inside a Windows Server Virtualization* or Hyper-V environment.
Prerequisites
- Enable Intel® Virtualization Technology (Intel® VT)
- Enable Intel® Virtualization Technology for Directed I/O (Intel® VT-d) in your BIOS/UEFI firmware configuration.
Enable Hyper-V
Please refer to Install Hyper-V on Windows 10 to enable and configure Hyper-V on your machine.
Create a virtual network
Once Hyper-V has been enabled on your Windows system you will need to create a virtual network in the Hyper-V Manager. Refer to the Create a virtual network documentation to create and configure a virtual network.
Create a virtual machine
Download and decompress the latest hyperv disk image
clear-XXXXX-hyperv.img.gz, where XXXXX is the latest available version of Clear Linux OS from our Downloads page.Create a virtual machine using the Hyper-V Manager:
- Choose Generation 2 when prompted to specify VM generation.
- Choose Use an existing virtual hard disk and browse to find the
clear-XXXX-hyperv.vhdxfile. - When finished, open VM settings, select Firmware Section and in Secure Boot config, uncheck Enable Secure Boot.
Note
Currently, Clear Linux OS does not boot with secure boot enabled.
Connect to your new VM and start it. You should see a prompt:
> User: rootSet a root user password.
Your virtual machine running Clear Linux OS is ready!