Clear Linux* OS on Microsoft Hyper-V*¶
This page explains how to run a Clear Linux* OS VM on a Microsoft* Hyper-V* hypervisor.
Clear Linux OS provides a virtual disk image for Hyper-V, which also includes a Hyper-V specific kernel and drivers.
- Enable virtualization on the host system from EFI/BIOS, such as:
- Install Hyper-V on the appropriate Windows operating system:
- Configure the appropriate virtual networking in Hyper-V:
clear-[VERSION]-hyperv.vhdx.gzfor Microsoft* Hyper-V from the downloads website.
Verify and extract the image using these instructions: Download, verify, and decompress a Clear Linux* OS image.
After extraction, the file should be named
Open the Hyper-V Manager from the Start menu.
Figure 1: Hyper-V Manager from the Start menu
Create a New Virtual Machine by clicking the Action menu, then selecting New and Virtual Machine….
Figure 2: New Virtual Machine in Hyper-V Manager
Follow the New Virtual Machine Wizard to create a new virtual machine specifying the options below:
- Name: Choose name (for example, ClearLinuxOS-VM)
- Generation: Generation 2
- Startup memory: 2048 MB or more
- Connect Virtual Hard Disk: Select Use an existing virtual
hard disk and browse to find the
After finishing the wizard, the VM will be created but not powered on.
Configure the VM by right-clicking it in the Hyper-V Manager and selecting Settings…. Figure 3 shows the Settings page after configuration selections.
- Under Firmware, select the Virtual disk and click Move Up… until it is at the top of the list.
- Under Security, uncheck the Enable Secure Boot checkbox.
- Under Processor, consider increasing the number of virtual processors assigned to the Clear Linux OS VM to improve performance.
Figure 3: Clear Linux OS VM Settings page after configuration
Click Apply at the bottom of the VM Settings screen.
Click OK at the bottom of the VM Settings screen.
Start the Clear Linux OS VM by right-clicking the VM in Hyper-V Manager and selecting Start.
Connect to the VM console by right-clicking the VM in Hyper-V Manager and selecting Connect…. A new Virtual Machine Connection window is displayed.
After Clear Linux OS is booted, log in to the console with user root. You are prompted to set a new password immediately.
> User: root
Clear Linux* OS on Microsoft Hyper-V* is ready for use.