Skip to main content
The Azure Linux ISO may work in some bare-metal scenarios, but is generally intended for installation to a Virtual Machine. This guide walks you through creating a VM and installing Azure Linux from the ISO.

Download the ISO

First, download the Azure Linux 3.0 x86_64 ISO

Create Virtual Machine with Hyper-V

1

Create New Virtual Machine

From Hyper-V, select Action → New → Virtual Machine.
2

Configure VM Name

Provide a name for your VM and press Next >.
3

Select Generation

Select Generation 1 (VHD) or Generation 2 (VHDX), then press Next >.
Generation 2 VMs use VHDX format and support UEFI boot. Generation 1 VMs use VHD format with legacy BIOS boot.
4

Configure Memory

Change memory size if desired, then press Next >.
5

Configure Network

Select a virtual switch, then press Next >.
6

Create Virtual Hard Disk

  1. Select Create a virtual hard disk
  2. Choose a location for your VHD(X)
  3. Set your desired disk size
  4. Press Next >
7

Attach ISO

  1. Select Install an operating system from a bootable image file
  2. Browse to your Azure Linux ISO
  3. Press Finish

Configure Boot Options (Generation 2 / VHDX Only)

If you selected Generation 2, you need to configure the boot options:
1

Open VM Settings

Right-click your virtual machine from Hyper-V Manager and select Settings….
2

Configure Security

Select Security and under Template: select Microsoft UEFI Certificate Authority.
3

Configure Boot Order

Select Firmware and adjust the boot order so DVD is first and Hard Drive is second.
4

Apply Changes

Select Apply to apply all changes.

Install Azure Linux

1

Connect to VM

Right-click your VM and select Connect….
2

Start VM

Select Start to boot the VM.
3

Follow Installer

Follow the installer prompts to install your image.
4

Restart After Installation

When installation completes, select restart to reboot the machine. The installation ISO will be automatically ejected.
5

Sign In

When prompted, sign in to your Azure Linux using the username and password provisioned through the installer.
The installer will guide you through partitioning, user creation, and other system configuration options.

Build docs developers (and LLMs) love