Boot from USB?

For topics which do not fit in other specific forums.
billythefisherman
Posts: 33
Joined: Sun Mar 07, 2021 7:10 pm
Has thanked: 1 time
Been thanked: 2 times

Boot from USB?

Unread post 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.
User avatar
darksakul
Posts: 352
Joined: Mon May 25, 2020 4:34 pm
Has thanked: 397 times
Been thanked: 73 times

Re: Boot from USB?

Unread post 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?
It is my great regret that we live in an age that is proud of machines that think and suspicious of people who try to.
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Boot from USB?

Unread post 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"
Milspex
Posts: 165
Joined: Wed Jun 10, 2020 6:46 pm
Has thanked: 38 times
Been thanked: 35 times

Re: Boot from USB?

Unread post 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
billythefisherman
Posts: 33
Joined: Sun Mar 07, 2021 7:10 pm
Has thanked: 1 time
Been thanked: 2 times

Re: Boot from USB?

Unread post 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?
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Boot from USB?

Unread post 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.
Post Reply