Back to home

Safe and easy mining.

A clear start.
Operation under control.

From the first boot to tuning OC. Go one step at a time, and check the result before moving on.

Before you install

  • An x86-64 rig with NVIDIA GPUs. The image does not yet include a driver for cards older than the Turing generation.
  • The motherboard can boot in UEFI or legacy mode; in UEFI, Secure Boot must be turned off.
  • A USB drive of 8 GB or more, preferably a genuine brand-name one. The rig needs a wired network with DHCP. A monitor to watch the first boot.
  • An account that can sign in to the dashboard.
  • Image 0.9.26 and its SHA-256 from the download page.

Turning off Secure Boot is a requirement of the image when booting in UEFI mode, not a security feature. This guide does not flash the BIOS or VBIOS.

Check the file and write the USB

  1. Check the SHA-256. Compare the checksum of the .img.xz file with the value on the download page; the commands for Windows, macOS and Linux are under Check the SHA-256. If it does not match, download again and do not write the USB.
  2. Choose an image writing tool. Use balenaEtcher on Windows, macOS or Linux, or Rufus in DD mode on Windows.
  3. Select the image, then the correct USB drive. Check the drive's name and capacity. If the tool needs an .img file, extract the .img.xz first.
  4. Write, and wait until the tool finishes verifying. Unplug the USB drive and plug it back in to copy the configuration.

The image writing tool erases the entire selected drive. After writing, Windows may say a drive “needs to be formatted” or “cannot be read”: that is the rig's system partition, so click Cancel and do not format it.

Connect the rig to your farm

  1. Open the dashboard → Add rig (Thêm rig), then click Download moonos.conf (Tải moonos.conf). Every rig in the farm uses the same farm key in this file.
  2. Copy the file to the root of the MOONOS drive on the USB, replacing the sample file.
  3. Plug the USB drive into the rig, connect the network cable and choose to boot from USB in the motherboard's boot menu.
  4. On first boot, the rig expands its partition to fill the USB drive and creates its identity, then joins the farm with the key in moonos.conf.
  5. If the rig cannot join the farm, its screen shows an 8-character pairing code and a QR code. Enter the code under Add rig, or scan the QR code with a phone that is signed in to the dashboard. The code is valid for 60 minutes.

Keep moonos.conf private. Anyone with this file can add rigs to your farm. Do not share it publicly or put it in Git. If you change the farm key (Đổi khoá) under Add rig, the old key can no longer add new rigs; rigs already in the farm are not affected.

Open Add rig

Start mining from the dashboard

  1. Check that the rig is online, shows all its GPUs and has fresh temperature readings.
  2. Create a wallet (Ví) and a Flight Sheet. A Flight Sheet holds only coin, wallet, pool and miner; one sheet can be applied to many rigs.
  3. Open the rig's Autofan tab and check the critical temperature and what the rig does when a GPU reaches it. Each rig has its own critical temperature, 85 °C by default, adjustable from 50 to 95 °C. This is the allowed range, not a recommendation to run close to the limit.
  4. Apply the Flight Sheet to the rig. If the miner is running, the rig restarts it with the new sheet; if the miner is stopped, it stays stopped until you click Start.
  5. Check the log, accepted shares and the figures on the pool. Do not rely on instant hashrate alone.

Turn off mining on a single GPU with its switch on the rig page; the miner runs with the remaining GPUs. The switch does not power off the card, and changing the selection may restart the miner. Click Stop and the miner stays stopped until you click Start; the watchdog does not start it again.

Moon OS does not restart the rig on its own; the rig restarts only when you click restart on the dashboard. From image 0.9.26, the image loads the patched driver for CMP cards at boot; no reboot is needed to unlock them. The Flight Sheet no longer has an Unlock CMP box; RGminer runs with --no-cmp-unlock by default. CMP 30HX cannot be unlocked. A rig running an older image gets the patched driver by rewriting the USB drive with the new image.

Tune OC step by step

Run stable at default settings first. Then change one value at a time in small steps, and watch temperature, invalid shares and the log. There is no OC setting that is safe for every GPU. One OC profile is one set of values applied to every GPU in the rig; a card that needs different values gets its own OC.

  1. Moon OS checks OC against the limits the card reports before applying it, then reads back the applied values. Within the card's range does not mean stable; a limit that cannot be read does not mean there is no limit.
  2. Offset, power limit and fan are read back; clock locks are not read back as fully. A driver error partway through can leave a card partly applied; there is no atomic rollback. If there is an error, do not raise OC any further.
  3. After replacing a card: a GPU whose OC is beyond the card's limits still mines, at default clocks; the other GPUs keep their OC. The rig page shows which GPU is mining without OC.
  4. When the miner stops, OC on every card returns to default. If the driver hangs or a reset fails, check at the rig.

