RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Retropie Drive Partition Issue with Kodi

    Scheduled Pinned Locked Moved Help and Support
    kodipartitionusb mount issue
    2 Posts 2 Posters 259 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      DaveWins182
      last edited by

      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 Shows

      If I reboot the retropie it will turn out

      USB0 mounted drive
      USB1 will be Television Shows
      USB2 will be Movies

      And 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.

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @DaveWins182
        last edited by mitu

        @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.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        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.