Back to all posts
Linux

How to Dual Boot Windows 10 and Arch Linux Safely (2025 Guide)

By Huzi

If you love Windows 10 but also want the power of Arch Linux, dual-booting is the best of both worlds. You can switch between Windows for gaming and Arch for coding.

In this blog, I’ll walk you through how to safely install Arch Linux alongside Windows 10, covering BIOS/UEFI setup, partitioning, and GRUB bootloader installation.

What You’ll Need

  • A USB drive (at least 4GB)
  • Windows 10 already installed
  • Internet connection
  • Arch Linux ISO from the official site
  • A tool like Rufus or Balena Etcher

Step 1: Prepare Windows for Dual Boot

  1. Backup your data. Always first.
  2. Disable Fast Startup & Hibernation:
    powercfg /h off
    
    Then go to Control Panel → Power Options → Choose what power buttons do and uncheck “Turn on fast startup.”
  3. Shrink Windows Partition:
    • Press Win + XDisk Management.
    • Right-click your main drive (C:) and select Shrink Volume.
    • Leave at least 40GB free for Arch Linux. You’ll see unallocated space.

Step 2: Create a Bootable Arch Linux USB

Use Rufus (on Windows):

  • Select your USB and Arch ISO.
  • Set Partition scheme to GPT (for UEFI) or MBR (for BIOS).
  • File System → FAT32.
  • Click Start.

Step 3: Boot Into Arch Linux Installer

  1. Restart your PC and enter BIOS/UEFI (press F2, Del, or Esc).
  2. Disable Secure Boot.
  3. Set your USB as the first boot device.
  4. Boot and choose Boot Arch Linux (x86_64) from the menu.

Step 4: Connect to the Internet

  • Ethernet: ping archlinux.org (should work automatically).
  • Wi-Fi: Use iwctl to connect.

Step 5: Partition the Disk

Run lsblk to find your drive (e.g., /dev/sda). We’ll use cfdisk:

cfdisk /dev/sda

Choose GPT (if UEFI). Now create:

  1. EFI partition (if UEFI): 512MB, Type: EFI System.
  2. Root partition (Linux): Use the unallocated space. Type: Linux filesystem.
  3. (Optional) Swap: 2–4GB, Type: Linux swap.

Write changes and quit.

Step 6: Format Partitions

  • UEFI: mkfs.fat -F32 /dev/sda1
  • Root: mkfs.ext4 /dev/sda2
  • Swap (if made): mkswap /dev/sda3 and swapon /dev/sda3

Step 7: Mount the Partitions

mount /dev/sda2 /mnt
mkdir /mnt/boot
mount /dev/sda1 /mnt/boot

Step 8: Install Base System

pacstrap /mnt base linux linux-firmware vim networkmanager

Generate fstab:

genfstab -U /mnt >> /mnt/etc/fstab

Step 9: Chroot Into the System

arch-chroot /mnt
  • Set timezone: ln -sf /usr/share/zoneinfo/Asia/Karachi /etc/localtime and hwclock --systohc
  • Set locale: Edit /etc/locale.gen, uncomment en_US.UTF-8, run locale-gen, and echo "LANG=en_US.UTF-8" > /etc/locale.conf.
  • Set hostname & password: echo "archpc" > /etc/hostname and passwd.

Step 10: Install GRUB Bootloader

For UEFI systems:

pacman -S grub efibootmgr os-prober
grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=Arch
os-prober
grub-mkconfig -o /boot/grub/grub.cfg

For Legacy BIOS systems:

pacman -S grub os-prober
grub-install /dev/sda
os-prober
grub-mkconfig -o /boot/grub/grub.cfg

GRUB should detect your Windows Boot Manager automatically.

Step 11: Enable Network and Exit

systemctl enable NetworkManager
exit
umount -R /mnt
reboot

Remove the USB when prompted.

Step 12: Boot Menu (Choose OS)

On reboot, you’ll see the GRUB menu with options for "Arch Linux" and "Windows Boot Manager."

