Skip to content

Ubuntu LiveCD with xmr-stak pre-installed and pre-configured. Plug and mine!

Notifications You must be signed in to change notification settings

Jamesits/ubuntu-live-miner-x86_64

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ubuntu Auto Miner LiveCD

Ubuntu LiveCD with xmr-stak pre-installed and pre-configured. Plug and mine!

  • Super light: ~400M rootfs, ~270M memory, <10s boot time
  • Super easy: plug, boot, mine
  • Super power: latest xmr-stak optimized for newer Intel CPU with large L3/L4 caches

Download

Caveats

  • CPU mining only. No support for graphics card.
  • EFI boot only. Legacy/CSM is not supported nor tested.
  • I recommend put the miners into a special LAN segment/VLAN and apply firewall rules (block all incoming requests).
  • The embedded xmr-stak is built on my Intel i7-4770HQ with --march=native. It may cause issues on other platforms.

Usage

Burn the iso to USB disk using Rufus or other software, or just create a FAT32 partition with EFI boot flag set and uncompress the files into it. Plug in USB disk to destination PC and it should boot then start mining.

Login credential:

  • Username iot
  • Password internetofshit

You can log in using SSH.

To see miner speed report visit http://your_miner_ip:9000. The login credential is the same as above (if not overrided by your own config.txt).

Configuration

Networking

It accepts DHCPv4 and IPv6 SLAAC.

If you need static IP address, add ip=IFACE,ADDRESS,NETMASK,GATEWAY[:IFACE,ADDRESS,NETMASK,GATEWAY]* to boot/grub/grub.cfg kernel comandline.

Provide your own xmr-stak config

Put configuration ({config,cpu}.txt) in xmr-stak folder in USB disk root. It will be applied at boot. If you want to provide your own xmr-stak executable you can put that in too.

If you don't provide your own config, it will mine Monero using one CPU core as a test load.

Load OS to RAM (Optional)

You can load the root filesystem to RAM, so you can unplug the USB disk after system boot and it will continue to run. It requires ~460MB of RAM space and the boot time will be slightly longer.

Edit boot/grub/grub.cfg, add toram to kernel commandline.

Build

Build xmr-stak binary

The provided xmr-stak binary is built using this script.

Build Live CD

Caveat: There are some cases build script will umount /dev or /proc on build server. Prepare to hard reset build server at any time.

Start from a Ubuntu 16.04 64-bit:

# first execution
sudo make requirements
# otherwise clean build temp files first
sudo make clean

# then build iso
sudo make all

If you got some download error/hash sum mismatch error in the build process, run sudo make all again.

Donation

Please donate if you like my work!

  • BTC 1Cm42dB58VcHFC4HZSToMESGbXJr82JaSZ
  • ETH 0x6fDEb40271b9E027CAF6Fb4feBF5432a9F36EF1F