mount external drive

5 Views· 10/14/23
DanyChrys Barosoft
DanyChrys Barosoft
Subscribers
0
In I.T.

⁣1. Locate the name of your drive
lsblk

2. Create a mount point
mkdir /usb
chown -R www-data:www-data usb
chmod -R 777 usb

3. Create an entry in /etc/fstab
nano /etc/fstab
At the bottom of that file, add an entry like this:
/dev/sdd1 /usb ext4 defaults 0 0

4. Testing the mount
mount -a

Show more

 0 Comments sort   Sort By