How to Mine ZenCash on Linux

This guide will walk you through how to setup nvOC 17, a custom Linux Operating System developed by fullzero on the Bitcointalk forum. Fullzero compiled several miners to create an awesome plug-and-play software solution for Linux rigs. This software only works for Nvidia cards. Fullzero has another custom Linux OS called rxOC for AMD cards that is still in its early development phase. Although this is a guide for nvOC17, the steps are very similar to the more recent, updated version, nvOC19. I am in the process of shifting my farm over from nvOC17 to nvOC19.

Before You Start:

  1. Download the nvOC software -make sure to extract the file before you download it
  2. Download HDD Raw Copy– this is your USB imaging software
  3. Download Notepad++-this is where you’ll edit the nvOC settings
  4. Obtain USB Stick (16GB or higher)-this will function as your hard drive, I recommend using a 32GB over the 16GB; they allow for more expansion and they’re a little bit faster and it’s only a few dollars more.
    *You will need a Windows Computer and a mining rig for this setup
  5. Open the HDD Raw Copy Software.
  6. Double click the file row to open and select nvOC- that is now your designated file that’s going to be written with this tool.
  7. Click Continue
  8. Click your USB drive and click “Continue.”
  9. Click “Start.” You may see a pop up-click “Yes” to proceed. (Note: Once you write over the USB drive, it’s done. It can no longer be used as a USB-or if there’s a way to switch back, I don’t know what it is. You will still be able to rewrite the image over if there are updates in the future.)
  10. Writing may take a few minutes (it’ll be faster if you have a 32GB)
  11.  Once the download is complete, you can X out of the screen.
  12.  When you go to view your USB, you’ll see the content now says “oneBatch.” Don’t mess with the other USB drives if there are any other showing up.
  13. Open “oneBatch.”
  14. The first thing you’ll want to do is change your preferred coin. Replace “NICE” with your preferred coin name. If you want to mine ZenCash for instance, you would replace “NICE” with “ZEN.”
  15. Next you will want to edit your individual power limit. It will say “NO”; you will want to switch that to “YES”.
  16. The first 1080Ti will be recognized as GPU 0, the second 1080 will be recognized as GPU 2, and the 1070 mini will be recognized as GPU 1. You will want a power limit of 180 for the 1080s and a power limit of 125 for the 1070 mini. By setting this limit, I’m limiting the power that the card can pull.
  17. Next you’ll want to scroll to the ZEN settings. Put in your worker name, Zen address, and the Zen pool name. If you are on Notepad, it will look like this: 

“ZEN_WORKER=”Insert Name Here”ZEN_ADDRESS=”Insert Wallet Address Here”ZEN_POOL=”Insert Pool URL Here”ZEN_PORT”Insert Port Number Here”

For this post, I’m using the us.zenmine.pro pool, which has the port of 9009. Whatever pool you register with will tell you what port to put.

Check out this post on how to setup Bittrex and Zen Swing Wallets if you need help setting up a Zen wallet.

Editing settings is pretty much the same for every pool. Pools will also give you more instruction if they’re different.

You also might notice a section that says “NoSettingsBelow.” Don’t mess with anything below or your computer will blow up! (just kidding) If you run into issues, just reimage and try again. Now you’re all set in nvOC!

Linux:
Now we’ll head over to the Linux side. Plug your USB into the miner. When you boot up for the first time, it might take longer than normal. You should see the bios screen. You’ll see a login screen; you won’t need password. It will automatically log you in yourself. If you’re wondering what the password is, which can be quicker than resetting your rig, it is “miner1” by default.

Click the USB icon on the left side dock of Linux. This is your hard drive, or the oneBatch. Open oneBatch. This is actually the same exact document we were looking at before, but now it’s formatted on Linux. This is also where you can edit your overclocking settings- I wouldn’t recommend getting into this until after you become a little more advanced and you know what you’re doing.

You’re all set. You should see accepted shares pop up periodically on your screen.

Full video walkthrough:


There’s a lot to learn about ZenCash. If you’d like to learn more, check out some of the following or stay tuned for more ZenCash related posts:

ZenCash Website

ZenCash Blog

ZenCash on Bitcointalk

ZenCash on YouTube

ZenCash on Reddit

ZenCash on Facebook

ZenCash Slack

7 thoughts on “How to Mine ZenCash on Linux

  • December 14, 2017 at 6:31 pm
    Permalink

    So……………. easy

    Reply
  • December 14, 2017 at 6:32 pm
    Permalink

    So……………. easy

    Reply
  • December 15, 2017 at 11:19 am
    Permalink

    So I have been using the nvoc19 to mine ZEC with supernova pool but it seems every morning I wake up to my miner down. I have built the infamous trio rig to exact specs on your youtube link. It reboots and says m1 and ask for a password but won’t let me add a password miner1 or anything. Once I hit anything on the keyboard it seems to reboot and go back to the same page.

    Any ideas on what would cause this issue?

    Reply
    • December 30, 2017 at 6:26 pm
      Permalink

      I have the same issue where it brings up the login prompt. It obviously accepts “miner1” because it doesn’t show an error with the password. After accepting it, it refreshes the login page asking for the password again.

      I found with my rig (ASUS B250 Mining Expert w/ XFX Radeon rx580 w/8GB), whenever I add a 3rd video card, it triggers the above to happen. When this occurs, my monitor plugged into the 1st GPU no longer is the primary display (even in Bios). Rather, only the on-board display works. When I plug it into the on-board, then when Ubuntu starts up, it’ll go to a dual screen with that login box.

      I’ve done numerous testing and have come up with no resolution as of yet. Things that I have tried:
      1) using different video cards (all of them XFX Radeon rx580’s) both modded and un-modded)
      2) using different risers
      3) using different power sources for the riser (6-pin, molex, sata | non of which are using converter cables)
      4) using different cables (PSU for card and riser, USB for riser)
      5) unplugging all devices from the motherboard and PSU to just try the bare essentials.
      6) using the PCIe x1 slots in order (A01, A02, etc)
      7) changed PCI Express Configuration in BIOS to “GEN 2”
      8) swapped out motherboard and power supply (EVGA 1300 G2)… both the same models.
      9) updated BIOS on motherboard to latest (0403)
      10) attempt to force primary display to be discrete card vs on-board (Advanced > System Agent (SA) Configuration > Graphics Configuration > Primary Display > PCIE), yet the BIOS refuses to allow this after doing a save and restart.

      As you can see, I’ve exhausted all troubleshooting ideas. If I missed one, please let me know.

      Reply
  • January 6, 2018 at 4:50 pm
    Permalink

    Having the same problem!!! Helppp!!

    Reply
  • January 12, 2018 at 8:13 pm
    Permalink

    disable onboard video totally in chipset settings.

    Reply

Leave a Reply

Your email address will not be published.

%d bloggers like this: