Arch + Windows Dual-Boot

Scripts to set up and repair Arch Linux + Windows dual-boot systems.

Quick Start from Arch ISO

Linux One-liner install

Boot the Arch ISO, connect to the internet, then run:

curl -fsSL https://bootable.sammyjoyce.com/install.sh | bash

Or with wget:

wget -qO- https://bootable.sammyjoyce.com/install.sh | bash

Scripts

Linux archwin-linux-side.sh

Run from the Arch Linux live ISO to install or repair Arch alongside Windows.

# Download and run
curl -fsSLO https://bootable.sammyjoyce.com/archwin-linux-side.sh
bash archwin-linux-side.sh

# Or directly (review first!)
bash <(curl -fsSL https://bootable.sammyjoyce.com/archwin-linux-side.sh)

Features

Modes

# Fresh install (auto-detected if no existing Arch)
bash archwin-linux-side.sh

# Repair existing installation
bash archwin-linux-side.sh --repair-only

# Non-interactive with options
bash archwin-linux-side.sh --root /dev/nvme0n1p5 --esp /dev/nvme0n1p1 \
  --hostname myarch --user myuser --timezone Australia/Sydney
Windows archwin-windows-side.ps1

Run from Windows (as Administrator) to prepare for dual-boot.

# PowerShell (as Administrator)
irm https://bootable.sammyjoyce.com/archwin-windows-side.ps1 -OutFile archwin-windows-side.ps1
.\archwin-windows-side.ps1

Features

Modes

# Setup mode (default) - prepare for Linux install
.\archwin-windows-side.ps1

# Diagnose mode - check configuration without changes
.\archwin-windows-side.ps1 -Mode diagnose

# Repair mode - fix common issues
.\archwin-windows-side.ps1 -Mode repair

Workflow

  1. In Windows: Run archwin-windows-side.ps1 to disable Fast Startup, hibernation, and optionally shrink the partition. Reboot.
  2. Create Arch USB: Download the Arch ISO and write it to USB (using Rufus, Ventoy, or dd).
  3. Boot Arch ISO: Select UEFI boot mode (not Legacy/CSM). Connect to internet (use iwctl for WiFi).
  4. Run installer: curl -fsSL https://bootable.sammyjoyce.com/install.sh | bash
  5. Reboot: Remove USB, enter BIOS if needed to set Linux Boot Manager first in boot order.
Important: Always review scripts before running them. These scripts modify system partitions and boot configuration. Back up important data before proceeding.

Requirements