Raspberry PI USB mount as external drive
I choose NTFS USB Drive as an external storage for my raspberry pi
for this you need to install ntfs-3g library if it's not installed
sudo apt install ntfs-3g
to auto mount usb at boot stage you can add entry to fstab
it's always to good to verify your entry before reboot
sudo findmnt --verify --verbose
run command to get info about your usb
lsblk -fp
and save UUID for to use in fstab
and add following line to your fstab
replace XXX with UUID that you saved earlier, and uid is user, and group id that directory will be mounted with ownership of this user and group that you can get from /etc/passwd
UUID=XXX /mnt/FOLDERNAME ntfs defaults,auto,uid=1001,gid=1001,rw,nofail,umask=000 0 0
Comments