Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| store_games_on_a_second_usb_sata_drive [2021/04/25 12:12] – [Store Game On A Second USB SATA Drive] joinski | store_games_on_a_second_usb_sata_drive [2026/06/10 15:28] (current) – Tip for storage manager lbrpdx | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ~~NOTOC~~ | + | ====== Using External Storage with Batocera ====== |
| + | <WRAP tip> | ||
| + | Batocera v43 introduced Storage Manager, which simplifies multi-drive storage management. | ||
| - | In most cases, using a second USB hard drive to host your ROMs separately from the Batocera system should be totally transparent when you [[storage_device|use the dedicated menu item]] to enable it. | + | See: [[storage_manager|Storage Manager]] |
| + | </ | ||
| - | However, when tinkering with the systems, things can go wrong. This page is here to help you troubleshoot and fix those cases. | + | To change |
| - | ===== Store Game On A Second USB SATA Drive ===== | + | - Open the **Main Menu** with '' |
| + | - Select the storage device. Selecting " | ||
| - | 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 '' | + | In most cases, using a second |
| - | | + | <WRAP center round info> |
| + | Batocera will automatically create the folder structure it needs on the drive you select after rebooting. | ||
| + | </ | ||
| + | |||
| + | Batocera will only show drives it supports reading the filesystem of (with that said, [[batocera.linux_architecture# | ||
| + | |||
| + | ===== Manual configuration with batocera-boot.conf (advanced) ===== | ||
| + | |||
| + | In case the above isn't sufficient, or you'd like to use individual folders for each part of userdata, the " | ||
| + | |||
| + | <WRAP center round tip> | ||
| + | The [[: | ||
| + | </ | ||
| + | |||
| + | - [[: | ||
| + | - Set '' | ||
| + | - Add a new line containing '' | ||
| + | - Add the appropriate keyword followed by an @ character (eg. '' | ||
| + | - Add the UUID of the drive containing the folder (eg. '' | ||
| + | - If not using the root of the drive, append a : and then add the folder path (eg. '' | ||
| + | - Add up to ten parts as needed. | ||
| + | |||
| + | These can also be combined to have individual keywords bound to individual folders. For example: | ||
| + | |||
| + | < | ||
| + | sharedevice=DEVICES | ||
| + | sharedevice_part1=SHARE@12e46ca9-xxxx-xxxx-xxxx-xxxxxxxxxx | ||
| + | sharedevice_part2=ROMS@2efa1068-yyyy-yyyy-yyyy-yyyyyyyyyy:/ | ||
| + | </ | ||
| + | |||
| + | ===== DEV MODE ===== | ||
| + | |||
| + | If the above steps aren't sufficient for your purposes, you can set up the external drive manually. This will be done by editing the ''/ | ||
| + | |||
| + | The list of UUIDs of all drives connected to the system can be printed with the '' | ||
| + | |||
| + | < | ||
| /dev/sdb2: LABEL=" | /dev/sdb2: LABEL=" | ||
| /dev/sdb1: LABEL=" | /dev/sdb1: LABEL=" | ||
| /dev/sda1: LABEL=" | /dev/sda1: LABEL=" | ||
| + | </ | ||
| + | |||
| + | In this example, ''/ | ||
| + | |||
| + | Open the ''/ | ||
| + | |||
| + | < | ||
| + | sharedevice=INTERNAL | ||
| + | </ | ||
| + | |||
| + | would be replaced with | ||
| + | |||
| + | < | ||
| + | sharedevice=DEV 2efa1068-yyyy-yyyy-yyyy-yyyyyyyyyy | ||
| + | </ | ||
| - | In that example, ''/ | + | If the drive is empty, the folder structure for the ROM files will be created on next reboot. |
| - | # device | + | 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 while Batocera boots. In those cases you have to edit the ''/ |
| - | sharedevice=DEV 2efa1068-yyyy-yyyy-yyyy-yyyyyyyyyy | + | |
| - | + | ||
| - | # disable | + | |
| - | # | + | |
| - | + | ||
| - | # enable | + | |
| - | # | + | |
| - | Otherwise you can also choose the drive, where you want your ROM files to be located, directly in Batocera EmulationStation Menu, by going to '' | ||
| - | 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 ''/ | ||
- store_games_on_a_second_usb_sata_drive.1619352761.txt.gz
- Last modified: 6 years ago
- by joinski