!!!!Disclaimer!!!!!
The scripts and code provided in this repository are for educational and personal use only. While every effort has been made to ensure correctness and safety, the author(s) make no guarantees regarding functionality, security, or suitability for any purpose.
Use of these scripts is at your own risk. The author(s) shall not be held liable for any damages, data loss, or other issues arising from running or modifying the code.
It is recommended to review and understand the scripts before use, especially on production systems or sensitive environments.
This guide walks you through installing Arch Linux alongside Windows 11/10 using the automated DUALBOOT-Windows_Arch_Limine.sh script.
- Press Win + X → Disk Management
- Right-click your Windows partition (usually
C:) → Shrink Volume - Enter the amount to shrink (recommended: 80-100 GB for Arch Linux)
- Click Shrink → You'll see "Unallocated" space
- Press Win + R →
control - Go to Power Options → Choose what the power buttons do
- Click Change settings that are currently unavailable
- Uncheck Turn on fast startup
- Click Save changes
- Access your BIOS/UEFI settings (press Del or F2 at startup)
- Find Secure Boot and set it to Disabled
- This is required for Arch Linux bootloaders
- Go to: https://archlinux.org/download/
- Download the latest ISO (e.g.,
archlinux-x86_64.iso)
- Download Rufus from: https://rufus.ie/
- Open Rufus
- Select your USB drive
- Click SELECT → choose the Arch ISO
- Ensure Partition scheme is set to GPT
- Click START
- When done, click CLOSE
- Plug in your USB drive
- Restart your PC
- Enter BIOS/UEFI (press Del or F2)
- Set USB as first boot priority
- Save and exit
ip linkiwctlInside iwctl:
device list
Find your WiFi device (e.g., wlan0):
station wlan0 scan
station wlan0 get-networks
station wlan0 connect "YourNetworkName"
exit
rfkill unblock all
ip link set wlan0 upping archlinux.orgpacman -Sy git
git clone https://github.com/nightdevil00/DualBoot.git
cd DualBootchmod +x DUALBOOT-Windows_Arch_Limine.shsudo ./DUALBOOT-Windows_Arch_Limine.shThe script will guide you through these steps:
- Choose the disk where Windows is installed (usually
/dev/sda)
- The script detects your Windows EFI automatically
- Enter EFI partition start (e.g.,
1GB) - Enter EFI partition end (e.g.,
3GB) - Enter root partition start (e.g.,
3GB) - Enter root partition end (e.g.,
100%)
- Create a LUKS passphrase for encrypted root partition
- Remember this password - you'll need it at every boot
- Enter your desired hostname
- Set root password
- Create your user account and password
The installation will proceed automatically and may take 10-20 minutes.
reboot- At startup, press the boot menu key (usually F8, F12, or Esc)
- Select "Arch Linux Limine Bootloader"
- Enter your LUKS passphrase when prompted
iwctldevice list
station wlan0 scan
station wlan0 get-networks
station wlan0 connect "YourNetworkName"
exit
dhcpcdOmarchy provides a modern, pre-configured Arch Linux experience with Hyprland, Waybar, Walker and more,
curl -fsSL https://omarchy.org/install | bashrebootThe DUALBOOT-Windows_Arch_Limine.sh script automates:
| Feature | Description |
|---|---|
| UEFI Detection | Finds Windows EFI partition automatically |
| Partitioning | Creates separate Arch EFI and root partitions |
| LUKS Encryption | Encrypts root partition with password |
| Btrfs Setup | Creates subvolumes: @, @home, @snapshots, @log, @swap |
| Limine Bootloader | Installs Limine as a separate UEFI entry |
| ** Plymouth** | Shows graphical boot animation |
| Snapper | Enables automatic snapshots for rollback |
| ZRAM | Configures compressed swap in RAM |
/boot/EFI/limine/- Limine bootloader files/boot/EFI/limine/limine.conf- Boot menu configuration/etc/crypttab- LUKS configuration for automatic unlock
sudo rfkill unblock all
sudo systemctl enable --now iwd.service
sudo systemctl enable --now systemd-resolved.service
echo "Creating iwd DNS config..."
mkdir -p ~/.config/iwd
nano ~/.config/iwd/main.conf
[Network]
EnableNetworkConfiguration=true
NameResolvingService=systemd
- Enter BIOS → Check boot order
- Ensure "Arch Linux Limine" is listed
- Unfortunately, there's no recovery
- You'll need to reinstall
- Boot into Arch → Run:
efibootmgr- Check if Windows boot entry exists
- Update your system:
sudo pacman -Syu - Install AUR helper (e.g.,
yay):sudo pacman -S yay - Explore your new Arch Linux system!