In this video we demonstrate how to recognize unmounted devices in your system and auto mount them during boot up.
Steps followed:
1. Recognize devices:
$ lsblk -f
2. Create mountpoint:
$ sudo mkdir /media/username/my_device_name
3. Add mountpoint to fstab file:
$ sudo gedit /etc/fstab
/dev/sdX /media/username/my_device_name fstype defaults,nofail 0 0
4. Restart system
Note: You could create a mountpoint directory in /mnt/my_device_name instead of the /media/username/my_device_name.
References:
mount (https://man7.org/linux/man-pages/man8...)
fstab (https://man7.org/linux/man-pages/man5...)
Watch video Auto-mount devices in Linux online without registration, duration hours minute second in high quality. This video was added by user Linux Nomad 10 April 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 274 once and liked it 9 people.