User Tools

Site Tools


mount

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
mount [2024/04/20 11:43] – created zainalmount [2024/04/20 12:23] (current) zainal
Line 1: Line 1:
 +List all available disk
  
 +''lsblk -lf''
 +
 +or
 +
 +''fdisk -l''
 +
 +Mount drive 
 +
 +''mount /dev/<source drive> <target> \\
 +mount /dev/sda2 /mnt/drive2''
 +
 +For automount, edit /etc/fstab
 +
 +''nano fstab \\
 +/dev/sda1       /mnt/drive1     auto    auto    0       0 \\
 +/dev/sda2       /mnt/drive2     auto    auto    0       0 \\
 +''

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki