John

Edit pcmanfm.conf file:

sudo nano ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf 

Image description

and change the from:

[volume]
mount_on_startup=1
mount_removable=1

to

[volume]
mount_on_startup=0
mount_removable=0

Image description