Fan can be set manually from 1 to 100 % or left on automatic; the rig keeps it within the card's fan range. A card may not go below its own minimum. Do not also set OC in the miner arguments: let Moon OS be the only place that applies OC.

How thermal protection works

Set the critical temperature in the rig's Autofan tab: 85 °C by default, adjustable from 50 to 95 °C. The rig's own temperature ceiling, if set, can only lower this limit.

When the rig's Autofan is on:

  • If a GPU is hotter than the target temperature (65 °C by default), the rig raises fan speed first, 5 % every 10 seconds, up to the maximum fan speed you set.
  • If the fan has been at maximum for one minute and the GPU is still hot, the rig lowers the core clock in 25 MHz steps, up to 300 MHz. This is temporary and the saved OC does not change; hashrate drops while the clock is lowered.
  • When it cools down, the rig restores the core clock first, and only then lowers fan speed.
  • The rig page shows which GPU has a lowered clock and why.

VRAM temperature, if you set a target for it, only controls the fan. Clock lowering and the critical temperature use core temperature. A GPU you give its own OC runs exactly that OC; Autofan does not change its fan or clocks. The critical temperature still applies.

When a GPU reaches the critical temperature

This step always runs, even with Autofan or the watchdog turned off. The Autofan tab offers two choices:

Exclude that GPU for now (Tạm loại GPU đó, GPU khác đào tiếp), the default
The miner stops and leaves that GPU out, then restarts with the remaining GPUs once they are below the critical temperature. The GPU left out mines again only when you turn it back on. If every mining GPU reaches the limit, the miner stops.
Stop
The miner stops and stays stopped until you click Start or Restart. Start is refused while any GPU is still not below the critical temperature.

Thermal protection runs on the rig itself and does not wait for a connection to the server. It needs the rig's agent, driver and operating system to still be running, and it does not replace monitoring of power, wiring and cooling.

Thermal protection versus the watchdog

When a GPU fails

A faulty GPU (dropped off the rig, temperature unreadable, or cannot be opened to apply OC) is left out; the miner restarts right away with the remaining GPUs. The miner stops briefly to restart. The miner stops completely when every mining GPU is faulty, or when readings for the whole rig are lost for more than 20 seconds.

The rig page, the farm list (Danh sách Rig) and Telegram (if you have connected and enabled it) show which faulty GPU was left out. A card left out stays out until the next Start, Restart, reboot or Flight Sheet change.

If a broken card hangs the miner, the rig reports “needs Reboot” (cần Reboot rig). You click Reboot (Nguồn → Khởi động lại) once, and the miner restarts on its own with the remaining GPUs. Moon OS does not reboot on its own.

When the rig reports a problem

GPU excluded for heat
Check the fans, cooling and OC. Turn the GPU back on after fixing it; the GPU must be below the critical temperature to mine again.
Faulty GPU left out
Check the riser, power supply and driver at the rig. Do not raise limits or turn off sensors to get past the error.
Rig reports it needs a Reboot
Click Reboot on the rig page. If the card is still faulty after that, check the hardware.
Miner keeps restarting
The rig's watchdog restarts the miner when there are no shares (30 minutes by default) or hashrate is low, at most 3 times per hour, counted together with crashes. When those restarts are used up, the miner stops and waits for you: check the log, pool, network and OC before you click Start.
Command with unknown result
The system closes commands with an unknown result on its own; a lost settings command is sent again once. Check the actual state on the rig page before sending the command again.
Rig offline on the dashboard
Offline on the dashboard does not mean the miner has stopped. Check the network and the rig's screen on site.

Reinstall the USB, keep the rig in the farm

  1. Before rewriting the USB, open the rig page → Reinstall USB (Cài lại USB) → download the recovery moonos.conf.
  2. Write the image and copy the recovery file to the MOONOS drive.
  3. Boot the rig from the new USB drive. The rig keeps its name, Flight Sheet and OC. The old USB drive is revoked immediately; do not plug it into another rig.
  4. The miner does not start on its own after recovery. Check the Flight Sheet and OC, then click Start.

The recovery key works once and expires after 7 days. If you use a regular moonos.conf instead of the recovery file, the rig joins the farm as a new rig.