Beginners Guide: Adding USB Storage, Linux Formatting and Permissions
#5
Thanks for Guide. It's very well written.

I have a question - how to use pmount to mount USB hard drive automatically after boot?

********* This is after boot *********
root@rock64:~# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda          8:0    0 223.6G  0 disk
└─sda1        8:1    0 223.6G  0 part
mtdblock0    31:0    0    16M  0 disk
mmcblk0    179:0    0  7.4G  0 disk
└─mmcblk0p1 179:1    0  7.2G  0 part /
zram0      252:0    0  489M  0 disk [SWAP]
zram1      252:1    0    50M  0 disk /var/log
*********************************************

Now, after pmount command - folder is mounted & I can access folder from network using samba
*************************
root@rock64:~# pmount /dev/sda1 /media/USB3HDD
root@rock64:~# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda          8:0    0 223.6G  0 disk
└─sda1        8:1    0 223.6G  0 part /media/USB3HDD
mtdblock0    31:0    0    16M  0 disk
mmcblk0    179:0    0  7.4G  0 disk
└─mmcblk0p1 179:1    0  7.2G  0 part /
zram0      252:0    0  489M  0 disk [SWAP]
zram1      252:1    0    50M  0 disk /var/log
******************************************

So, the question is How to mount USB3HDD mounting point every time it boots?

Thanks in advance.
  Reply


Messages In This Thread
Formatting the drive for Linux use - by Ptheven - 08-15-2017, 08:23 AM
Mounting the Partition/Filesystem - by Ptheven - 08-15-2017, 09:30 AM
RE: Beginners Guide: Adding USB Storage, Linux Formatting and Permissions - by helpmerock - 03-06-2021, 01:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Beginners Guide: Migrating to SSD rontant 18 44,036 01-19-2022, 09:30 AM
Last Post: Ellesar Dragon
  Step by step guide PXE diskless configuration. burglar_ot 13 38,663 11-01-2020, 11:26 PM
Last Post: michael.gruner
Thumbs Up A guide for how I made RetroPie, RetroArch, and EmulationStation Work on the Rock64 Mrfixit2001 4 17,297 12-17-2018, 03:52 AM
Last Post: va88
  Guide - XRDP - Debian Stretch / Ubuntu Xenial / OMV S3phi40T 3 14,767 05-05-2018, 06:08 AM
Last Post: S3phi40T
Information Guide - Raid Array (Raid 0) Ptheven 0 5,153 10-07-2017, 09:22 AM
Last Post: Ptheven
Information Guide - Setting up a NFS Share Ptheven 0 5,875 09-26-2017, 04:44 AM
Last Post: Ptheven
  Guide - Setting up a SMB(Windows) file server Ptheven 0 13,193 08-21-2017, 08:54 AM
Last Post: Ptheven
Information Beginners Guide: Locating your board, connecting to it. Ptheven 5 17,228 08-21-2017, 04:12 AM
Last Post: Ptheven

Forum Jump:


Users browsing this thread: 1 Guest(s)