How to Install Ubuntu 24.04 LTS Step by Step (Dual-Boot Guide)

This guide installs Ubuntu 24.04 LTS next to Windows 11, so each start offers a choice between the two systems. It covers the parts most plain install guides skip: BitLocker, Secure Boot, shrinking the Windows partition safely, and the three boot failures people actually hit afterwards. Allow about 20 to 30 minutes for the install, and about the same again for preparation.

Ubuntu 24.04 LTS was released in April 2024 and receives standard security maintenance until April 2029. The current install media is the 24.04.5 point release from September 2026. If the file you download is named 24.04.5.1, that is the corrected desktop image issued after the first 24.04.5 image was briefly withdrawn over an installer crash with the Extended software selection. Choose the Default selection during setup and that problem does not arise.

What you need before you start

  • A Windows 11 PC (normally UEFI mode with a GPT partition layout).
  • At least 25 GB free for Ubuntu; 60 to 100 GB works better in practice.
  • A USB flash drive of 8 GB or more. Everything on it will be erased.
  • A backup of files that matter, kept off this PC.
  • Your BitLocker recovery key, reachable from another device.
  • A wired connection or Wi-Fi password, for updates and drivers.

If you are still weighing Ubuntu against its closest beginner alternative, the comparison of Linux Mint vs Ubuntu for beginners sets out where each one fits. Decide the split before opening Disk Management: 50 GB for a trial, 80 to 100 GB for daily use, and leave Windows at least 40 GB free for its own updates.

Step 1: Save your BitLocker recovery key

BitLocker is the encryption built into Windows. Many Windows 11 PCs have it on without any obvious sign, including Home machines, where it is called device encryption. When BitLocker is active, the Ubuntu installer cannot read the Windows partition layout, so it cannot safely set up a side by side install. Canonical states this in its own install tutorial: with BitLocker enabled, the installer cannot access the encrypted Windows installation, so turn BitLocker off or install Ubuntu on a separate unencrypted disk. This guide takes the first option, since most dual boot PCs have a single drive.

Before touching BitLocker, save the recovery key: a 48 digit number, in eight groups of six digits, and the only way back into Windows if the system asks for it after a boot change.

  • On a personal PC, open a browser on another device and go to aka.ms/myrecoverykey. Sign in with the Microsoft account used on the PC, match the key ID, and save that 48 digit key somewhere safe off the PC.
  • On a work or school PC, the organisation usually holds the key: ask the IT help desk, and do not partition a managed PC without it.
  • To check the state on the PC, open Command Prompt as administrator and run manage-bde -status C: . The output shows whether protection is on, and whether decryption is still in progress.

If no recovery key can be found anywhere, stop here: there is no way to regenerate a lost BitLocker key, and neither Microsoft nor the PC maker can recover it.

Step 2: Turn BitLocker off and switch off Fast Startup

With the recovery key stored, turn BitLocker off. Open Settings and search for Manage BitLocker, or Control Panel, then System and Security, then BitLocker Drive Encryption. Select Turn off BitLocker for the Windows drive and wait until Windows reports that decryption is complete, often 20 minutes to over an hour on a large drive. Wait for decryption to finish before starting the installer: suspending protection leaves the drive encrypted.

On Windows 11 Home, the same setting may appear as device encryption under Settings, then Privacy and security. If it shows encryption is on, turn it off there, wait for decryption to finish, then restart once and check files open normally.

Next, switch off Fast Startup, a hybrid shutdown that saves part of Windows state to disk instead of shutting down fully. That can leave the Windows partition in a state Linux cannot safely mount, and it is a common cause of a missing GRUB menu later. Turn it off at Control Panel, then Hardware and Sound, then Power Options, then Choose what the power buttons do. Click Change settings that are currently unavailable, untick Turn on fast startup, and save, or run powercfg /hibernate off in an administrator Command Prompt for the same result.

See also  The 6 Best Linux Desktop Environments in 2026 (A Guided Tour)

Step 3: Shrink Windows to make room for Ubuntu

Make the free space from inside Windows, not from the Ubuntu installer: Disk Management refuses to shrink past Windows own unmovable files. Right click Start, choose Disk Management, right click the C: volume, and select Shrink Volume. Enter the amount to remove in megabytes: 102400 MB frees 100 GB. Click Shrink, and the freed area appears as a black bar labelled Unallocated. Leave it unallocated: do not format it. The Ubuntu installer claims unallocated space during setup.

Diagram of a disk before and after shrinking Windows: the EFI system partition and Windows C: drive stay untouched, and the freed space becomes unallocated space for Ubuntu
Shrinking Windows frees unallocated space for Ubuntu.

