Experimental tool that allows installing a full Arch Linux system directly from a running Windows installation, followed by repurposing the original Windows partition into btrfs.
This software is highly experimental and carries significant risk.
It modifies the disk partition table, creates a new boot entry in the Windows Boot Manager, and permanently removes the original Windows installation.
Use only if you fully understand the risks and have backups of important data.
- Windows 10 or 11 (64-bit)
- Administrator privileges
- BitLocker must be disabled on the system drive
- Secure Boot is strongly recommended to be disabled in BIOS/UEFI
- At least 15 GB of free space on the C: drive
- Compile the program:
or you may compile the program statically:
g++ stage1.cpp -o stage1.exe
g++ -static -static-libgcc -static-libstdc++ stage1.cpp -o stage1.exe
- Run as administrator:
stage1.exe
- After the program finishes, run as administrator:
stage2.bat
- Reboot, enter boot menu and select "Arch Linux"
Features
- Choice of Arch Linux mirror during setup
- Automatic EFI partition detection
- Full Arch Linux installation via pacstrap
- Repurposes the original Windows partition into btrfs
Notes
- If the system fails to boot after reboot, disable Secure Boot in BIOS/UEFI.
- Recovery of the original Windows installation is not supported after completion.