This is an old revision of the document!

In most cases, using a second USB hard drive to host your ROMs separately from the Batocera system should be totally transparent when you use the dedicated menu item to enable it.

However, when tinkering with the systems, things can go wrong. This page is here to help you troubleshoot and fix those cases.

Say you are running Batocera off a USB pendrive (or SD card) but want to host your ROM files on a different hard drive. In that case, you need to edit /boot/batocera-boot.conf and provide the information of the hard drive that hosts your ROMs. In order to do that, you can list the UUID of the drive that hosts the ROMs by typing the blkid command:

/dev/sdb2: LABEL="SHARE" UUID="12e46ca9-xxxx-xxxx-xxxx-xxxxxxxxxx" TYPE="ext4"
/dev/sdb1: LABEL="BATOCERA" UUID="zzzz-zzzz" TYPE="vfat"
/dev/sda1: LABEL="SHARE" UUID="2efa1068-yyyy-yyyy-yyyy-yyyyyyyyyy" TYPE="ext4"

In that example, /dev/sdb1 is my Batocera boot partition, /dev/sdb2 is the rest of my Batocera USB pendrive (that I don't want to use) and /dev/sda1 if the partition hosting my ROM files. In order to use that partition, I need to edit /boot/batocera-boot.conf and put:

# device to the share data (userdata)
sharedevice=DEV 2efa1068-yyyy-yyyy-yyyy-yyyyyyyyyy

# disable the splashsound (remove the # to disable sound)

# enable the nvidia driver (remove the # to enable it)

Otherwise you can also choose the drive, where you want your ROM files to be located, directly in Batocera EmulationStation Menu, by going to System Settings and select the drive under Storage Device and then reboot. The file structure for the ROM files will then (during the reboot) be created automatically (if not already present) on this drive. If you are using an external hard drive and it is not recognized correctly after doing this, then it might be, that your external hard drive needs more time to spin up, than the boot time of batocera is. In those cases you have to edit the /boot/batocera-boot.conf file and add the line: sharewait=15 (if it still does not work, try with a higher number like sharewait=20 for example)

  • store_games_on_a_second_usb_sata_drive.1619370629.txt.gz
  • Last modified: 5 months ago
  • by joinski