Installation: Hive OS 2.0 for mining on a USB flash drive (Guide + Tutorial)

Installation: Hive OS 2.0 for mining on a USB flash drive: installation on a USB flash drive, overclocking cards – If you are looking for a simple guide, then this is perfect for you?

One of the important elements required to ensure the stable operation of mining farms is the use of a reliable, fast and easy-to-manage operating system.

Deserved popularity among miners is Hive OS – an operating system of the Linux family based on the Ubuntu distribution, optimized for mining cryptocurrencies. Linux miner hive os is both a complex of programs and a service for monitoring your rigs. This review describes what Hive OS is, how to install, configure and use it for mining.

How to burn Hive OS 2.0 for mining on a USB flash drive

Promo code for crediting 10 USD to the balance of Hive OS: Altcoinlog

You can download the system image on the developers website at https://hiveos.farm/ , where you need to follow the Install link and select the required distribution kit.

There are currently two current versions of this system:

  1. Beta Image – the latest version, which may contain bugs;
  2. Stable Version  is a stable and reliable version.
  3. AMD Vega – designed only for rigs on Vega 56/64

You can download any distribution kit from the official website directly as an archive or via a torrent. For recording, you need to use a  USB flash drive with a volume of at least 8 gigabytes  or an ssd disk.

The second option is preferable, the flash drive after Hive OS wears out pretty quickly, and the removable disk works faster. You must unzip and burn Hive OS to your storage device.

It is possible to install a hive os on a hard drive, but the system can work perfectly straight from a USB flash drive or ssd disk, provided that the device has a sufficient level of performance.

When creating an image in Windows OS, you will need the Etcher program , which can be downloaded from etcher.io/ . It is a very handy open source program that exists in versions for Windows 32/64, macOS and Linux. It provides guaranteed recording quality and the absence of failures due to read errors in subsequent work. Instead, you can use HDD Raw Copy Tool, Win32 Disk Imager, Rufus or similar utilities.

In the Etcher utility for writing images, they select the system image unzipped after downloading, check the path for writing and press the Flash button . It should be understood that all of the information that is on the USB-fash , will be destroyed .

Etcher utility for hive image recording

The image recording will take 10-15 minutes, the process of preparing the flash drive can be monitored in the program window:

Installing the Hive os image on a flash drive

After preparing the media, Etcher will check the integrity of the recording:

Hive OS image capture process

At the end of the check, the application will display a success message:

End of installing Hive OS on a USB flash drive

This USB stick can now be inserted into a free port of the assembled rig and run it . First, in the BIOS of the motherboard of this computer, you need to set the option to start from a USB flash drive. After turning on the rig, the system will automatically configure the equipment and ask for a user ID with a password.

To get this data, you need to register on the hiveos.farm website (get an account) and create a worker.

How to register on the website hiveos.farm, create an account and a wallet

To use OS Hive, you need to go through the registration procedure and create an account protected by a password and, preferably, two-factor authentication .

Login to the hive operating system website

To do this, follow the Sign In link at https://hiveos.farm/ :

Hive OS registration
Creating a new Hive OS account

To register Hive, you need to enter your name information, desired username, email address, select the desired time zone and create an account password.

After registration, a window will appear, which displays the login, the status of the farms and the current balance on the user’s account ( in this case, one farm ):

Login to the hive operating system website

To ensure protection against hacking, it is advisable to set up two-factor authentication through the “account” menu, where you need to move the corresponding slider to the right :

Setting up two-factor authentication on the site

To create a worker ( rig ID ), click on the farm field in the main window of your account, after which a window will appear that allows you to:

create worker (ID rig)
  • create workers – identifiers and passwords for each rig;
  • track work statistics ;
  • create wallets containing information about the addresses where the cryptocurrency mined during mining will be transferred;
  • create flight sheets that contain a mining configuration that can be applied to any rig;
  • create overclocking profiles for different algorithms and rigs ;
  • in the activity tab, track actions with the account ;
  • in the access tab, track authentication actions in the account of other users ;
  • using billing to work with payments for the account (necessary when managing more than three rigs);
  • configure the configuration of your personal account .

If you forgot your Hive OS password, it’s okay, enter your email address and you will be provided with a recovery token and a link to reset your password.

