HASHHAVEN OS · NETBOOT & USB SETUP GUIDE v1.1.3 · READY

HashHaven OS & Netboot Guide

Boot diskless AMD and NVIDIA mining rigs straight into RAM in seconds — via 1-line iPXE, a LAN PXE farm server, a FAT32 USB flash drive, or the standalone Linux agent.

Overview: Ultra-Compact 64-Bit Diskless Mining OS

HashHaven OS packs a complete 64-bit x86_64 Ubuntu 24.04 minimal Linux image (~456 MB zstd-19 SquashFS) with pre-installed NVIDIA 580 CUDA/NVML and AMD amdgpu/ROCm 6.3.4 OpenCL compute stacks — zero X11, zero desktop bloat, zero local SSD wear.

SquashFS Image 455.8 MB x86_64 zstd-19 compressed
GPU Auto-Detect NVIDIA 580 + AMD ROCm 6.3.4 Single-vendor & mixed rigs
Storage Mode 100% RAM (Zero-Wear) OverlayFS in tmpfs — no SSD needed
Wallet Binding Automatic via API Zero hardcoded wallets or SSH keys

Why 64-Bit x86_64 Instead of 32-Bit DSL (Damn Small Linux)?

Classic 32-bit micro-distros like Damn Small Linux cannot load modern GPU compute drivers or mine contemporary PoW coins. NVIDIA 580 CUDA/NVML, AMD ROCm 6.3.4 OpenCL, every modern GPU miner (rigel, lolMiner, wildrig-multi, SRBMiner-MULTI), and >4 GB GPU DAG addressing strictly require a 64-bit x86_64 kernel and userspace. HashHaven OS delivers that full 64-bit compute stack in just ~456 MB by stripping out X11, GCC, DKMS, manuals, and unused packages.

RAM-Only Zero-Wear Architecture

On every boot, the kernel and initrd load filesystem.squashfs straight into RAM (minimum 2 GB RAM recommended; 4 GB+ for multi-GPU rigs). Your USB stick or SSD never suffers log-write wear, every reboot starts from an immutable clean image, and your personal OS API token is passed only at runtime.

STEP 1

Account, Saved Wallets & Personal OS API Token

HashHaven OS binds every rig to your account via a single personal token (hh_...). Save each coin's public wallet address once in your dashboard — whenever you switch coins remotely, your rigs automatically pull the matching wallet and Stratum port.

  1. Create a free HashHaven account or log in to your existing account.
  2. Open My Account → Wallets & Mining and save public receiving addresses for the coins you plan to mine (never private keys!).
  3. Copy your personal OS API Token (hh_...) or your ready-to-boot personalized iPXE command below.

Log in to personalize every command in this guide

Once logged in, your personal OS API token (hh_...), wallet sync status, and 1-click iPXE boot URL appear right here automatically.

STEP 2A · FASTEST

1-Line iPXE Netboot (Zero USB Needed)

The fastest way to boot any rig without flashing media: open an iPXE shell (press Ctrl+B during PXE boot) and chainload your personalized boot script directly over HTTPS.

iPXE Shell Command (BIOS & UEFI)
dhcp
chain https://hashhaven.eu/api/v1/os/pxe/boot.ipxe

Tip: Append ?worker=rig01 to your boot.ipxe URL to assign a fixed worker name right on first boot.

How to Get an iPXE Prompt on Your Rig

  • UEFI / Legacy PXE Chainload: Serve ipxe.efi (UEFI) or undionly.kpxe (Legacy BIOS) from your router or DHCP server (see Step 2B).
  • netboot.xyz USB / ISO: Boot the tiny netboot.xyz image, open the iPXE Shell, and run the chain command above.
  • Built-in BIOS / NIC iPXE or KVM/Proxmox: Press Ctrl+B when prompted for iPXE, run dhcp, then chain your URL.
STEP 2B · MULTI-RIG FARMS

LAN PXE / Netboot Server (dnsmasq + pxelinux)

Running multiple rigs on a local network? Set up a lightweight dnsmasq TFTP/PXE server on any Linux box, Raspberry Pi, or router so every rig boots automatically into your HashHaven account on power-on.

