How to prepare your Linux rig for mining?

To start mining with msOS you will need to prepare your rig for mining with Linux. In majority of cases, the boot will go smoothly, but there could be some issues that can be prevented by following this guide.

Hardware support

All GPUs in the rig must be listed under supported hardware. We don't support and advise against:

  • Mining in virtual environment on personal computer;
  • Mining on laptops and notebooks;
  • Mining in home networks without separated guest account on router;
  • Mining on shared or public networks;
  • Mining with mixed AMD and Nvidia GPUs.

System requirement

You can check minimum and recommended system requirements for running msOS here.

Environment for mining

Follow these guidies to prepare your mining rig for efficient mining with Linux.

Drive

  • Suggested requirement: SSD of any size. SSD should be connected through SATA instead of USB.
  • Minimum requirement: 16GB USB 3.2.

BIOS

  • Upgrade BIOS to the latest version to avoid BIOS related bugs.
  • Set PCIe to GEN 2 for all GPUs.
  • Boot type: UEFI  
  • Enable CSM support
  • Enable 4G decoding
  • Disable internal GPU
  • Disable secure and safe boot

Hardware setup

  • If you are using monitor, make sure it is plugged to the first GPU.
  • If you are using only one GPU, make sure it is plugged into X16 slot on the motherboard.

Network

  • If you are using ASUS router, disable two-way IPS and vulnerability protection.
  • If you are connecting via WiFi, make sure it doesn't have spaces or special characters in the name and that drivers are supported by Linux Ubuntu

Undetected hardware

If drives didn't detect some of your GPUs or some of the GPUs are not mining, you can also check:

  • Clear CMOS. You can do that by turning off PSU for 10 minutes or removing battery from motherboard for 10 minutes.
  • Plug USB to a different port that you didn't use on any mining OS before.
  • BIOS settings: UEFI / GEN2 / Above 4G Decoding
  • Validate PCI slot detection. From console you can use command: pci-realloc
  • Check PCI slot detection in your rig's BIOS (all slots must be green).
  • For Nvidia GPUs: Make sure you have 1 riser/GPU plugged to the main X16 slot. You can plug X1 riser to the big X16 slot. That is necessary for the drivers.
  • If you using LHR Nvidia GPUs update drivers with nvidia-update command as explained here.
Revolutionize your mining operation with minerstat

It's easy and free to get started. Monitor, manage, and optimize your mining rigs with our powerful platform.

Sign up for free now

msOS

Play-to-Earn TON Game
Play