sudo nano ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf
and change the from:
[volume]
mount_on_startup=1
mount_removable=1
to
[volume]
mount_on_startup=0
mount_removable=0
sudo nano ~/.config/pcmanfm/LXDE-pi/pcmanfm.conf
and change the from:
[volume]
mount_on_startup=1
mount_removable=1
to
[volume]
mount_on_startup=0
mount_removable=0