1. Download & unpack hashhaven-os-pxe-bundle.tar.gz to /srv/tftp
sudo mkdir -p /srv/tftp && cd /srv/tftp
sudo curl -fsSLO https://hashhaven.eu/downloads/os/hashhaven-os-pxe-bundle.tar.gz
sudo tar -xzf hashhaven-os-pxe-bundle.tar.gz
2. /etc/dnsmasq.d/hashhaven-os.conf (UEFI + Legacy BIOS iPXE Auto-Boot)
# /etc/dnsmasq.d/hashhaven-os.conf
enable-tftp
tftp-root=/srv/tftp
dhcp-match=set:efi-x86_64,option:client-arch,7
dhcp-match=set:efi-x86_64,option:client-arch,9
dhcp-match=set:ipxe,175
dhcp-boot=tag:!ipxe,tag:!efi-x86_64,undionly.kpxe
dhcp-boot=tag:!ipxe,tag:efi-x86_64,ipxe.efi
dhcp-boot=tag:ipxe,https://hashhaven.eu/api/v1/os/pxe/boot.ipxe
3. Classic pxelinux.cfg/default (Direct TFTP Kernel + HTTPS SquashFS)
DEFAULT hashhaven
PROMPT 0
TIMEOUT 30
LABEL hashhaven
  KERNEL vmlinuz
  INITRD initrd.img
  APPEND boot=live components fetch=https://hashhaven.eu/downloads/os/filesystem.squashfs hh_token=YOUR_OS_TOKEN hh_api=https://hashhaven.eu quiet

Pro Tip: Local LAN HTTP Mirror for Instant Multi-Rig Boots

To boot 5–50 rigs simultaneously in under 10 seconds without re-downloading ~456 MB over the internet, cache filesystem.squashfs once on your LAN HTTP server (e.g. nginx or python3 -m http.server) and point fetch= to your local LAN IP:

LAN HTTP Mirror
curl -fsSLO https://hashhaven.eu/downloads/os/filesystem.squashfs
# In pxelinux.cfg/default or local boot.ipxe replace fetch= with:
fetch=http://192.168.1.10/os/filesystem.squashfs hh_token=YOUR_OS_TOKEN hh_api=https://hashhaven.eu
STEP 2C · NO PXE SERVER

USB Flash Drive Boot (FAT32)

Prefer a classic USB stick with zero network boot server? Format any 1 GB+ USB flash drive as FAT32, copy vmlinuz, initrd.img, and filesystem.squashfs from Downloads, add your hashhaven.env, and boot via GRUB2 (UEFI) or Syslinux (Legacy BIOS).

FAT32 USB Directory Layout
/ (FAT32 · Label: HASHHAVEN)
├── live/
│   ├── vmlinuz
│   ├── initrd.img
│   └── filesystem.squashfs
├── boot/
│   ├── hashhaven.env
│   └── grub/
│       └── grub.cfg
└── syslinux/
    └── syslinux.cfg
/boot/hashhaven.env (Personal Token Config)
HH_TOKEN=YOUR_OS_TOKEN
HH_API=https://hashhaven.eu
HH_WORKER=rig-01

You can either put HH_TOKEN inside /boot/hashhaven.env (read automatically by hashhaven-agent) or pass hh_token=... directly on the kernel command line. If omitted, the tty1 console prompts you interactively.

/boot/grub/grub.cfg (UEFI Boot Entry)
set timeout=3
set default=0
menuentry "HashHaven OS (x86_64 AMD + NVIDIA)" {
  linux /live/vmlinuz boot=live components live-media=removable hh_token=YOUR_OS_TOKEN hh_api=https://hashhaven.eu quiet
  initrd /live/initrd.img
}
/syslinux/syslinux.cfg (Legacy BIOS Boot Entry)
DEFAULT hashhaven
TIMEOUT 30
LABEL hashhaven
  KERNEL /live/vmlinuz
  INITRD /live/initrd.img
  APPEND boot=live components live-media=removable hh_token=YOUR_OS_TOKEN hh_api=https://hashhaven.eu quiet
STEP 2D · EXISTING LINUX

Standalone Agent on Existing Ubuntu / Debian Linux

