Giter Site home page Giter Site logo

mounting-hardisk's Introduction

A. manual Mounting-Hardisk di Linux - STB B860H

--------------------------------------------------------------------------------------------------------------------------------------

1. Instalasi Format File Sistem NTFS ke Linux

     apt install ntfs-3g fuse

2. Buat direktori di linux

     mkdir -p data-hardisk

3. Cek Perankgat di linux

     blkid ### (/dev/sda2)

4. Proses Mounting USB-Hardisk di linux

     mount /dev/sda2 data-hardisk ## seusiakan dengan yang terlihat dilangkah sebelumnya

5. Pembacaan direktori

     cd data-hardisk
     ls

B. Auto Mounting-Hardisk di Linux - STB B860H

--------------------------------------------------------------------------------------------------------------------------------------

1. Buat Auto start

     nano /etc/fstab
          UUID="lihat_sesuai_ID_nya_yg_terlihat" data-hardisk ntfs-3g defaults,nofail 0 0
          ### Tambahkan di akhir baris + simpan file [ Ctrl+X | Y ]

2. Cek direktori

     ls

C. Deteksi Otomatis Mounting-Hardisk di Linux - STB B860H dengan Skrip

--------------------------------------------------------------------------------------------------------------------------------------
Gunakan opsi ketiga ini agar konfigurasi di atas dapat mengotomatisasi dengan cepat perangkat langsung dapat terbaca/terhubung sesekali dilepas perangkatnya dari Linux,cukup mempermudah user tanpa harus melakukan mounting command ketika terlepas / terpasang s dilengkapi dengan skrip ya

1. Duplikasi Direktori dari Github ke Host

     git clone https://github.com/masihgurutkj/Mounting-Hardisk.git &&
     cd Mounting-Hardisk

2. Duplikasi file ke direktori /root

     cp usb-mount.sh /root

3. Duplikasi file ke direktori /etc/systemd/system/

     cp [email protected] /etc/systemd/system/

4. Duplikasi file ke direktori /etc/udev/rules.d/

     cp 99-local.rules /etc/udev/rules.d/

5. Restart Service tersebut

     udevadm control --reload-rules
     systemctl daemon-reload

6. Coba mount ke Direktori /media

     cd /media

mounting-hardisk's People

Contributors

masihgurutkj avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.