MinerOS is now very fast and convenient to migrate! Just a couple of clicks and all your rigs from the local network will be updated to the latest version of MinerOS, no matter what mining assembly you had before. Below is a step-by-step instruction. Follow the directions, migration will not take long even for beginners.

Make sure you are on the same local network with all rigs that require a migration. To start the migration, go to the SSH of any of your rigs running MinerOS. To do this, use the Linux terminal, or the Putty program (under windows). For login, use the local IP address of the rig; login: mine, password: mine.

Make sure that the rig from which the installation occurs meets the following system requirements:

  • Intel® Core ™ 2 Processor or better / AMD am2 + or better
  • 4 GB RAM
  • 7 GB of free space on the drive (USB / SSD / HDD)

 

In order to expand rig's disk space, run the command:

/home/utils/expand.sh

Getting to the migration. Run the following command:

/home/utils/migrate.sh

1. The script has started the migration process. First of all, the script will try to determine your authorization e-mail and PIN. If the data is not found, you must enter it manually.

MinerOS Mass Migration Utility v1.0

        Make sure your ssh connection is stable, better to rerun this script in GNU screen or tmux
        Writing log to /root/minerosmigrate.log


Auth email [email protected] and pin 12345 will be used in all configs!

2. Then you need to select the IP addresses of the local network to scan and search for suitable rigs for installing MinerOS. You can enter both one IP and a range, for example 192.168.2.125-192.168.2.135.

Please enter ip address range or single ip to scan [in format 192.168.10.1-192.168.10.100].
IP address or ip range: 192.168.2.125-192.168.2.135

3. Enter the login and password from SSH rig where installation will be performed

Please enter login for ssh for all hosts: user
Please enter password for ssh for all hosts: 1

4. The script will scan the network and offer options where you can install MinerOs. Be patient! After the scan is completed, a list of machines ready for installation is displayed. Select the rig numbers to install. You can select both individual numbers and ranges. For example 1,2,3,5-10

Trying to login by ssh to 192.168.2.125 ... success | Hostname: mstat2 | OS: Ubuntu 16.04.6 LTS
Trying to login by ssh to 192.168.2.126 ... fail
Trying to login by ssh to 192.168.2.127 ... fail
Trying to login by ssh to 192.168.2.128 ... fail
Trying to login by ssh to 192.168.2.129 ... fail
Trying to login by ssh to 192.168.2.130 ... success | Hostname: hive009 | OS: Ubuntu 16.04.6 LTS
Trying to login by ssh to 192.168.2.131 ... success | Hostname: ethos12 | OS: Ubuntu 18.04.6 LTS
Trying to login by ssh to 192.168.2.132 ... fail
Trying to login by ssh to 192.168.2.133 ... fail
Trying to login by ssh to 192.168.2.134 ... fail
Trying to login by ssh to 192.168.2.135 ... fail

Hosts to upgrade available:

[1]: 192.168.2.125 | Hostname: mstat2 | OS: Ubuntu 16.04.6 LTS
[2]: 192.168.2.130 | Hostname: hive009 | OS: Ubuntu 16.04.6 LTS
[3]: 192.168.2.131 | Hostname: ethos12 | OS: Ubuntu 18.04.6 LTS

Please enter list of hosts to install (ex. 1,2,3,5-10), or press enter to install to all available: 1

5. At the last step, the script downloads a fresh image, enters the necessary authorization data for each rig into it, start local web server to speed up distribution and installs MinerOs on all selected rigs.

Going to install on hosts: 192.168.2.125

Downloading install image ... already downloaded and unpacked
Activating http server on 192.168.2.196 to serve image ...
Testing http server ... it works!

Installing on 1 | 192.168.2.125 | Hostname: mstat2 | OS: Ubuntu 16.04.6 LTS
        preparing image ... rigname rig_2.125 ... done
        copying system data ... done
        mounting filesystem read-only ... ok
--2020-04-22 16: 24: 08-- http://192.168.2.196Point8884/mineros.img.gz
Connecting to 192.168.2.196Point8884 ... connected.
HTTP request sent, awaiting response ... 200 OK
Length: 903508271 (862M) [application / gzip]
Saving to: 'STDOUT'

- 100% [====================]] 861.65M 22.1KB / s in 3m 45s

2020-04-22 16:27:53 (3.82 MB / s) - written to stdout [903508271/903508271]

New system has been burned !!! Closing ssh connection ...
Connection to 192.168.2.125 closed by remote host.
=== PROGRESS: 100%

ALL DONE. THANK YOU

6. Wait for the installation to complete. After that, new rigs will appear in your MinerOs control panel. Their names will be in this format: rig_2.125. You can rename them on the rig's page.

Installation completed! Your OS for mining is ready to run.