How to use msOS (Re)flasher tool?

msOS flashing tool, commonly referred to as mreflash, is a command line utility for Linux-based operating systems that allows for downloading and flashing msOS to your system.

The tool is already built-in into msos, and on other systems you can get it from here or via command line, downloading and running it in one line:

wget https://minerstat.com/migrate.sh && sudo chmod +x migrate.sh && sudo bash migrate.sh
Note You can append options and arguments right to the end of that line to proceed with the installation without launching it again, otherwise use "sudo bash migrate.sh" in place of "mreflash" in this article.

Common usage examples

In this section, we'll go over the most common examples of using the reflasher tool.

Warning If the process is not successful, you will have to resort to using the SSD Flasher tool or Etcher, both require an additional computer.

Listing all the commands

This is done simply by launching mreflash from the console:

minerstat: Reflasher - Step 1

Flashing the stable version

This will download and flash the most recent "stable" channel build. At the time of writing, this is msOS 1.4 version.

mreflash --stable

Flashing a specific version

Let's suppose you need to update your rig as you recently got AMD's 6000-series cards and so you want to flash the version that supports them. This would mean you need msOS 1.7.4 Beta, for which you can use the command:

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

Flashing a different specific version can easily be done by first using the command to list all the available versions:

mreflash --list

minerstat: Reflasher - Step 2

And then running as the example above with one of the version names, which are marked with [INFO].

mreflash --version msos-v1-2.zip

Force flashing

mreflash checks your storage and RAM before it flashes, and will not reflash if the conditions are not ideal. However, it is possible to force the process. Simply add the --force option to your command, like this:

mreflash --stable --force

Flashing from a SMB storage

It is also possible to not need to download the archives locally, you can use a SMB file server to flash the disk image from it.

Suppose, we have a device on our network with IP "192.168.1.59" with a share named "W", inside which, in the "Downloads" folder we have "msos-v1-6-K54-N455-A2030.zip". For the sake of this example let's also say that our share is password protected, with user being named simply "user" and password being "NobodyWillGuessThis". Here's how this user would flash the image from their network share:

mreflash --smb-share //192.168.1.59/W --smb-file Downloads/msos-v1-6-K54-N455-A2030.zip --smb-user user --smb-pass NobodyWillGuessThis
It's easy to get started and it's free

Use minerstat software and improve your mining operation

Sign up for free