Complete automation suite for setting up BlackArch Linux with i3 tiling window manager and KVM virtualization
Perfect for penetration testers, security researchers, and power users
Quick Start β’ Features β’ Installation β’ Documentation
This repository provides a complete, automated setup for transforming a fresh Arch Linux installation into a powerful penetration testing workstation with:
- π·οΈ BlackArch Tools - 2800+ security testing tools
- πͺ i3 Window Manager - Lightweight, keyboard-driven tiling WM
- π» KVM Virtualization - Full QEMU/libvirt stack for running VMs
- π¨ Modern UI - Rofi launcher, Polybar status bar, Picom compositor
- π Complete Documentation - From Windows dual-boot to final setup
- β Automated BlackArch Repository Setup
- β i3 Window Manager with optimized configuration
- β KVM/QEMU Virtualization with Virt-Manager GUI
- β LightDM Display Manager for graphical login
- β NetworkManager with GUI applet
- β Essential Applications: Terminal, browser, file manager
- β System Optimization scripts included
- π Web Testing: Burp Suite, SQLMap, Nikto
- π Reconnaissance: Nmap, Wireshark, Masscan
- π Exploitation: Metasploit, ExploitDB
- π‘ Wireless: Aircrack-ng suite
- π Password Cracking: John the Ripper, Hashcat
- πΈοΈ Directory Enumeration: Gobuster, ffuf
- π» ASUS TUF F15 Gaming Laptops
- π» ThinkPad Series (T480, T490, X1)
- π» Dell XPS 13/15
- π» Custom Desktop PCs
- π₯οΈ 16GB+ RAM systems with virtualization support
- β Arch Linux installed (or Windows for dual-boot)
- β Internet connection
- β 60GB+ free disk space
- β Root/sudo access
# Clone repository
git clone https://github.com/NETHRANAND-20449/blackarch-i3-kvm-setup.git
# Navigate to directory
cd blackarch-i3-kvm-setup
# Make scripts executable
chmod +x step3\ gui\ setup/blackarch_setup.sh
chmod +x step4\ gui\ troubleshoot/troubleshooting_script.sh
# Run main setup script
sudo ./step3\ gui\ setup/blackarch_setup.shβ±οΈ Installation Time: 20-60 minutes depending on internet speed and selected options.
This repository includes comprehensive guides for every step:
blackarch-i3-kvm-setup/
β
βββ π step1 readme/
β βββ Main documentation and project overview
β
βββ π§ step2 installation guide/
β βββ arch_dualboot_guide.md
β β’ Complete Arch Linux installation from scratch
β β’ Windows dual-boot setup
β β’ Partitioning guide with examples
β β’ BIOS/UEFI configuration
β β’ Post-installation basics
β
βββ βοΈ step3 gui setup/
β βββ blackarch_setup.sh
β β’ Main automated setup script
β β’ BlackArch repository installation
β β’ i3 window manager configuration
β β’ KVM/QEMU virtualization setup
β β’ Essential tools installation
β
βββ π§ step4 gui troubleshoot/
β βββ troubleshooting_script.sh
β β’ Interactive troubleshooting menu
β β’ System diagnostics
β β’ i3 configuration checker
β β’ KVM/virtualization diagnostics
β β’ Automated common fixes
β β’ Log viewer
β
βββ π― step5 optimization/
β βββ System optimization tips and scripts
β
βββ πͺ step6 maximum hardware usage/
β βββ Performance tuning for your hardware
β
βββ π€ step7 arch git upload/
βββ github_readme.md - Extended documentation
βββ github_upload_guide.md - Git workflow guide
If you have Windows installed:
- Follow
step2 installation guide/arch_dualboot_guide.md - This guide covers:
- Shrinking Windows partition
- Creating bootable USB
- Installing Arch Linux alongside Windows
- GRUB dual-boot setup
If you have Arch Linux already:
- Skip to Step 2
# Clone repository
git clone https://github.com/NETHRANAND-20449/blackarch-i3-kvm-setup.git
cd blackarch-i3-kvm-setup
# Make executable
chmod +x "step3 gui setup/blackarch_setup.sh"
# Run as root
sudo ./step3\ gui\ setup/blackarch_setup.shDuring installation you'll be asked:
Install full BlackArch tools (approx 20GB)? (y/N)
- Yes: Installs all 2800+ tools (~20GB)
- No: Installs essential categories only (~5GB)
sudo reboot- System boots to LightDM login screen
- Enter your username and password
- i3 window manager starts automatically
On first login, i3 will prompt:
- Press
Enterto generate config file - Press
Enterto use Win/Super key as modifier
# Check virtualization support
lscpu | grep Virtualization
# Launch Virt-Manager
virt-manager| Shortcut | Action |
|---|---|
Win + Enter |
Open terminal (Alacritty) |
Win + D |
Application launcher (Rofi) |
Win + Shift + Q |
Close window |
Win + Shift + E |
Exit i3 |
Win + Shift + R |
Reload i3 configuration |
| Shortcut | Action |
|---|---|
Win + H |
Split horizontal |
Win + V |
Split vertical |
Win + F |
Toggle fullscreen |
Win + 1-9 |
Switch to workspace 1-9 |
Win + Shift + 1-9 |
Move window to workspace |
| Shortcut | Action |
|---|---|
Win + Ctrl + V |
Open Virt-Manager (VMs) |
Win + B |
Open Firefox browser |
Win + R |
Resize mode |
cd blackarch-i3-kvm-setup
chmod +x "step4 gui troubleshoot/troubleshooting_script.sh"
./step4\ gui\ troubleshoot/troubleshooting_script.shThe script provides:
- π System diagnostics (CPU, RAM, disk, network)
- πͺ i3 configuration validation
- π» KVM/virtualization checks
- π§ Automated fixes for common issues
- π Log viewer for debugging
- β‘ Quick fix menu
i3 -C -c ~/.config/i3/config # Check config
i3-config-wizard # Regenerate configsudo systemctl restart NetworkManager
nmcli device wifi connect "SSID" password "PASSWORD"sudo usermod -aG libvirt $USER
# Logout and login againlscpu | grep Virtualization # Check CPU support
sudo systemctl start libvirtd # Start service
sudo virsh net-start default # Start networkEdit ~/.config/i3/config:
bindsym $mod+Return exec kitty # Replace alacrittynano ~/.config/i3/config
# Add lines like:
bindsym $mod+Ctrl+b exec firefox
bindsym $mod+Ctrl+f exec thunar
bindsym $mod+Ctrl+w exec wireshark# Web testing
sudo pacman -S burpsuite sqlmap nikto
# Development
sudo pacman -S code docker python-pip nodejs
# Productivity
sudo pacman -S libreoffice-fresh gimp vlc| Component | Specification |
|---|---|
| CPU | Dual-core 64-bit with VT-x/AMD-V |
| RAM | 8 GB |
| Storage | 60 GB free space |
| Graphics | Integrated graphics |
| Boot | UEFI mode |
| Component | Specification |
|---|---|
| CPU | Quad-core Intel i5/AMD Ryzen 5+ |
| RAM | 16 GB or more |
| Storage | 120 GB+ SSD |
| Graphics | Dedicated GPU (NVIDIA/AMD) |
| Network | WiFi 5/6 or Ethernet |
Contributions are welcome! Here's how you can help:
- π Report bugs via Issues
- π‘ Suggest features or improvements
- π Improve documentation
- π§ Submit pull requests
# Fork the repository
# Clone your fork
git clone https://github.com/YOUR_USERNAME/blackarch-i3-kvm-setup.git
# Create feature branch
git checkout -b feature/amazing-feature
# Make changes and commit
git commit -m "Add amazing feature"
# Push to your fork
git push origin feature/amazing-feature
# Open Pull RequestA: Yes! The script checks for existing packages and won't break your setup. Backup important configs first.
A: Minimum 60GB. Recommended 120GB+ if installing all BlackArch tools.
A: Yes, but KVM performance will be limited. Enable nested virtualization in your hypervisor.
A: Yes. BlackArch is just a repository. Remove packages individually or reinstall Arch.
A: Yes. The script installs appropriate drivers. You may need to configure Optimus for laptops.
A: Run sudo pacman -Syu regularly to update all packages including BlackArch tools.
This project is licensed under the MIT License - see the LICENSE file for details.
- Arch Linux - The foundation
- BlackArch Linux - Penetration testing distribution
- i3 Window Manager - Tiling window manager
- KVM/QEMU - Virtualization platform
- π Issues: GitHub Issues
- π¬ Discussions: GitHub Discussions
- π§ Email: [Your Email]
- π Website: [Your Website]
- Add support for Wayland/Sway
- Create Ansible playbook version
- Add automated backup/restore
- Theme customization script
- Docker integration improvements
- Support for other window managers (bspwm, awesome)
- π Arch Wiki - Installation Guide
- π Arch Wiki - Dual Boot with Windows
- π i3 User's Guide
- π BlackArch Guide
- π KVM Virtualization