This recipe shows how to configure the Raspberry Pi so that it automatically mounts attached USB disk drives during the boot process.
The goal of this recipe is to mount the example disks at boot time with the same configuration that is used by the command pmount
.
The first few steps of this recipe use the pmount
and mount
commands to discover the correct filesystem table configuration parameters for two example disk drives. Once the correct configuration parameters are discovered, the filesystem table configuration file (/etc/fstab
) is updated so that the disks are mounted when the Raspberry Pi boots.
This recipe does not provide details on the meaning of each configuration parameter. Instead, the recipe reuses the same configuration that is used by the pmount
command. More detail on the configuration parameters can be found in the man pages for the mount
command.
After completing this recipe, the Raspberry Pi will mount USB disk drives at boot time...