Troubleshooting Tips

  • GRUB doesn’t show Windows: Run sudo os-prober then sudo grub-mkconfig -o /boot/grub/grub.cfg.
  • Boots directly into Windows: Go into BIOS and set "Arch/GRUB" as the first boot option.
  • Arch doesn’t boot: Use a live USB, arch-chroot into your system, and reinstall GRUB.

Final Thoughts

Dual-booting Windows 10 and Arch Linux gives you the power to enjoy both ecosystems. If you follow this guide carefully, you’ll have a smooth dual-boot setup with zero data loss.


You Might Also Like


Related Posts

Linux
Fresh Arch Linux Install? Here Are My Top 10 Cozy Setup Tips
A personal, cozy guide to the top 10 essential things to do after installing Arch Linux, from updating your system and enabling multilib to customizing your UI and optimizing performance. Your friendly first steps into a beautiful, personalized Arch setup.

By Huzi

Read More
Linux
Fix: Wi-Fi Not Working After Arch Linux Installation (2025 Guide)
A complete 2025 guide to fix common Wi-Fi issues on Arch Linux after installation. Learn how to enable NetworkManager, install drivers, and troubleshoot your wireless adapter.

By Huzi

Read More
Linux
How to Install Arch Linux on a PC or Laptop (2025 Edition)
A clear, step-by-step guide for moving from Windows to Arch Linux, covering everything from booting the USB to logging into your new Arch desktop.

By Huzi

Read More
Linux
A Beginner's Guide to the Linux World
New to Linux? This guide will walk you through the basics, from understanding what it is to choosing your first distribution and mastering the command line.

By Huzi

Read More
Linux
Fresh Arch Linux Install? My Top 10 Cozy Setup Tips
A personal, cozy guide to the first 10 things to do after installing Arch Linux. Join Huzi as he walks you through updating, enabling multilib, installing an AUR helper like yay, and customizing your desktop.

By Huzi

Read More
Linux
A Beginner's Daydream: Choosing a Desktop for Arch Linux in 2025
A poetic and personal exploration of Arch Linux's best desktop environments in 2025. Join Huzi as he muses on KDE, XFCE, and GNOME, weaving in performance benchmarks with a touch of chai-fueled wonder.

By Huzi

Read More
Legal
How to Report a Cybercrime in Pakistan (2025)
The complete, step-by-step guide for reporting cybercrime to the FIA’s Cyber Crime Wing (CCW) in Pakistan. No lawyer required.

By blogs.huzi.pk

Read More
Lifestyle
Zero Waste Tips for Households in Lahore: Practical Urdu Guide
Lahore — sheher-e-zinda dilaan. Har gali se khushbu, har mohalle se awaaz, aur har ghar se garma-garam chai ki mehak. Lekin isi khoobsurat sheher ke saath ek aur sach bhi juda hai — roz hazaaron ton kachra sadkon, nalaon aur landfill sites par chala jata hai. Ab waqt aa gaya hai ke hum apne ghar se hi tabdeeli shuru karein — chhoti chhoti aadaton ke zariye.

By Huzi

Read More
Linux
KDE vs XFCE vs GNOME: Arch Linux Desktop Environments in 2025
A detailed comparison of KDE Plasma, XFCE, and GNOME on Arch Linux in 2025. This guide covers features, performance benchmarks (RAM and CPU usage), and recommendations to help you choose the best DE for your hardware and workflow.

By Huzi

Read More
Lifestyle
Food Trends to Watch in 2025: Sustainability, Protein & Global Flavors
The plate of tomorrow is crunchy, climate-smart and passport-ready.

By Huzi

Read More
Education
AIOU Admissions 2025: Step-by-Step Tips for Distance Learners in Pakistan
A detailed guide on Allama Iqbal Open University (AIOU) admissions for 2025, covering the application process, fee details, and essential tips for distance learners in Pakistan.

By Huzi

Read More