# Auto-Mounting Drives on Linux Modify the `/etc/fstab` file by adding the following line `UUID=2014-3D52 /mnt/usb vfat uid=pi,gid=pi 0 0`. UID and GID are user and group IDs of the owner of the mount. The last two integers are options which are best left at their default values. A good command for finding out the UUID is: ![[Linux Partition Management#^mvehts]] > [!Warning] > To make sure that the boot does not fail if the drive is absent, add `nofail` after `defaults` on the `fstab` line. > [!Note] > When modifying the `fstab` file the number and type of whitespaces is irrelevant For a list of available mount options you have to read the man pages for `mount`, and the file-system specific options (usually man pages for the specific file system say `man ext4`).