Huzi Blogs
Blog
Blog
Disclaimer & Data Privacy Policy
Project by huzi.pk

© 2026 blogs.huzi.pk. All Rights Reserved.

    Back to all posts
    Linux

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

    By Huzi

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

    In this blog, I'll walk you through "" step-by-step "" how to safely install Arch Linux alongside Windows 10, covering BIOS/UEFI setup, partitioning, GRUB bootloader installation, and recovery tips. Let's make sure you don't lose your data in the process!

    âš™ï¸ What You'll Need

    Before we start, here's what you'll need ready:

    • 👑’½ A USB drive (at least 4GB)
    • 👑ªŸ Windows 10 already installed
    • 👑Œ Internet connection
    • 👑§  Basic command-line knowledge
    • 👑"€ Arch Linux ISO "" Download from official site
    • 👑§° A tool like Rufus or Balena Etcher (to make a bootable USB)

    👑ªŸ Step 1: Prepare Windows for Dual Boot

    1. Backup your data "" Always first.
    2. Disable Fast Startup & Hibernation:
      powercfg /h off
      

    Go to: Control Panel →’ Power Options →’ Choose what power buttons do →’ Uncheck "Turn on fast startup" 3. Shrink Windows Partition to make space for Arch: * Press Win + X →’ Disk Management * Right-click your main drive (C:) * Select Shrink Volume * Leave at least 40GB free for Arch Linux You'll now have unallocated space "" don't format it! Arch installer will handle it.

    👑§­ Step 2: Create a Bootable Arch Linux USB

    Use Rufus (on Windows):

    1. Select your USB drive
    2. Choose the Arch ISO file
    3. Set:
      • Partition scheme →’ GPT (for UEFI) or MBR (for BIOS)
      • File System →’ FAT32
    4. Click Start

    👑§° Step 3: Boot Into Arch Linux Installer

    1. Restart your PC
    2. Enter BIOS/UEFI (press F2, Del, or Esc depending on your system)
    3. Disable Secure Boot
    4. Set your USB as the first boot device
    5. Boot "" you'll see the Arch Linux live menu. Choose: Boot Arch Linux (x86_64)

    👑’½ Step 4: Check Internet Connection

    For Ethernet (wired):

    ping archlinux.org
    

    If you see replies, you're good.

    For Wi-Fi:

    iwctl
    device list
    station wlan0 scan
    station wlan0 get-networks
    station wlan0 connect YourWiFiName
    exit
    ping archlinux.org
    

    👑§± Step 5: Partition the Disk

    Run:

    lsblk
    

    Find your drive (e.g., /dev/sda or /dev/nvme0n1). We'll use cfdisk "" it's easy and safe.

    cfdisk /dev/sda
    

    Choose:

    • GPT (if UEFI)
    • or DOS/MBR (if BIOS)

    Now create:

    1. EFI partition (if UEFI):
      • Size: 512MB
      • Type: EFI System
    2. Root partition (Linux):
      • Use the unallocated space you created earlier
      • Type: Linux filesystem
    3. (Optional) Swap:
      • Size: 2—4GB
      • Type: Linux swap

    Write changes →’ confirm →’ quit.

    👑’¾ Step 6: Format Partitions

    For UEFI systems:

    mkfs.fat -F32 /dev/sda1
    

    For the root partition:

    mkfs.ext4 /dev/sda2
    

    If you made a swap partition:

    mkswap /dev/sda3
    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
    

    Then 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
    hwclock --systohc
    

    Set locale:

    echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen
    locale-gen
    echo "LANG=en_US.UTF-8" > /etc/locale.conf
    

    Set hostname:

    echo "archpc" > /etc/hostname
    

    Set root password:

    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
    

    ✅ You'll see that GRUB detects 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:

    • Arch Linux
    • Windows Boot Manager

    You can switch easily between both OSes whenever you boot.

    👑©º Troubleshooting Tips

    • If GRUB doesn't show Windows:
      sudo os-prober
      sudo grub-mkconfig -o /boot/grub/grub.cfg
      
    • If booting directly into Windows: Go into BIOS and ensure Arch/GRUB is first in the boot order.
    • If Arch doesn't boot: Boot into live USB again Mount root partition:
      mount /dev/sda2 /mnt
      arch-chroot /mnt
      grub-install /dev/sda
      grub-mkconfig -o /boot/grub/grub.cfg
      reboot
      

    👑§  Bonus Tip: Keep Both OSes Clean

    • Don't touch Windows partitions from Linux unless you know what you're doing.
    • Keep Windows updates enabled.
    • Use Timeshift in Linux for snapshots "" it can save you during a failed update.

    👑§¾ Final Thoughts

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

    Written by Huzi 👑§‘"👑’» 👑’» Explore more Linux and web development tutorials on huzi.pk "" your home for open-source guides, performance tips, and real tech fixes!

    Advertisements


    You Might Also Like

    Heavy Embroidered Navy Blue Bridal Velvet Shawl | 2-Side Handwork

    Heavy Embroidered Navy Blue Bridal Velvet Shawl | 2-Side Handwork

    PKR 4000

    Heavy Embroidered Lawn 3-Pc Suit | Digital Print Diamond Dupatta (Fancy Wear Pakistan)

    Heavy Embroidered Lawn 3-Pc Suit | Digital Print Diamond Dupatta (Fancy Wear Pakistan)

    PKR 4550

    Luxury Handwork Embroidered Organza Party Suit 2026 | Emb. Silk Trouser

    Luxury Handwork Embroidered Organza Party Suit 2026 | Emb. Silk Trouser

    PKR 9550

    Luxury Heavy Embroidered EID Lawn Suit 3-Pc | Digital Print Silk Dupatta

    Luxury Heavy Embroidered EID Lawn Suit 3-Pc | Digital Print Silk Dupatta

    PKR 4950

    Elegant Printed Embroidered Lawn Suit 3-Pc | Printed Chiffon Dupatta

    Elegant Printed Embroidered Lawn Suit 3-Pc | Printed Chiffon Dupatta

    PKR 4600

    Advertisements


    Related Posts

    Linux
    Customizing Your Linux Desktop Environment
    One of the greatest strengths of Linux is its customizability. Learn how to personalize your desktop environment, from changing themes and icons to using powerful tools like Conky and custom shell scripts.

    By Huzi

    Read More
    Linux
    Getting Started with Arch Linux: A Beginner's Guide
    Arch Linux is a lightweight and flexible Linux distribution that follows the 'Keep It Simple' principle. This guide will walk you through what Arch is, its philosophy, and the first steps to get it running.

    By Huzi

    Read More
    Linux
    Why Linux is a Great Operating System for Developers
    Linux is a powerful, open-source operating system that has become a favorite among developers. From its powerful command line to its package managers and customization options, find out why Linux is an ideal environment for programming.

    By Huzi

    Read More
    Technology
    How to Check SIM Ownership & Block SIMs in Pakistan (PTA Guide 2025)
    In 2025, your SIM security is three taps away—no more identity theft, no more ghost connections. A complete guide on how to verify, block, and secure your SIMs and mobile devices using official PTA methods.

    By Huzi

    Read More
    Gadgets
    Foldable Phones vs Standard Phones: Are Foldables Worth It in Pakistan?
    Foldable phones promise more screen, flexibility, and style. But do they make sense here in Pakistan? Considering cost, durability, usefulness, and service.

    By Huzi

    Read More
    Sports
    Patriots vs Texans: A Tale of Ice, Fire, and the Resilience of a New Era
    As-salamu alaykum, friends. Welcome back to my corner of the digital world, huzi.pk. I am Huzi, writing to you from the heart of Pakistan, where the w...

    By Huzi

    Read More