In this second installment of our DIY Ethereum mining guide, we’ll look at how to install and configure Linux to setup your rig as an automated, remotely-manageable appliance. Don’t be dissuaded if you’ve never used Linux before—our step-by-step guide makes it simple!
Why Linux over Windows? First, it’s free—and saving ~$100 on the operating system is a big plus when you’re trying to maximize profitability. Other reasons include lesser hardware requirements (Linux is perfectly happy running from a USB stick plugged into ancient hardware!), simpler remote administration capabilities, and oftentimes better stability. The downside of running Linux is that video driver support isn’t on the same level as Windows, and things like GPU undervolting are trickier (but still possible via BIOS mods).
If you missed the hardware portion of our guide, make sure to check it out first. Otherwise, read on.
Build an Ethereum Mining Rig, part 2: Linux Setup
The following is heavily adapted from my original 2013 Litecoin mining guide, updated for the latest Xubuntu LTS version, the new AMDGPU-PRO drivers, and necessary ethereum mining software (all up-to-date as of 11/29/2017). If you’re a bit nervous because you’ve a complete Linux newbie, don’t be. Simply follow the step-by-step instructions exactly as they’re written, and you’ll be fine. Even if you’ve never done anything like this before, you should be up and running in roughly an hour.
Step 1: Configure BIOS settings
Before we even get to Linux, let’s take a minute to make sure that your mining computer’s BIOS settings are in order. Power on your computer, and press the “delete” key a few times immediately after power on. You should end up in the BIOS configuration area. Do the following, then save & exit:
- Change power options so that the computer automatically turns itself on whenever power is restored. The reason for this is two-fold: first, it’ll make sure that your miner automatically starts up after a power outage. Second, it makes powering the computer on much easier if you don’t happen to have a power switch connected to the motherboard.
- Make sure that your USB stick is first in the boot-up order (you may need to have a USB stick attached).
- Disable all components that you don’t plan to use. This may save a little bit of power, and since your miner will likely be running 24/7, it’ll add up. For me, that meant disabling onboard audio, one of the SATA controllers, the USB 3.0 ports (I only had a 2.0 USB stick), the Firewire port, and the serial port.
- If you’re running a lot of GPUs (4+), additional tweaks might be necessary to ensure that they’re all recognized by the OS. Exact tweaks vary by motherboard, but setting the PCIe speed to Gen1 is usually a good place to start. No need to change anything now, but make a mental note that you may need to come back and play around a bit if all of your GPUs don’t show up in the OS later.
Step 2: Install Xubuntu Desktop on your miner
Xubuntu is a lightweight version of Ubuntu, a popular Linux distribution. Most other distros should work just fine, but be aware that the GPU drivers require the presence of Xorg, which means server distros that don’t have a GUI will not work properly.
- Xubuntu 16.04.3 is the latest LTS release at the time of this guide, so that is what I recommend you use. You can download it here.
- You’ll need to either write the installation ISO image to a USB stick (highly recommended), or burn it to a DVD. If you use a DVD, you’ll need to temporarily hook up a DVD drive to your mining rig for the installation (make sure you temporarily enable your SATA controller if you disabled it in step 1!).
- Once you have the installation media prepared, you’re ready to install Xubuntu to your miner’s boot device (whether it’s an SSD, mechanical harddrive, or another blank USB stick). Boot using your new installation media (make sure it’s first in your miner’s BIOS boot order list). The Xubuntu installer should appear.
- Follow the prompts, and make sure to click the “auto-login” box on the last step of the installer (otherwise, all of the default options are fine).
- When the installation is complete, you should automatically boot into the Xubuntu desktop. Make sure to remove your installation media.
Step 3: Install SSH and package updates
At the Xubuntu desktop, press CTRL+ALT+T to open a terminal window.
- Install SSH by typing:
sudo apt-get install openssh-server
With SSH installed, you can unplug the keyboard/mouse/monitor from your miner, and complete the rest of the installation from your desktop computer. Simply download Putty onto your desktop, run it, and enter the IP address of your mining rig (type ifconfig at the Xubuntu terminal to find your miner’s address if you don’t know it—it will probably look like 192.168.0.x). That should bring up a remote terminal session to your miner, which is more or less just like sitting at the keyboard in front of it.
If you plan to manage your mining rig remotely over the internet, you’ll need to forward port 22 on your router to your miner. Make sure that you use a strong Xubuntu password!
Setup should be pretty quick from this point, as now you can simply copy text from this webpage (highlight it and press CTRL+C) and then paste it into your Putty session by simply right-clicking anywhere inside the Putty window. I highly recommend that you complete the remainder of the guide in this manner, as it eliminates the risk of typos!
- Install package updates by typing (or copying & pasting via right-click into Putty) the following command:
sudo apt-get dist-upgrade
Step 4: Install AMDGPU-PRO drivers
Next up, we’ll install AMD’s video drivers. AMD has special blockchain compute drivers available for mining that give far superior performance compared to their standard drivers, so that’s what we’ll be using (version 17.40, which is the latest as of 11/29/2017).
- Type the following commands (press “enter” and wait for the operation to complete at the end of each line):
cd ~/Downloads wget --referer=http://support.amd.com https://www2.ati.com/drivers/linux/beta/ubuntu/amdgpu-pro-17.40-483984.tar.xz tar -Jxvf amdgpu-pro-17.40-483984.tar.xz cd amdgpu-pro-17.40-483984 ./amdgpu-pro-install -y
- Some of these steps may take a minute or two to complete. When the installation is complete, type the following:
sudo usermod -a -G video $LOGNAME
- Next we need to install and configure the ROCm component:
sudo apt install -y rocm-amdgpu-pro echo 'export LLVM_BIN=/opt/amdgpu-pro/bin' | sudo tee /etc/profile.d/amdgpu-pro.sh
- Finally we need to enable large page support, which will dramatically improve mining performance. Type the following to open your grub file in nano for editing:
sudo nano /etc/default/grub
- Find the line that reads GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”. Modify it to:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash amdgpu.vm_fragment_size=9"
- Save the file and quit nano by pressing CTRL+X and then answering (Y)es to save the changes. When you’re finished, update grub and reboot:
sudo update-grub sudo reboot
The final command will reboot your rig, which will cause you to immediately lose your SSH (Putty) connection. Wait a few seconds to give the computer a chance to boot, and then re-establish a new connection via Putty, and re-login.
Step 5: Install Ethereum software
(Note: you may skip step 5 entirely if you already have an ethereum wallet address that you intend to use!)
Next up, we’ll install the Ethereum software that will let us create a new wallet address. We’ll need this to store the coins we receive from mining.
- Type the following to install the necessary ethereum packages:
sudo add-apt-repository ppa:ethereum/ethereum sudo apt-get update sudo apt-get install ethereum geth
- Now it’s time to create your Ethereum wallet address:
geth account new
You’ll be prompted to enter a password, and then to confirm it (use a strong password!). The output will be a long string between two curly braces { }. That’s your new wallet address—make a note of it (highlight it within Putty to copy it to your clipboard).
Important: The combination of the password you just used to create this address *and* the associated encrypted key file is what gives you control over your new wallet address. If you lose either of these, you’ve also lost control of your wallet and all of the coins associated with it—and there is literally nothing that anyone will be able to do to help you. Remember your password, and keep multiple backups of your key file(s)!
Your key file(s) are stored in the ~/.ethereum/keystore directory. Copy the entire /keystore folder someplace safe to backup your wallet (backups are covered in more detail here—don’t forget to make multiple backups and keep them in a secure offline location!).
If you forget your wallet address, you can type geth account list to see your addresses and the location of their key files.
Step 6: Install Claymore’s Ethereum miner
There are several options as far as mining software, and I’ve experimented with all of the popular ones. I think Claymore’s miner is the best option, even if it does have two fairly significant downsides: it’s closed-source, and it’s not free (~1% of your mining time benefits the creator of the miner).
Two alternatives are the stock ethereum miner (ethminer) and Genoil’s fork of the stock miner. They’re both open-source and free, but they have pretty crippling downsides.
The stock ethminer is much slower than Claymore’s miner (by a margin of over 5% on my test rig). In addition, ethminer creates the Ethereum DAG file on disk instead of in GPU memory, which is slow and uses a lot of space (and if you’re running off a USB stick, all those writes may eventually wear it out).
Genoil’s fork seems to be nearly as fast as Claymore’s, and it doesn’t use physical disk space for the DAG, but it’s not stable (at least not for me). It often crashes, especially on startup (whereas I have yet to see a single crash on Claymore’s miner after nearly a week of full-time mining). The author abandoned development months ago, so improvements are unlikely.
So, explanation aside, here is how to setup Claymore’s miner:
- First return to your downloads directory and grab the latest version (10.2 as of 11/29/2017). I’m pulling the file directly from the author’s Google Drive repository, if the link is broken check here for a newer release or updated link):
cd ~/Downloads sudo apt install curl curl -L -o claymore_10.2_miner.tar.gz https://drive.google.com/uc?id=1t25SK0lk2osr32GH623rR8aG2_qvZds9
- Then create a new directory for it, and unpack it there:
sudo mkdir /usr/local/claymore10.2 sudo tar -xvf claymore_10.2_miner.tar.gz -C /usr/local/claymore10.2
- Then let’s head over to the installation directory and create a startup script. Note that commands 2-5 below just clean up the installation directory a bit by removing an intermediary directory that was included in the original tar archive:
cd /usr/local/claymore10.2 cd Clay* sudo mv * /usr/local/claymore10.2 cd .. sudo rm -r Clay* sudo chown root:root ethdcrminer64 sudo chmod 755 ethdcrminer64 sudo chmod u+s ethdcrminer64 sudo nano mine.sh
- Nano will open a new blank text file; enter the following into it:
#!/bin/sh export GPU_MAX_ALLOC_PERCENT=100 ./ethdcrminer64 -epool eth-us-east1.nanopool.org:9999 -ewal YOUR_WALLET_ADDRESS/Miner01 -epsw x -mode 1 -allpools 1 -tt 68
Where it says YOUR_WALLET_ADDRESS, use the address you created in step 5 (you’ll need to put “0x” in front of it). The “Miner01” following your address can be changed to any friendly label that you want to give your miner (only important if you plan to run multiple rigs). It’s easiest to copy the last line from my guide into something like notepad, then replace YOUR_WALLET_ADDRESS with your actual address there, and then copy the finished line into putty via right-click to get everything into nano without typos.
- Save the file and quit nano by pressing CTRL+X and then answering (Y)es to save the changes, then enter the following to give your new script execute permission:
sudo chmod +x mine.sh
Note that I’m using nanopool.org as the mining pool here. I’ve tried a few, and it seems to be a top pick, but feel free to pick your own pool. Most don’t require registration, and simply payout to whatever wallet address you supply whenever a certain threshold is met (usually whenever you accumulate 1+ ETH). Assuming you stick with Nanopool, you’ll be able to check on your miner’s status by going to this URL after you start mining: https://eth.nanopool.org/account/[YOUR WALLET ADDRESS]
- Now is a good time to test things. You can fire up your miner by typing:
./mine.sh
You should see the Claymore miner start up. It’ll take a minute or two before it actually starts mining, but it should get there eventually. When you see a scrolling log of outputs that includes non-zero hashrates (expect hashrates in the low to mid 20s for unoptimized GPUs), you’re good to go. If the script fails to start, or you see errors, make sure that you’ve created the script exactly as outlined in the guide.
Press CTRL+C to exit the miner when you’re satisfied that it’s working.
Step 7: Create auto-start scripts
We’re almost done! We want to set up our rigs automatically start mining whenever the rig is powered on. That way, we keep mining losses to a minimum whenever a power outage occurs, and we don’t have to worry about manually starting it back up in other situations.
- First, install screen:
sudo apt install screen
- Then type the following to create a new script in your home directory and open it in nano:
cd ~
sudo nano miner_launcher.sh
- Enter the following text into the editor (substitute your actual Xubuntu username for YOUR_XUBUNTU_USERNAME where necessary!):
#!/bin/bash DEFAULT_DELAY=0 if [ "x$1" = "x" -o "x$1" = "xnone" ]; then DELAY=$DEFAULT_DELAY else DELAY=$1 fi sleep $DELAY cd /usr/local/claymore10.2 su YOUR_XUBUNTU_USERNAME -c "screen -dmS ethm ./mine.sh"
- Save and quit nano (CTRL+X), and then type:
sudo chmod +x miner_launcher.sh
- Now we need to call our new script during startup; we do that by adding it to /etc/rc.local. Type the following to open /etc/rc.local in nano:
sudo nano /etc/rc.local
- Add the following text, right above the line that reads “exit 0” (substitute your own username!):
/home/YOUR_XUBUNTU_USERNAME/miner_launcher.sh 15 &
Then save and quit out of nano (CTRL+X).
Step 8: Create an alias to easily check on the Claymore miner process
We’re essentially done at this point, but you’ll probably want to manually SSH into your miner from time to time to manually check on your hashrates & GPU temperatures, etc. Creating an alias will make that easy.
- Type:
sudo nano .bashrc
- Scroll to the end of the file, and then add this text above the line that reads “# enable programmable completion…”
alias miner='screen -x ethm'
- Save and quit out of nano.
That’s it—you’re done! You’ll probably want to run a full test now. The easiest way to do that is to close your Putty session and power down your miner. Turn it back on and the following should happen:
- Your miner should boot into Xubuntu. This may take up to a minute, depending on the speed of your boot device (it’ll be much faster on an SSD).
- 15 seconds after Xubuntu has loaded, the Claymore miner will automatically start and begin mining. You might notice the fans on your GPUs spin up a bit when this happens.
- You should be able to SSH into your miner at any time and type miner to monitor the miner’s process. To close the screen (but keep the miner running), press CTRL+A, then CTRL+D.
- If you ever need to start the Claymore miner manually (because you quit out of it, or kill it, etc), simply type ~/miner_launcher.sh
(update 1/15/2018: **IMPORTANT** please read this if your hashrate is lower than expected!)
Congratulations—you have your own headless linux ethereum miner!
The next section of this guide covers setup under Windows, and then we’ll take a look at optimizing miner settings for better performance.
Thank you for the great tutorial. It has gone a long way toward getting me up and running. However…
I’m trying to get my first rig up and running. Starting with a single RX 570 (4G) and intend to add more after the foundation has been set. With an all AMD hardware base (CPU and the RX 570), I’m seeing the following when I start up Claymore (happens with V10.2 and V10.4):
����������������������������������������������������������������ͻ
� Claymore’s Dual ETH + DCR/SC/LBC/PASC GPU Miner v10.4 �
����������������������������������������������������������������ͼ
ETH: 1 pool is specified
Main Ethereum pool is eth-us-east1.nanopool.org:9999
Segmentation fault (core dumped)
I’m running amdgpu-pro 17.50 drivers
I’ve moved from 17.40 to 17.50 on the driver and I’ve tried both 10.2 and 10.4 of claymore
Any ideas? I’ve read all of the comments to date
Observed segmentation faults on my rig, and the problem turned out to be a bad memory stick. Maybe fried it with static discharge during assembly. Boot memtest86 from the Grub boot menu, and see if you get memory errors. If so, replace the faulty DIMM. Happy mining!
Really works well, thanks so much!!!
Everything works perfectly on my side, however I keep running on the same error:
watchdog gpu hangs in opencl call exit
any idea why this is happening? Online I can only see things about undervoltage (but I have a 850W with 4 rx570) or swap memory (I currently have only 4Gb on Linux – running on a 32 Gb USB stick – so I will try to increase to 16 at least see how that goes).
Thanks in advance!!!
Hi,
I have the same problem with 8 x rx570 on xubuntu and asrock h110 pro motherboard with 4GB RAM.
Everytime the same pcie ports. The white ones.
I tried almost everything. Original and custom rom. Different OSs, miner Softwares, drivers, cabels…etc, but that error still occurs.
If someone has any ideas, please share.
p.s 16GB virtual and not physical memory and that is only on Windows. Linux is one step ahead.
Did you try just 1 card (in a riser fine) in the main long PCI port first, install the drivers, and then reboot after drivers installed, and repeat for each card with a reboot (only need to install the drivers once). You just need to do it the first time with one card. Then add the rest one by one. Worked for me.
I installed the driver with all cards connected thru the risers.
You mean: one card in the long PCI port without the riser, driver installation and then reboot. This step for every card but without reinstalling the driver,just reboot.
I ques I need to try your suggestion 🙂 I will report back, but first I need to find the time to do that, because it seems a litte bit time consuming.
So, it took me about 15 mins for 6 cards. I stuck the small riser card in the end of the long PCI slot (didn’t fill the whole thing but it works fine) although I suppose you can put the whole thing in there.
But yeah. Do it just like this site says, and get the driver installed. After the instructions have you reboot, let it do so, and then shut it down again and unplug, and then connect card 2. Then fire it up, let it load, shut it down and repeat for the rest of the cards. Once they’re all installed, just finish the rest of the steps and you’re all set.
The H110 seems to want the GPUs one at a time.
Good luck
I will definitely try your suggestion. I will report back when I have more info.
Thanks for your help.
I like to use systemd, this skips the need for screen and journal can be sent to tty12
[Unit]
Description=Claymore Miner
After=network-online.target
#Requires=overclock.service
[Service]
User=miner
WorkingDirectory=/opt/miners/current
Environment=GPU_MAX_ALLOC_PERCENT=100
Environment=GPU_SINGLE_ALLOC_PERCENT=100
Environment=LLVM_BIN=/opt/amdgpu-pro/bin
ExecStart=/opt/miners/current/ethdcrminer64 -wd 0 -r 1 -epooltratum+tcp://eu1.ethermine.org:4444 -ewal etc.etc.etc.
Restart=always
StandardOutput=journal
[Install]
WantedBy=multi-user.target
Alias=miner.service
First, Thanks for the awesome instructions! Without these I was lost. Now I have a little issue that my ETH coins were sent from the nanopool to the address created… But I do not know where that is.
Where can I log in using the wallet address and password created in the above instructions?
Thank you!
just copy and past your address here (on the search window):
https://www.etherchain.org/accounts
One of the best Lunux Howto’s. Great work, many thanks now i can mine stable on Linux.
Good afternoon,
I already assembly my rig (4 Nvidia GPU’s: 1060 6Gb + 2 AMD GPU’s: RX580).
I already install with success Nvidia drivers, but when I try to install AMD drivers (amd-gpu-pro-17.40.2712-510357) I cannot install it.
Command use: sudo ./amdgpu-pro-install -y (also I try without “sudo” with the same effect)
Feedback: command not found
How I can fix the command ?
What type of error?
Are you typing it inside the directory where that file is (type ls to check it)?
You can follow original instructions from AMD here: http://support.amd.com/en-us/kb-articles/Pages/AMDGPU-PRO-Install.aspx
When installing driver 17.50 I’m receiving such error:
Errors were encountered while processing:
/var/opt/amdgpu-pro-local/./amdgpu-dkms_17.50-511655_all.deb
/var/opt/amdgpu-pro-local/./libdrm2-amdgpu_2.4.82-511655_amd64.deb
/var/opt/amdgpu-pro-local/./libdrm2-amdgpu_2.4.82-511655_i386.deb
I also cannot uninstall drivers. Maybe somebody knows solution for this problem?
I have removed all packages that was shown with error with command ‘dpkg -P –force-all ‘, and now averything works fine.
Thanks for the excellent how to.
I installed 2xRX570’s with no problems getting total 50.1 Mh/s. I decided i would get an RX550 and ordered risers. While waiting for risers, I thought I would verify the RX550, so installed the card in GPU0 and kept one of the RX570’s in Slot GPU1. I uninstalled the AMDGPU driver, then reinstalled the drivers with a reboot. When I run the miner it shows only 1 AMD card and it runs fine, but it does show GPU0 and GPU1 temperatures, ironically i have the RX550 in slot GPU0 but when i deactivate GPU0(RX550) the GPU1(Rx570) gets deactivated. I tried to swap slots but no differences. Anyone have any ideas on how to get the drivers recognized for the RX550? Thanks,
Thanks for the great guide! Its really helps me to go through the whole installation! 🙂
Could you help me with the issue “hashrate is lower than expected”
I tried your additional instructions:
“I rebooted and now my GPUs are hashing 20% lower than previously—what happened?”,
But after removing Linux image and rebooting, the hashing rate is still lower.
There could be any other issue, that makes the hashrate lower?
Total Speed changed from: to 25.324 Mh/s to 17.752 Mh/s
Best,
Anna
Did you try:
sudo apt-get remove linux-image-4.13.0-26-generic && sudo apt autoremove -y
sudo update-grub
Hope it will help.
Just a thought, and you probably did it, but did you stop the OS from auto-updating? It may have reinstalled the patch automatically if not.
My main rig shut down last night, so I’m off to the office to survey the damage myself today! ugh.
same happened to me. Reinstall linux 16.04.3, unplug your machine from internet and then set up no updates in software and plug it back into the internet … poof back to normal … though i would have to say my new calculated hashrate is suspiciously lower than before reinstall.
To check kernel version:
cat /proc/version
And you must disable autoupdate of kernel.
Hey guys,
thank you for your help 🙂
Firstly, I tried:
sudo apt-get remove linux-image-4.13.0-26-generic && sudo apt autoremove -y
sudo update-grub
but it didn’t help.
Secondly, I tried to stop the OS from auto-updating, but after the change, the hashing rate didn’t grow.
And in the end, I tried Tony solution:
I reinstalled linux -> no internet connection -> and changed for no updates -> went through the whole guide again and its working properly! xD
Thanks a lot!
if you’re using pre-VEGA amd cards you need to specify “./amdgpu-pro-install -y –opencl=legacy” otherwise ROCm won’t find the cards.
if you’re using pre-VEGA amd cards you need to specify “./amdgpu-pro-install -y –opencl=legacy” otherwise ROCm won’t find the cards.
im getting E: Invalid operation –opencl=legacy
There must be two dashes before opencl. This web page converts two dashes in one long.
Thank you. Got it figured out needed to install the 17.40 beta driver to get the rx550 cards working.
“You should see the Claymore miner start up. It’ll take a minute or two before it actually starts mining, but it should get there eventually. When you see a scrolling log of outputs that includes non-zero hashrates (expect hashrates in the low to mid 20s for unoptimized GPUs), you’re good to go. If the script fails to start, or you see errors, make sure that you’ve created the script exactly as outlined in the guide.”
Im running 6 x RX580 8GB with flashed BIOS. I was getting 30m/s per card in windows, but on Linux (following this guide I only get 19.5m/s per card.
I have removed the Intel patch too.
Any ideas as to why its 30% less than it should be?
Read Anna’s post above.
Is there a linux terminal command to update the claymore dual miner to the newest version?
I’ve written a simple python app for keep alive 24/7 the ethminer on Linux (Ubuntu 16.04.3 LTS)
Feel free to use: https://github.com/xstead/ethereum-miner-monitor
I’ve just built an amd rig for a friend with 6*RX580’s, running Ubuntu 16.04.3 using the 17.50 amdgpu-pro drivers. I’ve not got around yet to flashing the cards, the next stage, but noticed one card is running very slowly; 15mhs vs 27mhs for all the other cards. After a bit of searching I believe this may be due to crossfire being enabled. Anyone know how to turn this off in Ubuntu with these drivers, perhaps via a claymore command?, so I can get the card up to speed. Also, Claymore 10.6 reports that AMD adl is missing. From searching this seems to be unavailable in conjunction with the new 17.50 drivers – is this correct?
I am not aware there is a blockchain driver 17.50…
Try uninstall that driver you using and follow the guide (it says to use blockchain driver, just follow the link there).
Give us feedback what was the improvement.
Hi CryptoBadger,
I just reformatted my rig but my hashrates has been decreased by 30% (from 300mh/s to 200mh/s). I’ve already did the:
sudo apt-get remove linux-image-4.13.0-26-generic && sudo apt autoremove -y
sudo update-grub
sudo reboot
but still has the same hashrates. ANy idea how i can fix this please? Thanks.
-Wimi
Read my comments above to anna
Backup your eth account info and keys too. I know it goes without saying but better safe than sorry.
Hey Tony,
I tried doing the:
reinstalled linux -> no internet connection -> and changed for no updates -> went through the whole guide again
it can’t get past through
Step 3: Install SSH and package updates
At the Xubuntu desktop, press CTRL+ALT+T to open a terminal window.
Install SSH by typing:
sudo apt-get install openssh-server
the reason i needed this is because my rig is running in 2 PSU’s and as soon as all GPU’s are connected with 2 PSU’s, my screen will totally be blank… the only way i can switch servers is through remote access, which i can’t do when i’m installing xubuntu without the rig connected to the internet.
i welcome any suggestions. ^_^ thanks though Tony!
Hi Wimi,
You can do the install with connection to the internet, just make sure that you don’t allow the installer to do the upgrade. Make sure when you get to this screen:
https://itsfoss.com/wp-content/uploads/2014/03/Install_Ubuntu_Windows_Dual_Boot_2.jpeg
That you DON’T download updates while installing.
when you finally get windows loaded make sure:
To disable automatic updates on Ubuntu:
Open the Unity Dash
Search for ‘Software & Updates’
Select the ‘Updates’ tab.
Change ‘Automatically check for updates’ from ‘Daily’ to ‘Never‘.
(credit to http://www.omgubuntu.co.uk/2016/02/how-to-disable-automatic-update-ubuntu)
GL and happy mining!
Hey Tony,
Thanks for your help man! Everything’s back to normal again. What I did was
just connect 1 PSU and 1 GPU
disconnect internet
install xubuntu
disabled updates
connected internet
skip step 3 (Install SSH and package updates)
did step 4-8
tested the rig/mined to see hashrate (it was back to normal for the 1 GPU connected)
did step 3
turned the rig off
connected all GPU’s and PSU
boom, back to 300 mh/s!
Everytime i’m installing xubuntu without the internet, somehow step 3 always have an error. So i decided to get the rig with normal hashrates started without the option of remote access first, as soon as i was able to do that, i installed SSH and package updates then placed all GPU’s.
I just hope that we have a way somehow to get that 0.5 mh/s lost in linux as compared to windows. My cards mine @ 31+mh/s in windows with the blockchain driver and just does 30.2-30.5mh/s in linux. If you can help me with this? ^_^
I can use only 6 gpus.When adding 7th GPU, Ubuntu won’t boot.Why?
It might be a BIOS related issue. Go read MB User manual. You might find you need change some setting there at BIOS to allow 7 PCIe slots enabled.
On some MB you need disable M.2 SSD disk slot to enable PCIe slots (just an example)
Just went through step 4 and then I get a login loop after rebooting. How do I get passed the loop?
Try cntrl+alt+t that should bring up a terminal window. I went through this too after installing amdgpu pro driver. If this happened after your amdgpu pro install its prolly because you installed whole package (-y). Try uninstalling from terminal “amdgpu-pro-uninstall” reboot to make sure everything comes back up then reinstall amdgpu pro with “./amdgpu-pro-install –compute” instead of the ./amdgpu-pro-install -y
“Failed allocating swap storage error” when mining 1 or 2 hours later with 8 GPUs Rx 570.Please help me..
Im all set up running x12 RX580’s with BIOS mod, each one is 30mh/s so great!
However
I have a energy monitoring smart plug that tells me its pulling 2750 from the wall. This seems absurd?
Also – my dual PSU are only 1050w each! How is this possible?
Hi ctuprde,
I am just curious about the performance. May I ask is your rig running linux or windows? If yours is running linux OS how is the temperature control of your rx580s, any tool? and what about undervolt tool? Appreciate it!
Hey guys, it’s normal the fact that my fans are always spinning in idle?
Hi Cryptobadger,
Can you please create an update with the claymore 10.3 version, but without devfee? are you able to give instructions on how to do the same steps but with the 10.3 version without devfee? If so, that would be great mate!
https://github.com/d3z00r/claymore10.3-no-fee
hope you could help boss… ^_^
after i did everything on the manual said, i got no amd opencl or nvidia cuda gpu’s found, exit. error in claymore
i tried both blockchain drivers and 17.50.xx drivers. i tried –opencl=legacy , compute, didn’t update the kernel (passed the sudo apt-get dist-upgrade option), tried only one gpu, all gpus one a time install etc.
all of these options with or without, i got the same error every time.
if i update the kernel (apt-get dist-upgrade) the crash report appears and says that amdgpu-pro-dkms 17.40-483984:amdgpu kernel module failed to build)
in windows with 8 gpu , got noproblem with blockchain driver.
i m going to loose my mind with this.
i’m using asus b250 mining expert with 13 gigabyte aorus 8gb intel pentium d processor (skylake ofcourse) 16gb of ram and xubuntu 16.04.3, all risers and powers work with no problem tested on windows setups.
thanks for your help. have a nice day.
sudo apt-get install opencl-headers
Thanks for the great guide! Just a heads up, your spectre/meltdown fixes dont do anything. After you remove the new kernel and reboot, you also need to reinstall the amd driver and the rocm component:
./amdgpu-pro-install -y && sudo apt install -y rocm-amdgpu-pro
You may want to update your FAQ to reflect this
I am using 6 x RX580 8GB and 8 x RX580 8GB to mine but only have 16-19MH/s for each cards even i modded the bios. Please help.
I have disabled UEFI before I installing linux after I installed amdgpu-pro-driver (i got an error and suck in the login page)
SPEC 1
Biostar BTC-pro 12PCIe Board
8GB ram
1600W x 2
6 x RX580 8GB
SPEC 2
Biostar BTC-pro 12PCIe Board
8GB ram
1600W x 2
8 x RX580 8GB