If Windows offers far less shrink space than the drive has free, unmovable files are in the way, usually the paging file, hibernation data, or restore points. Turning off hibernation removes one; turning off System Protection for the C: drive and deleting old restore points clears another. After each change, try Shrink Volume again. Never force a shrink with a third party partition tool.

Step 4: Download Ubuntu and make the bootable USB

Download the official Ubuntu 24.04 LTS desktop image for a 64 bit PC. The file is large, around 6 GB, so use a stable connection. When it finishes, check the file name: it should read something like ubuntu-24.04.5.1-desktop-amd64.iso. A 24.04.4 file is also fine, because updates after install bring it to the same state. Download only from ubuntu.com.

On Windows, write the image with Rufus, the small free utility from rufus.ie that Canonical recommends. Install it and insert the USB drive. Check the Device field shows the USB drive, because writing the image erases the selected drive completely. Click Select next to Boot selection, choose the Ubuntu ISO file, and confirm. If Rufus offers a choice, pick Write in ISO Image mode. Leave the partition scheme at GPT and the target system at UEFI (non CSM). Click Start, confirm the warning, and wait until the status bar reads READY, usually about 10 minutes.

Step 5: Boot the USB in UEFI mode

Restart the PC with the USB drive still plugged in. Most PCs briefly show which key opens the boot menu: F12 is the most common on Windows PCs, with Escape, F2, and F10 as alternatives. Press it as soon as the maker logo appears. In the boot menu, select the USB drive entry that mentions UEFI: if the USB boots in legacy mode while Windows is installed in UEFI mode, the installer may not offer the alongside option. If the menu lists the same USB drive twice, pick the UEFI entry.

If no boot menu key works, reach the firmware from inside Windows: open Settings, then System, then Recovery, and under Advanced startup click Restart now. Choose Troubleshoot, then Advanced options, then UEFI Firmware Settings, then Restart. Check that the boot mode is UEFI rather than Legacy or CSM, and that Secure Boot is on. Ubuntu supports Secure Boot on 64 bit PCs through a Microsoft signed shim that starts GRUB.

One warning can stop the install before it starts: some PCs use Intel RST, or Rapid Storage Technology, to manage the disk, and Ubuntu cannot see a disk running in that mode. Switch the storage controller to AHCI mode in the firmware and try again.

Step 6: Run the installer and choose Install alongside Windows

The installer opens with language, accessibility, and keyboard layout screens. Pick your language and keyboard, connect to the network, and choose Install Ubuntu rather than Try Ubuntu. Choose Interactive installation, the standard route, and the Default selection, which installs the essentials and leaves the rest to the App Center. On the third party software screen, enable both options, so drivers and media formats are included.

See also  Best Linux Distro for Old Laptop: A Practical Guide to Reviving Your Aging Hardware
Flow diagram of the Ubuntu 24.04 installer screens in order: language, keyboard, network, install choice, Default selection, disk setup alongside Windows, account, timezone, and install
The installer screens in order.

The disk setup screen is where a wrong click can erase Windows, so read it slowly. Erase disk and install Ubuntu removes everything on the selected drive, including Windows, and is the wrong choice for a dual boot. Manual installation is for expert users. The correct choice is Install Ubuntu alongside another operating system: the installer shows the drive and a control for how much space Ubuntu should use. Check that the drive shown is the one holding Windows, set Ubuntu’s share to the amount freed in Step 3, and confirm the summary describes preserving the existing files. If the alongside option is missing, stop: the usual causes are BitLocker still being on, the USB having booted in legacy mode, or Intel RST. Fix the cause and restart the installer.

After the disk choice, the installer asks for a name, a computer name, a user name, and a strong password, and whether to require the password at login. Keep the password requirement on. Then pick the timezone. The final screen summarises the configuration: check the disk, the space allocation, and the user name once more, then click Install. When it finishes, click Restart Now, remove the USB drive when prompted, and press Enter.

First boot: the GRUB menu, updates, and drivers

On the first restart, a menu called GRUB should appear for a few seconds, offering Ubuntu and Windows Boot Manager. Use the arrow keys to pick a system and press Enter; Ubuntu is the default if nothing is chosen. Log in, then open Software Updater and install the remaining updates. This first pass can be large, so let it finish before judging speed or stability.

Next, check drivers in Settings, then Additional Drivers: on many NVIDIA systems the proprietary driver performs noticeably better. Check that Wi-Fi, sound, and Bluetooth work. If the GNOME desktop feels unfamiliar after a few days, that is normal: the guide to the best Linux distros for beginners explains what each beginner friendly option does differently.

When it goes wrong: the three boot failures and their fixes

