Dual Booting Ubuntu 22.04 and Windows 11: Partition Specific Drive

Abstract: Resolve BIOS conflicts and Secure Boot issues when dual booting Ubuntu 22.04 and Windows 11 on separate physical drives by configuring a shared EFI partition or correct GRUB chainloading.

Created: 2026-10-09 by

To dual boot Ubuntu 22.04 and Windows 11 on separate physical drives, install Windows first on your primary NVMe SSD, then install Ubuntu on the secondary drive while ensuring both share a single EFI System Partition (ESP) or configuring GRUB to chainload Windows correctly. This approach prevents BIOS conflicts, maintains Secure Boot compatibility, and ensures reliable boot selection without disabling critical security features.

Preparation and Drive Strategy

The foundation of a stable dual-boot system lies in correct installation order and hardware configuration. Windows must be installed before Ubuntu because Windows bootloader is often non-compliant with UEFI standards and may overwrite the EFI partition if installed second. Start by installing Windows 11 on your primary drive, typically the faster NVMe SSD. During this process, create only the necessary partitions for Windows, leaving ample unallocated space on that drive if you intend to use it for shared data, though keeping OSes strictly separated on different physical disks is cleaner.

Before touching Ubuntu, verify your BIOS settings. Ensure Secure Boot is enabled to maintain system integrity, as modern Ubuntu kernels support Secure Boot out of the box. Disable Fast Startup in Windows Control Panel under Power Options; this feature locks the NTFS filesystem when shutting down, which can cause data corruption if accessed from Linux. Additionally, ensure the SATA operation mode in BIOS is set to AHCI rather than RAID or Intel RST, unless you have specific driver requirements, as AHCI provides better compatibility for Linux storage drivers.

Creating the Ubuntu Installation Media

Download the Ubuntu 22.04 LTS ISO from the official website and create a bootable USB stick using a tool like Rufus or BalenaEtcher. When creating the media, select the GPT partition scheme and UEFI target to match your Windows installation. This ensures the USB stick is recognized as a bootable device in the same manner as your internal drives. It is crucial to disconnect the Windows drive during the Ubuntu installation if you want to force the creation of a separate EFI partition, but for most users, connecting both drives allows the installer to detect the existing ESP automatically.

If you choose to keep both drives connected, the Ubuntu installer will present an option to install alongside Windows Boot Manager. However, for precise control over partitioning, select "Something Else" in the installation type menu. This manual partitioning method allows you to assign specific mount points and ensure that the EFI partition is mounted correctly at /boot/efi. If you have two separate EFI partitions due to previous installations, delete the old one or merge them into a single shared partition to avoid confusion in the boot menu.

Manual Partitioning for Separate Drives

In the manual partitioning screen, identify your Ubuntu target drive. Create a new partition table for this drive if it is blank. You need at least two partitions: one for the root filesystem and one for swap. The root partition should be formatted as ext4 and mounted at /. A common recommendation is to allocate 50-100GB for the root partition depending on your software needs. For swap, you can either use a dedicated swap partition or a swap file later; however, creating a swap partition during installation is straightforward and effective.

The most critical step is handling the EFI partition. If your Windows drive has an existing FAT32 EFI partition, do not format it. Instead, mount it at /boot/efi on the Ubuntu side. This shares the bootloader environment between both operating systems. If you prefer complete isolation, you can create a new small FAT32 partition (300MB) on the Ubuntu drive and mount it at /boot/efi, but this requires configuring GRUB to chainload the Windows bootloader manually. Sharing the ESP is generally safer and simpler for UEFI systems, as it allows the firmware to see both entries in the boot manager list.

Configuring the Bootloader

After partitioning, ensure the "Device for boot loader installation" is set to the EFI partition. If you are sharing the ESP, this will be the partition on the Windows drive. Once installation completes, reboot into Ubuntu. Open a terminal and run sudo update-grub. This command scans all connected drives for operating systems and adds Windows to the GRUB menu. If Windows does not appear, check that the ESP is mounted correctly and that the Windows bootloader files exist in /boot/efi/EFI/Microsoft.

Post-Installation Configuration

With both systems installed, you can manage boot priorities from within Ubuntu using efibootmgr. List current boot entries with efibootmgr and reorder them using efibootmgr -o [order] if you prefer one OS to load by default. Alternatively, you can change the boot priority directly in the BIOS/UEFI setup utility every time you start the computer. Many users find it easier to press F12 or F8 during startup to select the boot device manually, avoiding any potential conflicts between the two bootloader managers.

It is also advisable to install os-prober if it is not already present, as it helps detect other operating systems on the disk. Run sudo apt install os-prober and then sudo update-grub again. This ensures that any future changes to Windows updates or partitions are reflected in the GRUB menu. Regularly updating both systems keeps the kernel and bootloader compatible, reducing the risk of boot failures after major updates.

Frequently Asked Questions

Can I use Secure Boot with Ubuntu 22.04?

Yes, Ubuntu 22.04 supports Secure Boot natively. You do not need to disable it in the BIOS, which helps protect against bootkits and unauthorized modifications. If you encounter issues, ensure you are using the standard Ubuntu repositories and not third-party PPA packages that might lack proper signing.

What happens if I accidentally format the Windows EFI partition?

Formatting the shared EFI partition will remove the Windows bootloader entry, making Windows unbootable until repaired. You would need to use the Windows installation media to repair the boot sector. Always double-check the partition type and mount point before formatting to prevent accidental data loss.

How do I switch between Ubuntu and Windows at startup?

You can select your desired OS from the GRUB menu that appears shortly after powering on the machine. If GRUB does not appear, hold Shift or Esc during boot to reveal it. You can also adjust the timeout in /etc/default/grub to give yourself more time to make a selection.

Is it safe to keep both drives connected during daily use?

Yes, it is safe to keep both drives connected. However, ensure that Windows Fast Startup is disabled to prevent NTFS lock issues. Linux handles multiple drives well, and having them connected allows GRUB to detect Windows updates or changes automatically.

Why does my computer boot straight into Windows instead of showing the menu?

This usually indicates that the UEFI boot order prioritizes the Windows drive over the Ubuntu drive. You can change this in the BIOS/UEFI settings by moving the Ubuntu drive or its EFI entry to the top of the boot priority list. Alternatively, use efibootmgr in Ubuntu to reorder the boot entries permanently.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More