I'm trying to mount an external HDD for setting up a Plex server. When I try to do this it get the error:
mount: /home/pi/media: special device /dev/sda1 does not exist.
I found things online about the problem I am having. People said that this has something to do with that the HDD has to ramp up before it will get recognized by the system. I can confirm this with the fact that when I run the command
fdisk -l and it takes a couple seconds before it shows up. They found a fix for this and are talking about a script and put sleep in there. But I never found a script.
I also correctly formatted the drive with fdsik fyi. And Raspbian is installed and up-to-date.