Delay ES loading so USB 2.5" HD can mount?
-
Hello, I followed the instructions in the wiki for putting the /recalbox/share/ partition on a USB key but with using an externally powered 2.5" USB HD. Everything appears to be working except on a cold boot ES loads up quicker than the USB HD mounts so I get a "No Roms" error and ES quits. Is there a file I can edit to add a pause or wait so the disk has time to mount before ES loads up? If so, what file to edit and where is it? What exactly do i add to create the pause for a few seconds? Thanks in advance for any help on this.
-
Hi you can add
sleep 10
(you will maybe have to adjust this timing depending of your DD speed) in your es init script./etc/init.d/S31emulationstation
-
Thanks so much for the help. It worked great!
-
Just one more question... When using a FAT32 formatted USB HDD for the share partition, is there any way to keep the drive from going to sleep and causing no roms to be available to open after the first one? My particular drive has no utility to change the sleep setting in the disk itself, so I was wondering if there was a way to have recalbox "keep alive" the drive by perhaps refreshing a directory listing of /recalbox/share/ or perhaps having it touch /recalbox/share/system/recalbox.conf every 60 seconds or so regardless of whether or not you're in emulation station, retroarch or even dropped out to a command prompt? Thanks in advance for any help.