Skip to content

Instantly share code, notes, and snippets.

View agcom's full-sized avatar

Alireza Ghasemi agcom

View GitHub Profile
@kirbah
kirbah / dual-boot-windows-and-ubuntu-with-luks-tpm2-encryption.md
Last active November 8, 2025 17:40
Dual booting Windows 11 and Ubuntu 22.04 LTS with LUKS and TPM2 encryption

Dual booting Windows 11 and Ubuntu 22.04 LTS with LUKS and TPM2 encryption

Note

Ubuntu 24.04 Compatibility

This guide is not compatible with Ubuntu 24.04 and a clear migration path from the Ubuntu 22.04 setup described here is not available. A guide for Ubuntu 24.04 has not been prepared.

The major differences in Ubuntu 24.04 are:

  • LUKS Setup: The setup for LUKS during installation is tricky and requires the following steps:
    1. When you get to the "Disk setup" step, select "Erase disk and install Ubuntu".