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
Create New Virtual Machine
From Hyper-V, select Action → New → Virtual Machine.
Configure VM Name
Provide a name for your VM and press Next >.
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.
Configure Memory
Change memory size if desired, then press Next >.
Configure Network
Select a virtual switch, then press Next >.
Create Virtual Hard Disk
- Select Create a virtual hard disk
- Choose a location for your VHD(X)
- Set your desired disk size
- Press Next >
Attach ISO
- Select Install an operating system from a bootable image file
- Browse to your Azure Linux ISO
- Press Finish
If you selected Generation 2, you need to configure the boot options:
Open VM Settings
Right-click your virtual machine from Hyper-V Manager and select Settings….
Configure Security
Select Security and under Template: select Microsoft UEFI Certificate Authority.
Configure Boot Order
Select Firmware and adjust the boot order so DVD is first and Hard Drive is second.
Apply Changes
Select Apply to apply all changes.
Install Azure Linux
Connect to VM
Right-click your VM and select Connect….
Start VM
Select Start to boot the VM.
Follow Installer
Follow the installer prompts to install your image.
Restart After Installation
When installation completes, select restart to reboot the machine. The installation ISO will be automatically ejected.
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.