Already running Ubuntu or Debian with working NVIDIA or AMD drivers? Install the zero-dependency Python 3 stdlib hashhaven-agent.py as a systemd service to get full HashHaven AIO Dashboard control and automatic wallet sync.

1. Download hashhaven-agent.py & create /etc/hashhaven/config.env
sudo curl -fsSL https://hashhaven.eu/downloads/os/hashhaven-agent.py -o /usr/local/bin/hashhaven-agent.py
sudo chmod +x /usr/local/bin/hashhaven-agent.py
sudo mkdir -p /etc/hashhaven
sudo tee /etc/hashhaven/config.env > /dev/null <<'EOF'
HH_TOKEN=YOUR_OS_TOKEN
HH_API=https://hashhaven.eu
HH_WORKER=rig-01
EOF
2. /etc/systemd/system/hashhaven-agent.service & Enable
sudo tee /etc/systemd/system/hashhaven-agent.service > /dev/null <<'EOF'
[Unit]
Description=HashHaven OS Rig Agent
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
EnvironmentFile=/etc/hashhaven/config.env
ExecStart=/usr/bin/python3 /usr/local/bin/hashhaven-agent.py
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
EOF
sudo systemctl daemon-reload
sudo systemctl enable --now hashhaven-agent

Tip: If you use Solar / Dynamic Tariff mode with the standalone Linux agent, download solar_adapters.py into the same directory as hashhaven-agent.py.

STEP 3 · OPERATIONS

AIO Dashboard & Interactive tty1 Rig Console

Within 15 seconds of booting, your rig registers automatically under My Account → HashHaven OS Rigs and streams live GPU telemetry.

Live Per-GPU Telemetry (AMD & NVIDIA)

Track per-card temperature (color-coded green/amber/red), fan speed %, power draw in watts, core/memory clocks, VRAM, and individual GPU hashrates with 10-second live refresh.

1-Click Coin & PPLNS / SOLO Switching

Switch any rig between live HashHaven coins and PPLNS/SOLO modes right from the dashboard. Your saved account wallet is bound automatically — missing wallets are flagged with a 1-click shortcut.

Remote Controls & Extra Args

Trigger remote Miner Restart, Stop, Start, or full Reboot from anywhere, override the miner binary, or pass custom overclock/tuning flags via Extra Args.

Interactive tty1 Console (Monitor Attached)

Plug a display into any HashHaven OS rig to view the built-in hashhaven-tui live status screen on tty1 (IP, active coin/miner, per-GPU temps & hashrate). If booted without a token, tty1 prompts you interactively to enter your hh_... token on the spot.

v1.1.0 · SOLAR, TARIFF & GPU OC

Built-in 23-Provider Solar / PV-Surplus, Dynamic Tariffs, Remote OC & Watchdog

HashHaven OS v1.1.0 turns your rigs into energy-aware miners: poll your inverter, smart meter, or EU spot-price tariff directly from the rig's local LAN, protect your house battery, and control GPU power limits & clocks from the dashboard.

☀️ 23 Built-in Providers (HTTP, Modbus TCP & Spot Tariffs)

Configure once in My Account → HashHaven OS Rigs. Local LAN inverters and smart meters are polled directly by the rig, with EMA smoothing, hysteresis, hold timers, and minimum battery SoC protection.

⚡ Per-Rig Power Modes & Watt Thresholds

Assign each rig independently: 24/7 Always, Solar Surplus, Dynamic Tariff, Solar or Tariff, or Pause — each with its own Watt start threshold so multi-rig farms stagger smoothly as sunshine rises.

🛡️ Remote GPU Power-Limit, OC & Safe Thermal Watchdog

Set Power Limit (40–600 W), Core Clock, and Memory Clock per rig (NVIDIA nvidia-smi & AMD amdgpu power1_cap). The gentle thermal watchdog pauses at ≥ 88 °C or sustained 0 H/s and auto-resumes below 72 °C; local telemetry is exposed at http://127.0.0.1:8099/status.

STEP 4 · CHECKLIST

BIOS, Network, Auto-Miners & Troubleshooting

