file-system-type depends on the file system used to format your USB storage.mount-point is the path where to attach your storage.The partitions in fstab must be declared with the following syntax: UUID= Now, please open the fstab file for editing: sudo nano /etc/fstab I will name it as “myUSB” and mount it in the “media” folder: sudo mkdir /media/myUSB To setup the automount with fstab, please create the mount point where your storage will be attached (that is the path to retrieve your USB storage content). This will require a “mount -a” terminal command or a system reboot. It will work correctly mounting the USB device on RPI OS boot.ĬONs: this method will not automatically mount the USB storage if plugged in when the OS is already running. PROs: using fstab doesn’t require installing new packages to manage the USB storage mounting. It is a file listing all available partitions, instructing the OS how to initialize and/or integrate them into the overall system’s file system.īefore going to the procedure, please note that: The first method is by editing the FSTAB (File System TABle). Now, we are ready to learn how to automount USB storage on Raspberry PI OS Lite boot with one of the following methods. For my USB stick it is DE11-2ABA but your one will be different and can have a different format.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |