← Back to Writings

Complete Guide: How to Dual Boot Arch Linux(Omarchy) and Windows 11 Using Arch Install Script

Arch LinuxDual BootSetup
8 min read22 Oct '25
image
image

Introduction

This tutorial will guide you through the easiest and safest way to dual-boot Arch Linux with Windows 11 using the all-new Arch Install Script. This method allows you to install Arch Linux alongside Windows 11 on the same drive without risking data loss. However, it’s strongly recommended to back up your files to the Cloud or an external drive before proceeding.

At the end of this guide, you’ll also learn how to safely remove Arch Linux from the dual boot setup if needed.

Pre-requisites

Before starting, ensure you have:

  • Windows 11 or Windows 10 installed on your PC or laptop
  • An 8GB or higher USB drive to create a bootable disk with Arch Linux
  • At least 50GB of free space available on your existing drive

Step 1: Create System Restore Point

Before installing Arch Linux, it’s recommended to create a System Restore point on your Windows computer as a safety backup.

  1. Search for “restore point” in the Start menu
  2. Open “Create a restore point”
  3. Click “Create” to take a snapshot of your current system state

This backup allows you to restore your system to normal if something goes wrong with the Arch installation.

Step 2: Disable BitLocker Encryption (Windows 11 Pro Only)

If you’re using Windows 11 Pro, disable BitLocker encryption before proceeding, as it can interfere with Linux installations.

Note: For Windows 11 Home users, this feature is disabled by default.

  1. Search for “BitLocker” in Start menu
  2. Turn off BitLocker for your system drive
  3. Wait for decryption to complete

Step 3: Creating Free Space For Arch Linux

Now let’s create free space on your drive for Arch Linux installation.

  1. Right-click on the desktop and open Terminal (or press Win + X and select Terminal/PowerShell)
  2. Type the following command and press Enter:

diskmgmt.msc This opens the Disk Management utility, which displays all drives and their partitions.

Understanding Your Disk Layout

You’ll see your Drive 0 with several partitions:

  • EFI partition: Contains the Windows boot loader
  • Main Windows partition (C:): Your Windows installation
  • Recovery partition: Windows recovery tools

Shrinking Your Windows Partition

  1. Right-click on your C: Drive (or any other partition you want to shrink)
  2. Select “Shrink Volume”
  3. Enter the amount of space to allocate for Arch Linux
  • Minimum: 40,000 MB (40 GB)
  • Recommended: 50,000 MB (50 GB) or more
  • Example: 200,000 MB (200 GB) for ample space
  1. Click “Shrink”

This creates an unallocated free space for Arch Linux.

Step 4: Download Arch Linux

  1. Open your web browser and visit the official Arch Linux website
  2. Click the “Download” button
  3. Scroll down and choose the closest mirror to your location
  4. Download the Arch Linux ISO file

Step 5: Download Rufus

  1. Download the latest version of Rufus
  2. Save both the Arch Linux ISO and Rufus to an easily accessible location

Step 6: Creating Bootable USB with Arch Linux

  1. Connect your USB stick (8GB or larger) to your computer
  2. Double-click to open Rufus
  3. Configure Rufus settings:
  • Device: Select your USB drive
  • Boot selection: Click “SELECT” and choose the Arch Linux ISO file
  • Partition scheme: Select GPT
  • Target system: Select UEFI (non CSM)

Important Note: If your system uses legacy BIOS, select MBR instead of GPT.

  1. Click “START” to begin creating the bootable USB
  2. Accept any prompts that appear
  3. Wait for the process to complete (time varies based on USB write speed)

Step 7: Modifying BIOS Settings

Once the bootable USB is ready, you need to boot into your system’s BIOS/UEFI settings.

Entering BIOS

  1. Restart your computer
  2. Press the appropriate key during startup (commonly F2, F9, F10, F12, DEL, or ESC)
  • The key varies by manufacturer; watch for the prompt during boot

BIOS Configuration

In the UEFI BIOS settings:

  1. Enable USB Boot
  2. Change Boot Order: Set the USB drive as the primary boot device
  3. Disable Secure Boot
  4. Save changes and exit

Your system will now boot from the USB drive. If it fails to boot automatically, use the boot menu (usually F12 or F9) to manually select the USB drive.

Step 8: Booting Into Arch Linux Installation Media