A more serious problem will be the loss of the two-factor authentication code, be sure to save the 2FA connection code on paper or electronic media.

To create a worker in the farm window, click the plus in the white square:

Worker Creation (Rig ID)

In the drop-down list, select the addition of a worker:

Add worker

In the pop-up window, configure a new worker in accordance with the rig to which it will belong:

Selecting and creating a new worker

After that, a window with the ID of the rig , password and FARM_HASH data will appear in the account :

Rig ID, password and unique HASH farm number

The rig ID and password must be rewritten, they will be needed to activate it on the first boot.

For further work with the rig, you need to create wallets that will save information about the addresses to which coins will be transferred during mining. To create them, click on the name of the farm ( at the top left of the personal page https://the.hiveos.farm/farms ) and select the wallets menu. On the page that opens, activate the add wallet button:

In the window that appears, select the name of the coin from the drop-down list, enter the corresponding address of your wallet and give it a name (in this case, Monero ).

Creating a new wallet

All created wallets can be monitored and, if necessary, edited in the wallets menu of each farm.

To configure mining for a specific pool, use the flight lists menu (they act as BAT files in Windows), in which the following are selected from the drop-down lists:

  • mining algorithm (coin):
  • the desired wallet (the address where the funds from mining will be transferred);
  • the pool and the servers most closely located by geography (ping) are selected;
  • miner program;
  • the name of the selected configuration (flight sheet) is set.
Setting up a flight sheet for a new worker

After configuring the configuration, press the button for creating a flight sheet in the lower right part of the rig settings window.

How to choose the right miner in Hive OS

Choosing the right miner means using an application that is compatible with the installed hardware and provides the most efficient and reliable mining.

Hive OS has many built-in miner programs that are selected separately for each flight sheet of the farm by selecting them from the drop-down list:

Multifunctional Hive os

If you want to simultaneously use mining on the video card and on the processor, you need to click on the add miner button at the bottom right of a specific flight sheet:

The ability to add several algorithms for the operation of the operating system in mining

In the fields that open, set the configuration for the coin that will be mined on the processor: pool, wallet, miner.

In the miner configuration menu, you can set fine overclocking settings, similar to the commands used in the BAT file for overclocking. To do this, in the corresponding flight list, press the ” Miner configuration ” button and add the necessary commands to the miner configuration override field:

Setting fine settings for overclocking video cards

To save the settings, press the button to apply the changes made. After creating the sheet, you can check the correctness of all settings:

Farm settings for mining

If desired, you can change the configuration of flight lists by clicking on the ellipsis button on the right of their window and selecting the Edit line :

How to change the find miner in Hive OS

When you click on the miner configuration line, a window appears in which you can edit the existing template and edit the commands for fine tuning the miner in its configuration field.

An example of entering overclocking parameters for mining Monero as a second coin on the processor:

overclocking parameters for mining Monero

After making the changes, you need to save the changes made using the update button:

update changes

To mine Metaverse in Hive OS, create a new flight sheet and select an ETP coin :

Creating a new flight sheet

Then they set up the configuration of the wallet in the standard way ( enter the address and assign a name ), select the pool for mining and the miner program. If solo mining will be carried out, then in the menu of the second coin, select Don’t use dual :

Choosing the second coin in Dual mining

After that, do not forget to press the button for creating a flight sheet.

To mine Lyra2z on Hive OS, select the appropriate coin, for example, ZCoin ( XZC ) and create the corresponding flight sheet:

Zcoin

When reconfiguring to a different algorithm, production must be stopped. It couldn’t be easier how to stop the rig on the hive os, click on the pickaxe icon on the dashboard and select the “stop miner” option.

Done, you can start reconfiguring. To start / stop from a command prompt window, use the value: miner start / stop, if you need to reboot or stop the system, use

  1. reboot – reboot;
  2. sreboot – force restart;
  3. sreboot shutdown — стоп.

How to activate the rig and synchronize the start of mining

The rig is launched automatically after loading it from a USB flash drive. After the system is automatically configured, a window will appear inviting you to add a rig (worker) profile to your account, set its name and password, get its ID and enter them into the configured computer ( this data can be obtained immediately after creating an account ).

The system will prompt you to press enter to use the default api.hiveos.farm server :

Riga activation and Hive OS synchronization

You must press enter, then enter the ID and password of the rig . After that, the activation of the system for mining is completed and you can work with the rig remotely from the window of your personal account .

Overclocking AMD and NVIDIA video cards, the main mistakes

To overclock video cards in Hive OS, use the overclocking profiles menu on the farm page (https://the.hiveos.farm/):

Selecting the menu of overclocking profiles for video cards

By clicking on the add OS profile button, many different profiles can be created to suit each coin.

For the convenience of finding a profile that is most suitable for the mining algorithm of a particular coin, you can give it an appropriate name:

The name of the algorithm for working in Hive OS

Overclocking parameters can be entered by clicking on the pencil icon in the line of the selected profile. At the same time, a window appears in which you can change the core and memory frequency for each card , set the fan speed , set the consumption limit:

For AMD video cards , a template is used that is more suitable for these types of cards:

The overclocking parameters are set in the same way as in Windows, but when setting the memory frequency of Nvidia cards, you need to set values ​​twice as high as in Windows. When overclocking AMD cards, the power consumption limits can be changed by adjusting the values ​​of the core state.

For AMD video cards, you can also set the memory status index (1 – maximum economy, 2 – maximum efficiency).

The main mistakes when overclocking the rig is setting too much overclocking or too low voltage on the core (for AMD video cards). It should be borne in mind that mining with different algorithms requires the use of individual overclocking settings , each of which can be set in your configuration of overclocking parameters .

If you decide to mine with Hive OS amd cards, sometimes problems arise during startup and during the mining process. Most often they are associated with custom BIOS firmware of GPUs, undervolting and the presence of video cards of different models in the same assembly.

Sometimes, Hive OS errors in the mining process occur due to incorrect operation of the farm components (motherboard, risers).

But in general, according to developer statistics, the number of red and green using the latest Hive OS update is about the same.

How to operate the rig, the main nuances after setup

Working with the rig after activation is carried out through the web interface in the user’s personal account on the Hive OS website . The control is carried out by clicking on the worker corresponding to the rig. The main control buttons are displayed in the upper part of the worker window:

They allow you to perform the following actions:

  • manage power:
  • manually set network parameters for communication with the rig, including work via VPN;
  • execute Linux commands;
  • start mining;
  • work with the rig console;
  • work with a miner;
  • use watchdog;
  • manage temperature conditions and fans.

Mining is turned on by pressing the rocket button, after which it will be possible to select the desired flight list:

After selecting it, click the apply button, and the rig will start mining in accordance with the given configuration:

The rig menu will display information about its state, including information about each video card, their temperatures, hashrate, stability and other important parameters:

Where to find information about Riga in Hive OS

If you have upgraded the equipment, but do not know how to remove the worker on the hive os, or for some reason you are not satisfied with the work in the OS, go to your account. Double-click on the farm name to open the worker settings. The remove hardware button is in the right corner next to the farm name.

The system will ask you to confirm the seriousness of your intentions, type yes and press confirm.

Once the worker is removed, you can create a new hardware configuration. To delete a farm completely, go to advanced settings, the “Delete farm” button is at the bottom, the process is similar to deleting a worker.

Please note that after deleting the farm, all data about the settings of the video cards, flight lists and wallets of the coins you have selected will be deleted. We’ll have to re-create everything.

To configure Hive OS wifi, you must enter the wifi command and register ssid and pass to connect to the router. In case of problems, open the USB flash drive through Windows and find the configuration file to enter the name and password of the wireless network. If the system displays the wifi adapter as one of the connected USB devices without classifying it by destination type, then the farm is offline. Most likely, you will not be able to start mining at all, even if everything worked fine on Windows. Linux operating systems are sometimes not friendly with some wifi adapters and there is nothing you can do about it. A cable connection is still more reliable, mining on Windows or Hive OS wifi is not a good idea.

Configuring security

При создании учетной записи обязательно активируйте двухэтапную аутентификацию. Сменить пользователя можно выполнив: hive-passwd yournewsecurepass (вместо yournewsecurepass введите новый пароль). Рекомендуется заменить пароль SSH. Введите passwd user и укажите новый пароль доступа.

Вместо порта по умолчанию (SSH 22) лучше использовать альтернативный, например, 2222. Если вы работаете с VNC, измените пароль в /hive-config/vnc-password.txt.  Если используете пароли по умолчанию, обязательно отключите ShellInABox.

Как обновить ядро на Hive OS

The option of remote control of rigs through the Teleconsole service was integrated into the Hive infrastructure back in 2019. But the service often failed, so the team released their own ready-made solution called Hive Shell. Remote access can be activated through the menu interface by clicking Hive Shell Start . You can manage the mining farm from any remote computer by clicking on a special clickable link that opens the worker’s terminal window. You can set up sharing or management via an SSH client. But do not share the link with just anyone, otherwise the attacker will be able to reconfigure the rig to his wallet.

The Hive developers periodically release updated kernels. They added support for the latest models of video cards, processors and other components, as well as new releases of drivers and mining software, fixed bugs and bugs. You can install the latest release of the operating system using the Hive Shell. Log into the worker and issue a command to activate the update ( hive-replace -y –stable ).

When the process is complete, reboot and you can continue working. But if the updated Hive has more highly efficient miners for mining a particular coin, a new flight sheet should be created.

Popular Hive Teams

Ordinary users are accustomed to controlling their computer through a graphical interface. But, if you decide to start crypto mining, you will have to learn how to work with the terminal and create executable files. If a few years ago, developers still tried to release miners with a graphical shell, now this idea has been practically forgotten. Well, if you decide to switch from the familiar Windows to the highly efficient Hive OS, then you should know (or better learn by heart) a set of commands for management.

Command Description
miner Displays running miner
miner start (stop) Used to start (end) mining
miner config Outputs the miner configuration to the terminal
sreboot Reboot
sreboot shutdown Immediate shutdown
dmesg System messages and boot log
ifconfig Available network interfaces
iwconfig Connected wifi adapters
net-test Diagnosing network problems
top -b -n 1 Demonstrates all running processes
wd status Watchdog status
timedatectl Time and date synchronization
hello Hello server

AMD rig commands:

Command Description
amd-info Details of all connected AMD graphics cards
amdcovc Core and memory frequencies
wolfamdctrl -i 0- -show-voltage Graphics adapter voltage. Digit 0 denotes a serial number
chmod +x ./amd_install.sh Allows the start of the AMD driver update process
./amd_install.sh Running AMD Driver Update

Commands for Nvidia:

Command Description
journalctl -p err | grep NVRM List of video card errors
nvidia-driver-update 430 Installing the driver (the number indicates the version)
nvidia-driver-update –list List of available drivers
nvtool- – clocks Core and memory frequencies
nvidia-driver-update Driver update
nvidia-driver-update –remove Removing the driver

Other commands:

Command Description
/hive/opt/opendev/watchdog-opendev reset Resetting the watchdog timer
sreboot wake alarm 120 Reboot the PSU
disk-expand -s Extension of the current section
hpkg list miners List of installed miners
journalctl -u hivex- -no-pager View server log
logs-on Saving logs to disk
logs-off Keeping all logs in memory
selfupgrade –force Force system update
firstrun -f Re-entering ID and password

We recommend that you remember the following key combinations

  • Ctrl + C, cancel the running command.
  • Ctrl + A, exit the screen (miner or agent) without stopping the process itself.
  • Ctrl + A, Space or Ctrl + A, 1,2,3 switch between screens.

To control the system, you can open a separate terminal and enter commands on the keyboard, as well as work remotely through the Hive Shell web console, or an IP address.

Installing an operating system on an ASIC

The following miners can be connected to the Hive OS system:

  • Antminer S9 / S9i / S9j / S9-Hydro / S9 (VNISH) / S9 (mskminer) / S11;
  • Antminer L3 + / L3 ++;
  • Antminer D3/D3(Blissz);
  • Antminer DR3;
  • Antminer A3;
  • Antminer T9 / T9 +;
  • Antminer Z9 / Z9-Mini;
  • Antminer X3;
  • Antminer E3;
  • Antminer B3;
  • Antminer S7;
  • Innosilicon A9 ZMaster;
  • Innosilicon D9 DecredMaster;
  • Innosilicon S11 SiaMaster;
  • Zig Z1/Z1+;

For some models there is a special HIVEON ASIC firmware, you can download it from the official website, but in any case, you need to install the Hive OS client. The utility allows you to see equipment on the OS, edit wallets and pools, and manage equipment. The Hive OS client runs on both stock and alternate ASIC firmware. But if HIVE ON firmware is released for your model, install it, so you can earn more coins. The client is already installed on the flashed ASIKs, the rest must install it separately via the web interface or SSH.

Antminer 15/17 series and S9k / S9SE models load the firmware into RAM. Hive client installation is only possible when updating the ASIC using Bitmain firmware with the built-in Hive OS client. When finished, you need to open the miner web interface, go to the Hive OS tab, specify FARM_HASH and save the settings. For other Antminer 3/7/9 models, just update the firmware. Do not install the latest versions of the official firmware, there is built-in protection that blocks the installation of modified software. An alternative to the web interface is the BTC Tools program.

More information on installing the Hive client for ASIKs is available on Github, link: https://github.com/minershive/hiveos-asic#prepare.

Popular problems and solutions

Even if you have updated the system kernel, this does not mean that the Hive OS drivers will be automatically updated. For the farm to work stably and efficiently, the drivers must be manually updated via the console.

If Hive is constantly rebooting, perhaps the problem is in the hardware itself or you have set the overclocking parameters too high. Check cables and reduce overclocking to a minimum. If you still have problems with Hive, rewrite the image to another medium. Flash drives wear out pretty quickly.

If the worker is offline, Hive OS simply does not see him, that is, there are network problems. This is often the case when connecting via wifi. If the network is ok, run the following commands:

  1. ping hiveos. farm check the connection to the Hive server
  2. mtr hiveos. farm- check of packages
  3. time curl http://hiveos.farm checking HTTP ports.

Alternatively, you can simply run the agent-screen and see what is wrong.

If Hive does not see the video card, then most likely the problem is in the hardware itself (video cards, riser, cables, motherboard). If the hardware is okay, try updating the drivers, it usually helps.

For green ones, it is possible to cancel the overclocking settings after the update. Run: apt-get install —reinstall -y nvidia-settings . When using the expander on Hive OS, there may be problems with the definition of the sixth card, especially for Nvidia graphics adapters. There is no ready-made solution to this problem, you need to either change the expander, or switch to another operating system.

Conclusion, the main pros and cons of the platform

Using Haif OS for mining provides the following benefits:

  • high-quality Russian-language, intuitive interface of the personal account;
  • rational use of computer resources with the correct configuration of the miners;
  • quick installation and start of the system due to the absence of unnecessary programs and services in autostart;
  • the amount of initial work on installing the system and setting up the rig is significantly reduced;
  • convenient remote monitoring and control of the rig operation after its launch;
  • The OS supports a large number of equipment, including ASICs, without the need for additional installation of drivers and updates, most of the necessary miners for video cards and processors, as well as auxiliary utilities, including watchdogs, are built into it;
  • there is no need to use a separate drive, one 8 GB USB flash drive is enough to work;
  • easier setup for mining than with other Linux distributions;
  • there is built-in support via chat in Telegram.

Using Hive OS for mining has a number of disadvantages, including:

  • Hive OS is free to use if up to three rigs are used. For each next rig, you need to pay $ 3 per month or mine on the Hive ON pool;
  • the management of the rigs is carried out through third parties, which increases the risk of hacking;
  • many more different programs and utilities for mining are released for Windows operating systems, which allows you to achieve high mining performance;
  • when using Hive OS, there is a risk of being hacked due to the exploitation of the vulnerabilities it contains;
  • some hardware configurations are not supported;
  • for Nvidia video cards, it is impossible to fully control the voltage on the core by standard means, it is possible to change the power limit (in Windows, you can control the voltage using nvidiainspector).

Nevertheless, judging by the reviews on the mining forums, almost all miners are satisfied with the work of nvidia gpu devices on Hive OS. Farms are easy to start up and not a lot of hassle.

operating system statistics

Despite the fact that Linux hive is considered a paid operating system, most miners can work in the OS for nothing.

The use of Hive OS causes only positive emotions for almost all users due to its convenience and a large number of useful functions. All these functions are successfully implemented in Windows operating systems of various generations. Based on this, the choice of the operating system for the rigs is a matter of taste and preference for each miner.


Subscribe to our resources and read comments, sometimes smart people write smart things there.


Related materials: Readers Rating: 87% 11 votes

(installation on a USB flash drive, overclocking cards)