Page 1 of 1

Boot from USB?

Posted: Sat Nov 20, 2021 11:24 am
by billythefisherman
Is it technically possible to boot from USB? I'd like to get rid of the issue of scripts like the update_all script not really being USB aware (in particular the mame_getter portion of the script). Of course it may just be easier to make it aware. It would just be a cleaner setup if I could just have everything on my usb SSD.

Re: Boot from USB?

Posted: Sat Nov 20, 2021 11:36 am
by darksakul
Outside of the MiSTer Project, can the DE 10 Nano boot without a SD card?
Can it boot up from a USB Drive, a USB Flash Drive or USB HDD or SSD?

Re: Boot from USB?

Posted: Sat Nov 20, 2021 12:08 pm
by jca
I solved the problem using 3 ini files:

update_mame-getter.ini
MRADIR=/media/usb0/_Arcade
ROMMAME=/media/usb0/games/mame
ROMHBMAME=/media/usb0/games/mame

update_hbmame-getter.ini
MRADIR=/media/usb0/_Arcade
ROMMAME=/media/usb0/games/mame
ROMHBMAME=/media/usb0/games/mame

update_jtcores.ini
BASE_PATH="/media/usb0"

Re: Boot from USB?

Posted: Sat Nov 20, 2021 10:08 pm
by Milspex
all cores etc are on my sd, all games are on external hdd and I've edited the ini files for the updater. Works like a charm

Re: Boot from USB?

Posted: Sun Nov 21, 2021 11:09 pm
by billythefisherman
jca wrote: Sat Nov 20, 2021 12:08 pm I solved the problem using 3 ini files:

update_mame-getter.ini
MRADIR=/media/usb0/_Arcade
ROMMAME=/media/usb0/games/mame
ROMHBMAME=/media/usb0/games/mame

update_hbmame-getter.ini
MRADIR=/media/usb0/_Arcade
ROMMAME=/media/usb0/games/mame
ROMHBMAME=/media/usb0/games/mame

update_jtcores.ini
BASE_PATH="/media/usb0"
Fantastic I'll try that straight away! Thank you very much!

Did you mean 'mame' rather than 'hbmame' for hbmame paths?

Re: Boot from USB?

Posted: Mon Nov 22, 2021 2:12 am
by jca
Ooops! It looks like I messed up when I made the post and it should be hbmame for ROMHBMAME.
There is also something I did not mention but Milspex gave a hint: I have most of my directories on the USB HDD, in particular the _Arcade directory. If you have it on the SD card you have to omit the MRADIR and you don't need the update_jtcores.ini.