Environment
Ubuntu Server 24.04.3 LTS with the HWE kernel (6.14.0‑36‑generic) running on a Windows Server 2025 Hyper-V
Task
Install the latest linux‑azure kernel that is supported by Livepatch (Kernels covered by Livepatch | Ubuntu). Then ensure that future updates to newer releases within the 6.11 series can be obtained automatically via apt update . This kernel allows production checkpoints to be created using Hyper-V.
Symptoms
apt update && apt install linux-azure Installs kernel 6.14, which is not supported by Livepatch. Documentation: Kernels covered by Livepatch | Ubuntu
Supported Ubuntu virtual machines on Hyper-V | Microsoft Learn
apt update && apt install linux-azure-6.11 Installs kernel 6.11.0‑1018, but it never upgrades to the latest Livepatch‑supported version (tested further down this post with manual install of 6.11.0‑1017; the newest Livepatch‑supported kernel is 6.11.0‑1018). Running apt update afterward does not propose the newer package. Reference: apt search linux-azure grep 6.11
What I’ve Tried:
- Standard install –
apt install linux-azure(see Supported Ubuntu virtual machines on Hyper-V | Microsoft Learn). Result: kernel 6.14 installed, not Livepatch‑compatible. - Manual installation of the 6.11.0-1017 – Installed the following packages manually:
linux-azure-6.11-cloud-tools-6.11.0-1017linux-azure-6.11-headers-6.11.0-1017linux-azure-6.11-tools-6.11.0-1017linux-image-unsigned-6.11.0-1017-azurelinux-modules-6.11.0-1017-azurelinux-modules-extra-6.11.0-1017-azure
- Removed the newer kernel –
apt remove linux-image-6.14.0-1014-azure(see How can I downgrade the kernel version of ubuntu on azure VM? - Microsoft Q&A). After rebooting, the system still boots the generic kernel6.14.0-36-generic. - Adjusted GRUB – Edited
/etc/default/grub:
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=5
Ran update-grub. Then manually selected the linux-azure kernel 6.11.0‑1017 at boot. No upgrade to 6.11.0‑1018 was offered after running apt update.