Retropie Drive Partition Issue with Kodi
-
I recently decided to turn my Retropie into a mini-media center by installing Kodi and adding a 5tb external drive but I’m having issues with it changing the drive order on reboot. Let me explain.
So my 5tb drive is partitioned into 3 drives. I have. 500gb drive as my USB mount for my games for the retropie itself. Then the remaining 4tb is split into 2 separate 2tb partitions, one for Movies and on for Television shows. The FAT32 format tool I used only allowed me to go up to 2tb per partition hence the formatting (I don’t know if it’s a FAT32 limitation or just the program itself), but thats how it’s currently set up.
My issue is that when I reboot the Retropie to add games or whatnot it will sometimes rearrange the order of the drives and Kodi loses the location.
Example:
USB0 is the mounted drive
USB1 is Movies
USB2 is Television ShowsIf I reboot the retropie it will turn out
USB0 mounted drive
USB1 will be Television Shows
USB2 will be MoviesAnd because the drives(partitions really) are listed in a different order it loses the location of the movies and shows.
Any idea how I could remedy this? Thanks in advance!
Also, I’m running a Raspberry PI4 with a pretty much fresh install of Retropie outside the addition of Kodi.
-
@DaveWins182 said in Retropie Drive Partition Issue with Kodi:
Any idea how I could remedy this? Thanks in advance!
Don't use
/dev/sdX[Number]
in your/etc/fstab
, add the mount point based on the partition's UUID(s) (see https://wiki.archlinux.org/title/Fstab#File_system_UUIDs). This way the order of the USB devices is not relevant and the mount points will be always correct.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.