Difference between revisions of "ML computers setup"

From Interaction Station Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
*Linux distribution installed: Ubuntu 16.04
+
 
 +
 
 +
=Linux distribution installed: Ubuntu 16.04 (2017)=
  
 
==Partition made for machine learning:MachineLearning==
 
==Partition made for machine learning:MachineLearning==
Line 8: Line 10:
  
 
===Get the UUID of the learning:MachineLearning partition===
 
===Get the UUID of the learning:MachineLearning partition===
*sudo blkid
+
sudo blkid
  
 
===Add partition to fstab:===
 
===Add partition to fstab:===
*sudo nano /etc/fstab
+
sudo nano /etc/fstab
 
*Add at the bottom these two lines:
 
*Add at the bottom these two lines:
*UUID=(id of the MachineLearning partition) /media/MachineLearning rw,suid,dev,auto,user,async,exec      0      2
+
*UUID=(id of the MachineLearning partition) /media/interactionstation/MachineLearning ext4 rw,suid,dev,auto,user,async,exec      0      2
*UUID=(id of the DataStorage partition) /media/DataStorage ntfs-3g defaults=en_US.UTF-8 0 0
+
*UUID=(id of the DataStorage partition) /media/interactionstation/DataStorage ntfs-3g defaults=en_US.UTF-8 0 0
  
 
*The parameters mounting the MachineLearning partition solved this problem running caffe from that partition:
 
*The parameters mounting the MachineLearning partition solved this problem running caffe from that partition:
Line 21: Line 23:
  
 
===Give writing permissions to new MachineLearning partition===
 
===Give writing permissions to new MachineLearning partition===
*sudo chmod -R a+rwx /media/MachineLearning/
+
sudo chmod -R a+rwx /media/MachineLearning/
  
 
*Need extra space? Extending the partition
 
*Need extra space? Extending the partition
Line 30: Line 32:
  
 
'''NTFS fstab wizard:'''
 
'''NTFS fstab wizard:'''
*sudo apt-get install ntfs-config
+
sudo apt-get install ntfs-config
*sudo ntfs-config
+
sudo ntfs-config
  
 
'''Format large capacity HD with fs ExFat for having access to it from Ubuntu:'''
 
'''Format large capacity HD with fs ExFat for having access to it from Ubuntu:'''
*On Windows 10
+
*On Windows 10:
*cmd
+
cmd
*diskpart
+
diskpart
 
*select disk '#' (where # is the number of the target drive)
 
*select disk '#' (where # is the number of the target drive)
*list part
+
list part
 
*select part # (where # is the number of the partition)
 
*select part # (where # is the number of the partition)
*format fs=exfat QUICK
+
format fs=exfat QUICK
  
 
*automount external exfat drive in Ubuntu
 
*automount external exfat drive in Ubuntu
 
  sudo apt-get install exfat-utils exfat-fuse
 
  sudo apt-get install exfat-utils exfat-fuse
 +
 +
[[Category:AI & Machine Learning]]

Latest revision as of 13:42, 28 November 2022


Linux distribution installed: Ubuntu 16.04 (2017)

Partition made for machine learning:MachineLearning

  • In Windows: Disk Management -> Resize DataStorage
  • Create new ext4 patition

Mounting the partition automatically:

Get the UUID of the learning:MachineLearning partition

sudo blkid

Add partition to fstab:

sudo nano /etc/fstab
  • Add at the bottom these two lines:
  • UUID=(id of the MachineLearning partition) /media/interactionstation/MachineLearning ext4 rw,suid,dev,auto,user,async,exec 0 2
  • UUID=(id of the DataStorage partition) /media/interactionstation/DataStorage ntfs-3g defaults=en_US.UTF-8 0 0

Give writing permissions to new MachineLearning partition

sudo chmod -R a+rwx /media/MachineLearning/
  • Need extra space? Extending the partition

https://askubuntu.com/questions/492054/how-to-extend-my-root-partition


Other options:

NTFS fstab wizard:

sudo apt-get install ntfs-config
sudo ntfs-config

Format large capacity HD with fs ExFat for having access to it from Ubuntu:

  • On Windows 10:
cmd
diskpart
  • select disk '#' (where # is the number of the target drive)
list part
  • select part # (where # is the number of the partition)
format fs=exfat QUICK
  • automount external exfat drive in Ubuntu
sudo apt-get install exfat-utils exfat-fuse