msOS (Re)Flashing tool

minerstat
minerstat
May 9 · 3 min read

We are introducing a new tool for faster (re)flashing of your mining rigs and switching to a specific msOS version. For optimal performance, we suggest using an SSD and having at least 8 GB RAM. This tool can be only used through the console. If you use SSD via SATA the process should not take more than a few minutes. For slower systems, it can take much longer.

Note: If the process of flashing fails, the drive will need to be reflashed the regular way (with Etcher on a separate computer).

Updating msOS version

If you are already running a certain msOS version, you can now quickly switch to other versions. The command to check all available commands is mreflash.

A list of possible commands will open up. Select how you want to use the flasher. Here are a few examples.

Reflashing to a latest stable version

With this command, you will flash your OS to the latest stable version.

mreflash --stable

Reflashing to a defined version

With this command, you will flash your OS to the version you want to use. The mreflash command lists all available versions that you can choose from. To flash to the current latest 1.7.4 Beta, you would use the following command.

mreflash --version msos-v1-7-4-K54-N465-A2110.zip

Force reflashing

msOS will check for memory and disk space and won’t force the reflashing. However, if you still want to do it, you can use a --force flag.

mreflash --stable --force

Samba

If you want to utilize flashing through Samba, you can simply use --smb parameters for flashing:

  • --smb-share to define the shared path.
  • --smb-file to define the shared file.
  • --smb-user to define a username (if it is set).
  • --smb-pass to define a password (if it is set).

Here is one example.

mreflash --smb-share //192.168.0.110/myshare --smb-file myfolder/msos-v1-7-4-K54-N465-A2110.zip --smb-user myusername --smb-pass mypassword

After the process of flashing is finished, you can reboot your rig.

Migrating from other mining OS distros or Linux OS

You can now also migrate from any other mining OS distro or Linux OS to msOS within few minutes. The same rules for reflashing apply for other distros - you still need enough space on the drive and enough RAM to perform this operation. If flashing fails, a reflash of the drive is needed.

Download migration script

In the first step, you can call the following Linux command from the console to download the migration script.

cd /tmp; wget https://minerstat.com/migrate.sh && sudo bash migrate.sh

Once the migration script is downloaded, you can use it similar to the mreflash command but instead, use sudo bash migrate.sh command.

Reflashing to a latest stable version

With this command, you will flash your OS to the latest stable version.

sudo bash migrate.sh --stable

Reflashing to a defined version

With this command, you will flash your OS to the version you want to use. The mreflash command lists all available versions that you can choose from. To flash to the current latest 1.7.4 Beta, you would use the following command.

sudo bash migrate.sh --version msos-v1-7-4-K54-N465-A2110.zip

Force reflashing

msOS will check for memory and disk space and won’t force the reflashing. However, if you still want to do it, you can use a --force flag.

sudo bash migrate.sh --stable --force

After the process of flashing is finished, you can reboot your rig.

Join minerstat

Want to take your mining monitoring and management to the next level? Join minerstat and start for free.

minerstat

minerstat® is a crypto mining monitoring and management platform for ASICs, GPUs, and FPGAs.

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store