Skip to content

Burning the Ubuntu Server 16.04.04 ISO onto a USB

Step One – Prepare the OS Installation Media

Below you will find the default way in which I use a Windows 10 Computer, Etcher, and a USB Drive, to create and install Ubuntu Server 16.04.04 onto a mining rig.  Once you have that ISO flashed onto a USB drive, you can go from mining rig to mining rig, installing the Operating System.  So this really is step one in the entire process.  This guide will in turn become the starting point for each linux based coin/token/masternode that we will gather.  Shoot me any questions you have.

From your Windows 10 machine, Download and install the Bittorrent Client:

http://www.bittorrent.com/downloads/complete/track/stable/os/win

 

Then download the Official Ubuntu Server 16.04.04 (x64) Release:

Finally, Download and Install Etcher (this will write your ISO to the USB Drive)

https://etcher.io/

Once the Ubuntu software has been downloaded, insert a USB drive to write the Operating System Installer to

Make sure this USB drive has nothing else on it.   Everything will be erased

To write Ubuntu to the USB drive:

Open Etcher

Click Select Image

Navigate to where you downloaded the Ubuntu ISO (it is probably located in your Downloads folder)

Select the ubuntu-16.04.4-server-amd64 image and click Open

Click Select Drive

Select the USB drive

Click Continue

Click Flash

Select Continue to Flash the drive

It should take a few minutes for Ubuntu Server to be written to the USB drive

When it has completed flashing the USB drive you can click the X at the top right corner to close the window

Now, you are ready to begin the installation.  So, insert it into a USB 3.0 port on your mining rig, and turn the rig on

 

My Setup – Ubuntu Mining Rig with NVidia 1080Ti cards

Rig Parts Breakdown and Driver Installation for the NVidia 1080 TI GPUs on Ubuntu 16.04.04

I have several rigs running at any given time. Below you will find the equipment list for my NVidia 1080 TI Rigs, and also the installation instructions on getting the Drivers working under Ubuntu 16.04.04

Rack to Install the Hardware On.  I usually put two full rigs onto one single rack.  It saves space and I end up stacking mine (QTY 1): Seville Classics 3-Tier UltraZinc Cabinet Organizer, 7.5″ W x 17.5″ D x 18.5″ H

These steps will help you install the drivers.  It assumes that you have the hardware connected and Ubuntu Server 16.04 already installed.

Log into your Rig

Open a Terminal

sudo bash

apt-get update && apt-get upgrade

apt-get install gcc libglu1-mesa libxi-dev libxmu-dev libglu1-mesa-dev screen

lspci | grep -i nvidia

Check to see if all gpus are listed

apt-get install linux-headers-$(uname -r)

mkdir /miner && mkdir /miner/drivers/ &&  mkdir /miner/drivers/nvidia && cd /miner/drivers/nvidia

sudo add-apt-repository ppa:graphics-drivers/ppa && sudo apt update 

wget https://developer.nvidia.com/compute/cuda/9.1/Prod/local_installers/cuda_9.1.85_387.26_linux

chmod +x cuda_9.1.85_387.26_linux

mv cuda_9.1.85_387.26_linux cuda_9.1.85_387.26_linux.run

apt-get purge nvidia*

screen sh cuda_9.1.85_387.26_linux.run

Answer “yes” for installing the nvidia-drivers, the cuda tools and the symbolic link.

nano /etc/ld.so.conf.d/cuda-9.1-x86_64

put only one line:
/usr/local/cuda-9.1/lib64

Save the file and exit

Then run

ldconfig

In the next step you will want to change tacticalware to the name of your home directory

cd /home/tacticalware/ && nano .bashrc

add this to the end:
# add cuda tools to command path
export LD_LIBRARY_PATH=/usr/local/cuda-9.1/lib64:$LD_LIBRARY_PATH
export PATH=/usr/local/cuda-9.1/bin:$PATH

Save the file and exit

systemctl disable lightdm.service

reboot

Log back in and check to ensure all of your GPUs are still accessible

nvidia-smi

That’s it.  Your GPUs are setup and ready to mine!

Hardware that I use:
Motherboard (QTY 1):
https://amzn.to/2JqGJZ7

CPU (QTY 1):
https://amzn.to/3qevp2X

Memory (QTY 1):
https://amzn.to/2JqHn8Z

Hard Drive (QTY 1):
https://amzn.to/3lic3X5

Risers (QTY 6):
https://amzn.to/33rIgVE

Power Supplies (QTY 2):
https://amzn.to/3fTRpLR

Add2PSU (QTY 1):
https://amzn.to/39s4URY

GPUs (QTY 6):
https://amzn.to/2JqvXC8

Power Switch (QTY 1):
https://amzn.to/3ljmNVk

Thank you

  • General

Hi All

Thanks for checking out TacticalWare.com.  Here I will be posting multitudes of information on Crypto, Mining, Linux, Power BI, and other topics that interest me.  Looking forward to building a resource for all to use.