Skip to content

Instantly share code, notes, and snippets.

@halfninja
Last active January 10, 2024 18:33
Show Gist options
  • Save halfninja/9b5fee5bfa0004758f564039ec8344de to your computer and use it in GitHub Desktop.
Save halfninja/9b5fee5bfa0004758f564039ec8344de to your computer and use it in GitHub Desktop.
Dual Booting Ubuntu with LUKS2

This guide is based on Mike Kasberg's guide so give thanks to him for the bulk of this. I've just customised for our situation and to avoid having to reinstall the Windows that we are provided with.

Overview

Here's broadly what we'll do:

  1. Disable Bitlocker on Windows
  2. Run the official Ubuntu graphical installer for (unencrypted) dual boot
  3. Delete the Ubuntu partition and replace it with the encrypted partition setup
  4. Install Ubuntu onto these partitions
  5. Re-enable Bitlocker

Step 0: notes

We don't need to worry about setting up a new partition table because we know it's already set up in GPT format.

You will need to know the device path of your hard disk. For a Dell laptop with an SSD it's likely /dev/nvme0n1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment