0%

Mount Disk In Linux

1. Goal

Without network, the only way to copy file is through USB drive.

How to mount and copy file through command line?

2. How

  1. ```bash

sudo mkdir /media/usb

3. create mount point

1
2
3
4

2. ```bash
sudo lsblk
# find out which device should mount

image-20221216004405653

  1. ```bash

sudo mount /dev/sdb2 /media/usb -o uid=1000,gid=1000,utf8,dmask=027,fmask=137

4. mount the right disk (large one) to the create mount point