When your system boots from the USB, you’ll see a terminal screen. Note that mouse functionality is disabled, and you must rely on keyboard commands.

Increase Console Font Size

Type the following command to increase the console font size for better readability:

setfont ter-132b Press Enter to execute.

Step 9: Connect to the Internet

For Ethernet Connection

If your computer is connected via Ethernet cable, test the connection:

ping -c 3 archlinux.org If you receive packets, you’re connected.

For WiFi Connection (Using iwctl)

If you’re using built-in WiFi, use the iwctl utility:

  1. Enter the iwctl shell:

iwctl

  1. List available network interfaces:

device list Look for wlan0 and ensure it’s turned on.

  1. If it’s off, enable it:

device wlan0 set-property Powered on

  1. Scan for available networks:

station wlan0 scan

  1. List available WiFi networks:

station wlan0 get-networks

  1. Connect to your WiFi network:

station wlan0 connect "YOUR_WIFI_NAME" Replace YOUR_WIFI_NAME with your actual WiFi SSID.

  1. Enter your WiFi password when prompted
  2. Wait 5 seconds, then press Enter
  3. Exit iwctl:

exit

  1. Verify internet connection:

ping -c 3 archlinux.org

Step 10: Update Package Database and Install Required Packages

  1. Synchronize package databases:

pacman -Sy

  1. Install Arch Linux keyring:

pacman -S archlinux-keyring

  1. Install archinstall package:

pacman -S archinstall Execute these commands one after the other.

Step 11: Creating Partitions For Arch Linux

List All Drives

lsblk You’ll see all connected drives. Focus on the main drives (ignore loop devices):

  • nvme0n1 or sda: Your main drive with Windows 11
  • sdb or similar: Your bootable USB

Launch cfdisk

Replace nvme0n1 with your actual drive name (could be sda for SATA drives):

cfdisk /dev/nvme0n1

Creating Partitions

Use arrow keys for navigation and Enter for confirmation.

You’ll see your existing partitions:

  • EFI partition
  • Windows partition
  • Free space (the unallocated space you created earlier)

Create EFI Partition (1GB)

  1. Navigate to the Free space using arrow keys
  2. Press Enter to create a new partition
  3. Enter size: 1G (1 GB)
  4. Press Enter to confirm
  5. Select Type
  6. Choose EFI System

Create Root Partition (Remaining Space)

  1. Navigate back to the Free space
  2. Press Enter to create a new partition
  3. Use the remaining free space (or specify size, minimum 20GB)
  4. Press Enter to confirm
  5. Type is automatically set to Linux filesystem

Write Changes

  1. Navigate to Write at the bottom
  2. Press Enter
  3. Type yes to confirm
  4. Navigate to Quit and press Enter

Remember your partition identifiers (e.g., nvme0n1p5 for EFI, nvme0n1p6 for Root)

Step 12: Formatting Partitions

Verify New Partitions

lsblk You should see your newly created partitions (e.g., nvme0n1p5 and nvme0n1p6).

Format EFI Partition

Replace nvme0n1p5 with your actual EFI partition:

mkfs.fat -F32 /dev/nvme0n1p5

Format Root Partition

Replace nvme0n1p6 with your actual root partition:

mkfs.ext4 /dev/nvme0n1p6

Step 13: Mounting Partitions

Mount Root Partition

Replace nvme0n1p6 with your actual root partition:

mount /dev/nvme0n1p6 /mnt

Create Boot Directory

mkdir -p /mnt/boot

Mount EFI Partition

Replace nvme0n1p5 with your actual EFI partition:

mount /dev/nvme0n1p5 /mnt/boot

Verify Mounts

lsblk

image
image

Ensure both partitions are properly mounted to /mnt and /mnt/boot.

Step 14: Installing Arch Linux With ArchInstall Script

Now it’s time to use the automated ArchInstall script to install Arch Linux.

Launch ArchInstall

archinstall You’ll see a menu-driven interface. Use arrow keys to navigate and Enter to select.

Configuration Steps

1. System Language

  • Select your preferred language (e.g., en_US)

2. Locale

  • Choose your locale (e.g., en_US.UTF-8)

3. Disk Configuration

  • Select “Disk configuration”
  • Choose “Pre-mounted configuration”
  • Enter root directory: /mnt
  • Press Enter to confirm
  • Go back to main interface
  • Verify that the script recognized your root partition

