fbpx

Most orders for IN STOCK items placed by 12PM CST M-F ship SAME DAY. Orders for custom items and prints may take additional time to process.

Windows vs. Linux for Mining

I recently published several videos and articles on building and optimizing mining rigs. In both builds I used Windows. Mostly because I had never done some of these things and I knew it would be much simpler to experiment with things in Windows. I mean after all, the manufacturers of the video cards are targeting gamers. Gamers live in Windows! Windows owns the market by 98% or more. So it would make sense that the best support for most of these software packages would be in Windows. So when asked the question “Windows or Linux for mining?” I chose Windows.  But I might switch to Linux soon!

The Basics: Windows or Linux for Mining

There are numerous choices when trying to decide between Windows or Linux. On the Windows front you could choose between Windows 10, Windows 8.1.1, Windows 7. Not a huge list, but on the Linux front you could choose from hundreds of different operating systems. We’re going to hit on the most common Linux mining OS, Ubuntu. At the end of this article we will also touch on Simple Mining OS, which is Linux based and is showing some great promise!

Mining on Windows 10

Windows has been around for a long time and is the most common OS, used daily by the vast majority of people in the world as their primary operating system. It should be no surprise that Windows generally has the best driver support and software comparability of any operating system ever made. Windows 10 continues this tradition with an all new clean interface and a superior reliability and stability record compared to Windows 8. Of course, it’s still Windows, and it still costs a fortune to purchase. This isn’t a big deal when building a single rig, but what if you’re building 100 rigs?

Mining on Ubuntu Linux

Ubuntu has built a solid reputation of being the badass Linux distribution. Its rock solid reliability and ease of use (for Linux) have become staples of its growth. It has a solid GUI (that means Graphical User Interface), but let’s be honest: You probably won’t ever use it and will spend 99% of your time in at the command-line. This makes for a frustrating experience for miners who have never used a command-line operating system before. For those familiar with Linux, Linux may actual be the simplest choice for a mining rig, but more on that later.

Getting Started: Windows or Linux for Mining

The first thing you’ll need to think about when trying to decide between Windows or Linux for mining is the installation process.

Installing and configuring Windows for Mining

Installing Windows on a mining rig isn’t much different than installing Windows on a regular desktop PC. In fact its mostly identical. You’ll download the Windows 10 Media Creation Tool, create your USB installation disk and boot from it. After answering a few simple questions and selecting your primary hard disk, windows will boot just like any other PC.

After the boot process is complete you’ll need to make some miner changes to they way Windows works:

  • You’ll want to set Windows to auto-login rather than require a username and password.  This will make sure your miner restarts after a power failure or power outage.
  • Additionally you’ll need to setup your mining software to start on login.  This is generally done by putting a shortcut to your miner’s batch file in the Windows Startup folder.
  • You’ll need to tell your overclocking software to reapply settings on login to make sure your GPU cards are always running at their most efficient settings.

The process of installing and configuring Windows 10 for mining will take about 1 hour for most users.  If you’re building a lot of rigs you’ll need to learn how to auto-deploy an image or you’ll ultimately burn an hour for every rig installing and rebooting numerous times.

Installing and configuring Ubuntu Linux for Mining

The install process for using Ubuntu Linux for mining is quite a different story.  When trying to choose between Windows or Linux for mining you might be surprised just how much faster Ubuntu Linux installs. On a decent mining machine the install might be as little as 15 minutes, and there is only one reboot required! The install screens are a lot less glamorous however, and some technical questions the average user might not know the answers too.

To start your install of Ubuntu Linux for mining you’d grab the media installer and create a USB boot disk for it. All of the packages, drivers, and other software you’ll need is installed at the command line using the apt-get command.  This is quite a bit different from Windows way of double-clicking installer files.

Stability and Reliability: Windows or Linux for Mining

This is one of the biggest reasons for choosing Linux over Windows for mining. And before I start the holy war in the comments section below, let’s just get straight to the point. For about 100 reasons, of which we will only cover a few here Ubuntu Linux is far more stable and reliable than Windows 10.

Reliability of Windows 10 for Mining

Even with all of the great reliability and stability improvements in the latest versions of Windows 10, it’s still a big black eye for the guys up there in Redmond, WA. Windows can be incredibly annoying when it comes to how long its uptime numbers are (or how small they really are). Even if Windows manages to run reliably its constantly rebooting for updates and patches, and without hacking the registry like Donkey Kong its almost impossible to stop it. Windows 10 is serious about installing those updates and rebooting when it wants to. Redmond made it clear they don’t care about the system stability when it comes to patching. You will reboot. Resistance is futile!

That being said, Windows 10 has come a long way. With some registry and policy tweaks to stop reboots and put them on your preferred schedule, Windows 10 is far more stable than Windows 8 that came before it.

