I have a few drives that are 4Tb in size that I store my media on.
Since I installed Kodi inside of RetroPi, I’d really like to be able to access these. Ironically enough they do not show up under USB.
What I have to do is “sudo mount /dev/sda1 /mnt”
I’d rather not have to go into the command line every time I want to access the drive in Kodi, what can I do to make RetroPie auto detect the drive like OpenElec Kodi distro does?
I use two USB sticks to store my PC and Playstation games, and for the RetroPie setup I have I need them to always mount to the same points. I’m not sure if this works for USB hard drives too or if it’s just applicable to flash sticks, so bear that in mind. First I found out the uuid of the drive using:
Then I edited etc/fstab to add a new entry. It should take the following form:
I can’t remember exactly what I put for the options, I know I needed to alter something to get it readable and writeable – I’m away from the Pi at the moment, I’ll look it up when I get home. (the UUID is just made up there, yours will be different).
That should always mount that specific drive to /media/usb0 on boot. Again, I don’t know if it’s the same for hard drives, but my USB sticks get a new uuid every time they’re formatted.
Yes, you are right, I forgot all about Fastab, it has been years!
Since I started this post, I found out that since I am over clocking my Pi 2, that I increase the chances of burning out my SD card, so I opted to only initiate the boot sequence from SD, and now host my OS on my USB stick, which of course in itself also solves this problem without the need to edit Fstab.
Thank you though, maybe this will come in handy for those who don’t share my SD phobias, or just that little extra speed boot, save money, or what have you.