Most dual boot installs work first time. When they do not, the failure is almost always one of three problems, and the Ubuntu system and its files are usually untouched: only the boot path needs repair.

The PC boots straight into Windows

This is the most common failure: the firmware boot order puts Windows Boot Manager above the ubuntu entry. Open the one time boot menu with the key used in Step 5, usually F12, and look for an entry named ubuntu. If it is there, select it: Ubuntu should start. Then fix the order permanently: restart into the firmware settings, open the Boot section, and move the ubuntu entry above Windows Boot Manager. The screen usually shows which keys move an entry. Save with F10 and restart.

If the firmware screens offer no way to reorder entries, set the same result from inside Windows: open Command Prompt as administrator and run bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi , which points the Windows boot manager at Ubuntu’s signed shim loader. Restart, and GRUB should appear. Keep the BitLocker recovery key close, because boot changes can trigger a recovery prompt on an encrypted drive.

The ubuntu boot entry is gone

When no ubuntu entry exists anywhere, GRUB itself needs reinstalling onto the EFI system partition, the small FAT32 partition holding the boot loaders. Boot from the Ubuntu USB drive and choose Try Ubuntu. Open a terminal and identify the partitions with lsblk -f : the Ubuntu root partition is the large Linux partition, and the EFI system partition is the small FAT32 one, usually a few hundred megabytes. Mount the Ubuntu partition and the EFI partition at boot/efi inside it, then reinstall GRUB for UEFI and update its configuration so it detects Windows. Use the actual partition names shown by lsblk: sda2 and sda1 below are examples, and NVMe drives use names like nvme0n1p2 instead.

  • sudo mount /dev/sda2 /mnt
  • sudo mount /dev/sda1 /mnt/boot/efi
  • sudo mount –bind /dev /mnt/dev, then the same bind for /proc, /sys, and /run
  • sudo chroot /mnt
  • grub-install –target=x86_64-efi –efi-directory=/boot/efi –bootloader-id=ubuntu
  • update-grub, then exit and restart
See also  Linux Lite vs Lubuntu: Which Is the Best Lightweight OS for an Old Laptop?

A simpler alternative is Boot-Repair, a free utility that runs from the live USB and repairs the boot loader automatically. Either route ends the same way: restart, open the one time boot menu, and confirm the ubuntu entry is back.

Decision diagram for a missing boot menu: check the one time boot menu, then move ubuntu up the boot order, or repair GRUB from the live USB if the entry is gone
Most missing menus are a boot order problem, not a broken install.

A Windows update takes over the boot again

Windows updates, especially large feature updates, sometimes move Windows Boot Manager back to the top of the firmware boot order, so a working GRUB menu disappears and the PC starts Windows directly. Ubuntu is still installed: open the firmware boot order and move ubuntu back above Windows Boot Manager, or use the bcdedit command from Windows. After a major Windows update, restart once and check the menu is still there. If the menu appears but Windows is missing, boot into Ubuntu and run sudo update-grub, which scans the disk again and adds Windows back. If BitLocker asks for its recovery key, enter the 48 digit key saved in Step 1.

After the install: BitLocker and Fast Startup

Two settings from the preparation steps deserve a decision now that Ubuntu is installed. BitLocker can go back on: open the BitLocker settings in Windows and turn device encryption back on for the Windows drive. It encrypts only the Windows partition, Ubuntu is untouched, and the 48 digit recovery key you saved in Step 1 still works, so keep it somewhere safe. If the PC ever asks for the key at startup after a firmware change, that is normal behaviour, not a problem with the dual boot.

Fast Startup is the one to leave off. It works by hibernating the Windows kernel session instead of shutting Windows down fully, which leaves the Windows partition locked. With the lock in place, Ubuntu cannot mount the Windows drive, and the GRUB menu can behave oddly after a Windows session. The cost of leaving it off is a few extra seconds on a cold Windows start, and the benefit is a dual boot that behaves the same way every time. If the PC is a laptop, the battery cost is negligible: a powered-off PC draws nothing either way.

One last check closes the job. Restart the PC, confirm the GRUB menu appears, boot Windows once and confirm it starts normally, then restart and boot Ubuntu once and confirm the same. If both systems start cleanly from the menu, the dual boot is done. Keep the USB drive: it is the live environment you need for every repair in the section above, and it costs nothing to keep in a drawer.

Done properly, a dual boot is a quiet arrangement: Windows stays exactly where it was, Ubuntu gets its own space, and the few seconds at the GRUB menu are the only reminder that two systems share one PC. Leave Fast Startup off, shut Windows down fully, and keep the USB drive safe: it is the repair tool for every boot problem above. The preparation is the work. The install is the easy part.

Lokesh Sharma
Scroll to Top