BIOS & Hardware Checklist

  • Disable Secure Boot — mandatory for unsigned NVIDIA 580 kernel modules and iPXE chainloading.
  • Enable Above 4G Decoding (and 64-bit MMIO) — required when running 4 or more GPUs on one motherboard.
  • Set PCIe Link Speed to Gen2 or Gen3 when using PCIe risers for maximum multi-GPU stability.
  • Match PXE mode to your DHCP boot file: UEFI Network Stack → ipxe.efi, Legacy CSM PXE → undionly.kpxe.
  • Enable Restore on AC Power Loss = Power On so rigs recover automatically after power outages.

Network & Firewall Requirements

  • Active DHCP server on the rig's Ethernet LAN (wired NIC drivers built in: Realtek r8169, Intel e1000e/igb/igc, Broadcom bnx2/tg3, Mellanox mlx4/mlx5, virtio_net).
  • Outbound HTTPS (TCP 443) to hashhaven.eu for SquashFS fetch, OS API config/heartbeat, and on-demand miner downloads.
  • Outbound Stratum TCP ports 3101–4402 to hashhaven.eu (PPLNS & SOLO pool ports).
Essential Diagnostic Commands

Switch to tty2 (Ctrl+Alt+F2) or inspect logs on standalone Linux to diagnose boot, GPU, or miner issues:

journalctl -u hashhaven-agent -f
systemctl status hashhaven-agent hashhaven-tui
nvidia-smi && clinfo -l
lspci -nn | grep -iE 'vga|3d|display'
curl -fsS https://hashhaven.eu/api/v1/os/manifest | head -c 400

Auto-Selected Miners & Algorithm Notes

HashHaven OS automatically downloads SHA-256-verified miner binaries on demand and passes the exact flags required by each pool:

  • KawPoW (RVN, XNA, FREN, NEOX, SATOX, ABRS): NVIDIA uses rigel; AMD & Mixed rigs use wildrig-multi.
  • BeamHashIII (BEAM): NVIDIA & AMD use lolMiner with automatic --tls 0 (required for HashHaven's non-TLS BEAM Stratum).
  • EvrProgPow (EVR) & MeowPow (MEWC): NVIDIA & AMD default to wildrig-multi (optional srbminer / bzminer override supported).
  • Etchash (ETC), NexaPow (NEXA) & KarlsenHashV2 (KLS): NVIDIA uses rigel; AMD & Mixed rigs use lolMiner.

Frequently Asked Questions (HashHaven OS)

Why is HashHaven OS 64-bit x86_64 (~456 MB) instead of a 32-bit tiny Linux?

Modern GPU compute drivers (NVIDIA 580 CUDA/NVML and AMD ROCm 6.3.4 OpenCL), all current GPU miners (rigel, lolMiner, wildrig-multi, SRBMiner-MULTI), and large DAG files over 4 GB require a 64-bit x86_64 kernel and userspace. HashHaven OS strips out X11, compilers, and desktop tools to fit both NVIDIA and AMD compute stacks into ~456 MB.

Does HashHaven OS need an SSD or hard drive?

No. HashHaven OS runs 100% in RAM using OverlayFS on top of the read-only SquashFS image. You can boot diskless rigs over PXE/iPXE or from a FAT32 USB stick with zero storage wear.

How do my rigs get my wallet addresses without editing config files?

Save your public receiving addresses once in My Account → Wallets & Mining and boot your rigs with your personal OS API token (hh_...). The agent fetches the matching wallet, Stratum port, and miner command automatically whenever you switch coins in the AIO Dashboard.

Does HashHaven OS support mixed NVIDIA and AMD GPUs?

Yes. Both NVIDIA 580 (with nouveau blacklisted) and AMD amdgpu/ROCm 6.3.4 OpenCL drivers are built in. The agent auto-detects NVIDIA, AMD, or MIXED hardware and selects the optimal miner per algorithm.

Why won't my rig boot over PXE or load the NVIDIA driver?

In your motherboard BIOS, disable Secure Boot, enable Above 4G Decoding, set PCIe risers to Gen2/Gen3, and make sure your DHCP boot file matches your boot mode (ipxe.efi for UEFI, undionly.kpxe for Legacy BIOS). Check live logs with journalctl -u hashhaven-agent -f.