Want to enjoy both Linux and Windows on the same machine? This guide to dual boot Ubuntu and Windows 11 will show you exactly how to set it up—safely and efficiently. Whether you’re a developer, student, or just curious, dual booting gives you flexibility without losing your existing OS.
Why Dual Boot?
- Best of both worlds: Use Linux for development and Windows for apps or games
- No need for virtualization: Run both systems natively for better performance
- Keep your existing data: No need to wipe your drive
Let’s dive into the full setup.
What You’ll Need
Before you begin:
- A PC already running Windows 11
- At least 30GB of free disk space
- A USB drive (8GB or more)
- An Ubuntu ISO image (Download from ubuntu.com)
- Rufus or BalenaEtcher to create a bootable USB
- Basic familiarity with BIOS/UEFI settings
Important: Backup your data before starting. Dual booting involves disk partitioning.
Step 1: Prepare the Ubuntu Bootable USB
- Download the latest Ubuntu ISO (e.g., Ubuntu 24.04 LTS).
- Plug in your USB stick.
- Use Rufus (Windows) or Etcher (cross-platform) to flash the ISO to the USB.
- Ensure it’s written in GPT + UEFI mode for compatibility with Windows 11.
Step 2: Shrink the Windows Partition
- Open the Disk Management tool (
Win + X> Disk Management). - Right-click your main Windows partition (usually C:) and choose Shrink Volume.
- Shrink at least 30GB (more if you plan to use Ubuntu extensively).
- Leave the new space unallocated.
Do not format it—Ubuntu’s installer will handle that.
Step 3: Disable Fast Startup and BitLocker
These features can interfere with Linux installation.
- Go to Control Panel > Power Options > Choose what the power buttons do
- Click Change settings that are currently unavailable
- Uncheck Turn on fast startup
- If BitLocker is enabled, suspend it temporarily
Step 4: Boot into the Ubuntu USB
- Reboot your PC and enter the BIOS/UEFI (usually by pressing
F2,F10,Del, orEsc) - Change the boot order to boot from USB first
- Select Try Ubuntu (don’t install yet—test if everything works)
Step 5: Install Ubuntu Alongside Windows 11
- Double-click the Install Ubuntu icon
- Choose Install Ubuntu alongside Windows Boot Manager (recommended)
- If this option isn’t visible, select Something else
- Manually assign the free space to
/(root) and swap area (optional)
- Follow the steps to install and set your username/password
- Choose the same time zone and keyboard layout as Windows
- Begin installation and let Ubuntu handle the bootloader
Step 6: Reboot and Choose Your OS
Once installation finishes:
- Remove the USB drive when prompted
- On restart, you’ll see the GRUB bootloader
- Choose Ubuntu or Windows Boot Manager to start either OS
GRUB is installed automatically and manages your dual boot menu.
Troubleshooting Common Issues
- GRUB not appearing: Boot into Ubuntu live USB, run
sudo update-grubor reinstall GRUB - Wrong time in Windows: Use
timedatectl set-local-rtc 1in Ubuntu - Secure Boot errors: Disable Secure Boot in UEFI settings
Can I Undo the Dual Boot Setup?
Yes. If you change your mind:
- Boot into Windows
- Use Disk Management to delete the Ubuntu partitions
- Reclaim the space and restore the Windows bootloader with: bashCopyEdit
bootrec /fixmbr bootrec /fixboot - Restart—Ubuntu will be gone, and Windows will load normally
This complete guide to dual boot Ubuntu and Windows 11 helps you switch between two powerful operating systems on one device. Ubuntu is perfect for coding, security, and performance. Windows remains essential for gaming, MS Office, and Adobe tools.
With the right setup, you’ll enjoy the best of both—without compromise.