Reliability of Ubuntu Linux for Mining

Ubuntu Linux has won this battle. There is no comparison. I have Ubuntu Linux servers running in mission critical environments with years of uptime. This is because in many cases we can deploy patches to services and applications without a reboot.

Another thing to consider with Ubuntu when choosing Windows or Linux for mining is that Ubuntu is far more less prone to crashing when installing insane amounts of GPUs (Anything over 6 and Windows starts to have more and more problems). With Ubuntu Linux for mining, you’ll find you can easily and reliably run even 12 GPUs on a single system. Read about the most profitable GPUs for mining here.

Scripting and Automation: Windows or Linux for Mining

Windows and Linux both have decently powerful scripting tools. In Windows you have batch files that are super simple to use, and PowerShell for more advanced users (it takes a while to get good at PowerShell). In Linux you have shell scripting which is similar to batch, along with a host of other scripting tools.  Linux is the Swiss army knife in this regard.

Scripting and Automation in Windows for Mining

In Windows, automation can be as simple as placing your miners batch file in the startup folder.  This will make sure your miner starts as soon as the user logs in. That’s a super handy feature and almost anyone no matter the technical skills can figure it out.

Windows also offers some decent scripting languages and of course PowerShell.  With PowerShell you can do some really advanced stuff. If your mining rig and your gaming PC are the same computer, PowerShell can pause mining as soon as it sees World of Warcraft running. A pretty sweet feature!

Scripting and Automation in Ubuntu Linux for Mining

When it comes to the Windows or Linux for mining debate, this is another clear win for Linux. In Ubuntu there are what seems an unlimited number of scripting languages and options for automating your mining rigs. Of course, things can be pretty complicated for users who’ve never used command-line operating systems before. If your a Linux veteran, this might be the main reason you pick Linux to run your mining operation!

Linux has some cool features and one of them is the Crontab. This file runs on a schedule and can be programmed to check the status of your mining operation every so often and make adjustments. This could be something as simple as making sure your software is still running to actually checking the price of coins and profit switching to a coin that is more profitable at that moment.

Should you Pick Windows or Linux for Mining?

The choice is ultimately going to come down to your comfort level. If you know Linux or have used it in the past, then its probably going to be the ideal choice for your mining operation. For newbies or someone just getting into mining, Windows is certainly going to present the least amount of challenges to your new found hobby/business.

You might consider running both and testing them out.  If you get hung up on some of the more intricate parts of operating a Linux miner, you can always just reload Windows. Another piece of advise: It is OK to experiment change your mind. I know in our polarized world we live in today that’s a hard thing to do, but trying things out, and then changing to a solution that fits you better is a fine choice indeed.

Another Possible Option: Simple Mining OS

Before we go I wanted to introduce another option that has intrigued me recently.  Simple Mining OS is a custom port of Linux designed specifically for miners. You have to pay a small monthly fee to use and manage the OS from their centralized web portal, but it does take a lot of guesswork out of the Linux equation for those not interesting managing them.  There are specific versions for different video cards and they make it super easy to overclock them and control fans.  Might be worth paying someone else to deal with the headaches.

Note: This article is not sponsored and I have not actually used Simple Mining OS for anymore than just testing for a few minutes.

More Info on Mining

If you’re interesting in building your own rig, I have a video on my first mining rig build and my second mining rig build.

I also have an article on learning how to mine Ethereum, which is my favorite coin to mine using GPUs. If you decide to mine on Windows, you can learn all about overclocking a mining GPU here. Or specifically how to overclock the AMD RX 580 for mining here, which requires a special mining BIOS mod to get the full potential.

Upgrade to Premium

If you like our content maybe consider upgrading to Premium. You’ll get access to

  • Free access to all plans
  • Member only videos
  • Early access to content
  • Ad free Experience
  • Discounts on store merch
  • Direct hotline contact form

10 Responses

  1. I love Linux and try to use it anywhere possible. But I had to give up with mining. I could never get the AMD drivers to work or Claymore Miner (or clinfo, or anything else) to detect the cards. Switched to Windows and was up and mining in 10 minutes. They gotta get those GPU drivers worked out and they don’t care about Linux miners, they care about gamers.

  2. This is one of the rare cases where I have to agree. Windows is better than Linux at mining. Shudder. Chills just went down my spine. However, its not really that Windows is better than Linux. It’s that the jerks at AMD and NVIDIA won’t write some stable reliable drivers. Drivers are the problem. Not the OS.

  3. I am thinking using LINUX for bitcoin mining. I have a NVIDIA GEFORCE GT710 GPU, and I am thinking of using this old machine to start mining bitcoin. Not sure, there is any graphic driver issues on Linux. Could you someone comment on this? I am a Linux USER, though not an expert.

Leave a Reply