HOWTO mine Ravencoin X16R algorithm with Simpleminer smOS

in #mining7 years ago (edited)

download.png

At the time of writing this smOS does not have a miner capable of mining the x16r algorithm. There is a compiled binary of ccminer-x16r on HiveOS that can easily be copied to smOS.

  • Download the latest version of HiveOS and make a HiveOS USB. I prefer Etcher.

  • Insert the HiveOS USB into your rig that is running smOS and either from the console or a ssh session enter the following commands:

#find device id for HiveOS
miner@simpleminer:~$ lsblk
NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sdb      8:16   1  7.5G  0 disk
├─sdb2   8:18   1    7G  0 part
└─sdb1   8:17   1   20M  0 part
sda      8:0    1 57.3G  0 disk
├─sda2   8:2    1  6.7G  0 part /
└─sda1   8:1    1    9M  0 part /mnt/user
  • In the example above sda is smOS mounted at / and sdb has two partitions unmounted so this is likely HiveOS. The 7G partition is the one we want.

  • Mount the HiveOS partition:

# make a directory to mount it to
sudo mkdir /mnt/hiveos

# mount the partition
sudo mount /dev/sdb2 /mnt/hiveos #replace sdb2 with whatever your 7G unmounted partition is. 
  • Copy ccminer-rvn from HiveOS to smOS:
sudo cp /mnt/hiveos/hive/ccminer/ccminer-rvn /root/miner_org/ccminer-skunk-krnlx/
# rename the skunk ccminer
sudo mv /root/miner_org/ccminer-skunk-krnlx/ccminer /root/miner_org/ccminer-skunk-krnlx/ccminer-skunk-krnlx
# create a symlink to the new x16r miner
sudo ln -s /root/miner_org/ccminer-skunk-krnlx/ccminer-rvn /root/miner_org/ccminer-skunk-krnlx/ccminer-skunk-krnlx/ccminer
  • Unmount HiveOS:
sudo umount /mnt/hiveos
sudo rmdir /mnt/hiveos
  • Log into simplemining.net and configure your miner.
# Example.  Replace my address with yours and a pool of your choosing.
-a x16r -o stratum+tcp://stratum.threeeyed.info:3333 -u RK6hrz1T9waV1HFM3hMvSP4w2TaU2EZHPV -p $rigName 

The x16r algorithm is an unusual one that may require you to reduce your overclock settings down to stock. I suggest a quick google search on mining x16r with ccminer.

Sort:  

Going to test this out today - Will give you credit and link the internet's to this post once we get it working.

Thanks BBT! FYI, someone pointed out to me that the 'ccminer-tpruvot-v2.2.5-cuda8.0' in smOS supports x16r. https://github.com/tpruvot/ccminer/blob/linux/README.txt