Post
Topic
Board Mining (Altcoins)
Re: [OS] nvOC easy-to-use Linux Nvidia Mining v0018
by
papampi
on 22/08/2017, 06:41:34 UTC
Can you please make step by step guide? I think it will help a lot of people, Thanks
Sure, will try my best.

Option 1: If you have bigger than 16gb USB/SSD/HDD. Enable swap and expand partition to full size.
First check to see if you have swap enabled or not by free command:
Then:
Open Gparted, it will ask for root password, Locate your drive, you will see a 16gb used space and a big not used at the end,
Right click on the unused partition and create new partition, Type : Swap make the size you want ( 1Gb to ...) and move it to the end of drive.  Apply.
Then right clcik on the primary 16gb partition and resize/move , resize it to the desired (better to give it all). Apply
Now right click on the swap partition and get the info, copy the UUID
open /etc/fstab with
Code:
gksudo gedit /etc/fstab
You will see a line which refers to a swap partition during installation ...
Some thing similar to this :
Code:
# swap was on /dev/sda5 during installation
UUID=cdba7b01-5ae6-4104-9a6e-f723b8bd87ac none            swap    sw              0       0
Now change the UUID with the one you copied from newly made swap partition.
save and close gedit.
now in your  terminal type :
Code:
sudo swapon --all
It will read your fstab and enable the swap partition.
check it with free command in  terminal
Code:
#free
              total        used        free      shared  buff/cache   available
Mem:        8171388     3020388     2637404      142044     2513596     4647472
Swap:       8123388           0     8123388
reboot and it should be all good


Edit.
Option2 : If you have 16GB usb/ssd/hdd (Credit to osnwt)
And you dont want/need swap partition and expanding primary partition:

Just open /etc/fstab with
Code:
gksudo gedit /etc/fstab
and add a # before the UUID in swap line
Code:
# swap was on /dev/sda5 during installation
#UUID=cdba7b01-5ae6-4104-9a6e-f723b8bd87ac none            swap    sw              0       0
reboot and have fun.