To mount the correct hard drive at startup, we first look at how to identify the correct hard drive by using the UUID (Universally Unique Identifier).
We are going to update the /etc/fstab file to mount the USB drive on startup.
We find the UUID with the command:
ls -l /dev/disk/by-uuid
We will also need to know the file type, we find that with the command:
df -T /dev/sdc1
We then make a backup of the /etc/fstab file before making any changes to it.
We end the video looking at the different fields needed for to create an fstab record, then we create an /etc/fstab record to mount a USB drive on startup.
See the complete LCL playlist at: • Linux Command Line (01) What Is The ...
Website link:
https://thefrugalcomputerguy.com/linu...