4. Swap

  • Ensure swap is enabled

5. Bootloader

  • Select “Bootloader”
  • Choose GRUB (recommended for dual boot)

6. Hostname

  • Enter hostname: archlinux (or your preferred name)

7. Root Password

  • Set a strong password for the root user

8. User Account

  • Create a new user account
  • Add this user to the sudoers group for elevated privileges

9. Profile

  • Select “Profile”
  • Choose “Desktop”
  • Select Minimal Desktop (This is crucial we will run Omarchy install script on top of a minimal Desktop)

10. Graphics Drivers

Select based on your hardware:

  • Intel iGPU: Intel (open source)
  • AMD GPU: AMD / ATI (open source)
  • NVIDIA RTX (newer cards): Nvidia (proprietary)
  • NVIDIA (older cards): Nouveau (open source)
  • Unsure: All open-source drivers

11. Audio

  • Select “Audio”
  • Choose PipeWire (recommended for best compatibility)

12. Kernels

  • Stick with the latest kernel (default)
  • Optionally install additional kernels if needed

13. Network Configuration

  • Select “Network configuration”
  • Choose NetworkManager

14. Additional Packages (Optional)

  • Press / followed by package name
  • Press Tab to select
  • Examples: firefox, vlc, git, etc.

15. Timezone

  • Select your timezone for correct system time

Begin Installation

  1. Review all options to ensure nothing is left blank
  2. Select “Install”
  3. Wait for the ArchInstall script to complete (this may take several minutes)

Step 15: Post-Installation — GRUB Installation

After installation completes, you’ll see a prompt for post-installation steps.

Enter Chroot Environment

Select the option to perform post-installation steps to enter the chroot environment.

Verify Partitions

lsblk

Manually Install GRUB

The script may not install GRUB properly, so we’ll do it manually.

  1. Install required packages:

pacman -S grub efibootmgr dosfstools mtools

  1. Install GRUB to the boot partition:

grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB

  1. Generate GRUB configuration file:

grub-mkconfig -o /boot/grub/grub.cfg GRUB bootloader is now installed successfully!

Step 17: Finalize and Reboot

Exit Chroot Environment

exit

Unmount Partitions

umount -R /mnt

Shutdown System

shutdown now Eject the USB drive before the system powers off completely.

Step 18: First Boot and GRUB Setup

Make GRUB as Default Boot Manager

When you turn on your computer:

  1. If you see the GRUB menu, proceed to Step 19
  2. If your system boots directly into Windows 11:
  • Restart your computer
  • Press the BIOS key during startup
  • Navigate to Boot Options
  • Select GRUB under UEFI boot entries
  • Make GRUB the default boot manager
  • Save and exit
  • Reboot

You should now see the GRUB boot menu.

Boot Into Arch Linux

  1. Select Arch Linux from GRUB menu
  2. Login with your user credentials

Step 19: Adding Windows Entry to GRUB

Currently, Windows 11 won’t appear in the GRUB menu. Let’s fix that.

Edit GRUB Configuration

Open terminal in Arch Linux and edit the GRUB configuration:

sudo nano /etc/default/grub

Modify Settings

  1. Find the line: GRUB_TIMEOUT=5
  2. Change it to: GRUB_TIMEOUT=30 (or your preferred timeout in seconds)
  3. Scroll to the bottom and find:

#GRUB_DISABLE_OS_PROBER=false

  1. Uncomment it (remove the #):

GRUB_DISABLE_OS_PROBER=false This allows GRUB to detect the Windows boot loader.

Save and Exit

  • Press Ctrl + O to save
  • Press Enter to confirm
  • Press Ctrl + X to exit

Step 20: Running Omarchy Script in our fresh archinstall

  1. Connect to internet using USB-Tethering or using nmcli command

sudo nmcli dev wifi connect <WIFINAME> password <YOURPASSWD>

  1. Now check the connection using ping:

ping -c 5 google.com

  1. Update your system and install some recommended packages/dependencies

sudo pacman -Syyu sudo pacman -S git wget curl nano vim

  1. Run Omarchy install Script

wget -q0- https://omarchy.org/install | bash That’s it now sit back and be patient and let the script do it’s job.

That’s it now you’ve Suceesfully dual booted Omarchy with Windows11 💐

You can learn more about Omarchy here.

Related

Continue reading

All writings