Moving the Cores to the USB Storage in 2023

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
tms9918
Posts: 14
Joined: Mon Mar 14, 2022 8:00 am
Has thanked: 5 times

Moving the Cores to the USB Storage in 2023

Unread post by tms9918 »

I already read
viewtopic.php?t=1270
viewtopic.php?t=3073
but I still cannot move the cores to usb storage

/media/fat contains only

Code: Select all

config  linux  menu.rbf  MiSTer  MiSTer_example.ini  Scripts

while /media/usb0 contains (I verified it is currently mounted by ssh-ing in and listing)

Code: Select all

_Arcade    docs   font   _Other   _Utility Cheats   downloader.ini             
games menu.rbf Presets yc.txt _Computer Filters
Gamma MiSTer Scripts _Console Filters_Audio linux names.txt
Shadow_Masks

but the "Switch to USB" option is grayed out and the Cores menu shows only "No files!"
I know I could put the cores on the SD and the games folder on the USB, but I would love have anything on the USB. Is it possible?

User avatar
Longtime4321
Posts: 99
Joined: Fri Aug 12, 2022 5:17 am
Has thanked: 8 times
Been thanked: 15 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by Longtime4321 »

It's not advised to move cores to USB. It breaks scripts. You can probably fit them all on the sd card included with the DE-10 Nano and just store your games on USB.
If you're dead-set on storing your cores on USB, you can use symlinks, It's a Linux feature, so you'll have to look outside of the forum for information on how to do that.
If you want to store your cores on USB for the convenience of usb over the micro sd card, you can just use the MiSTer's built in FTP or Samba to move them remotely. Learn how to do so here:
https://github.com/MiSTer-devel/Wiki_Mi ... ork-access
https://github.com/MiSTer-devel/Wiki_MiSTer/wiki/Samba

C-R-T
Posts: 196
Joined: Wed Mar 03, 2021 5:10 pm
Has thanked: 21 times
Been thanked: 77 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by C-R-T »

Why are you actively trying to make your mister experience worse and more complicated than it needs to be?
Sorry if I’m being harsh, but I just cannot comprehend it.

tms9918
Posts: 14
Joined: Mon Mar 14, 2022 8:00 am
Has thanked: 5 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by tms9918 »

C-R-T wrote: Tue Sep 19, 2023 3:55 am

Why are you actively trying to make your mister experience worse and more complicated than it needs to be?
Sorry if I’m being harsh, but I just cannot comprehend it.

I understand that using the SD is feasible. But I do not see any drawbacks in having anything (except the things necessary for uboot, of course) on the USB storage. Everything in one place, less writes to the SD card, a more reliable file system, better or at least not worse (it's USB2) speeds, ...

tms9918
Posts: 14
Joined: Mon Mar 14, 2022 8:00 am
Has thanked: 5 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by tms9918 »

Longtime4321 wrote: Mon Sep 18, 2023 4:22 pm

If you're dead-set on storing your cores on USB, you can use symlinks, It's a Linux feature, so you'll have to look outside of the forum for information on how to do that.

aren't symlinks not supported by FAT?
https://unix.stackexchange.com/question ... port-links

User avatar
Longtime4321
Posts: 99
Joined: Fri Aug 12, 2022 5:17 am
Has thanked: 8 times
Been thanked: 15 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by Longtime4321 »

tms9918 wrote: Tue Sep 19, 2023 10:53 am
C-R-T wrote: Tue Sep 19, 2023 3:55 am

Why are you actively trying to make your mister experience worse and more complicated than it needs to be?
Sorry if I’m being harsh, but I just cannot comprehend it.

I I do not see any drawbacks in having anything (except the things necessary for uboot, of course) on the USB storage.

Every time you try to run update all it will download new cores to the sd card.

aren't symlinks not supported by FAT?
https://unix.stackexchange.com/question ... port-links

format it as NTFS. Problem solved.

zakk4223
Posts: 270
Joined: Sun May 24, 2020 10:55 pm
Been thanked: 107 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by zakk4223 »

tms9918 wrote: Tue Sep 19, 2023 10:55 am
Longtime4321 wrote: Mon Sep 18, 2023 4:22 pm

If you're dead-set on storing your cores on USB, you can use symlinks, It's a Linux feature, so you'll have to look outside of the forum for information on how to do that.

aren't symlinks not supported by FAT?
https://unix.stackexchange.com/question ... port-links

Mister uses a slightly modified exFAT implementation that supports symlinks

softtest9
Posts: 158
Joined: Thu May 28, 2020 7:13 pm
Has thanked: 3 times
Been thanked: 21 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by softtest9 »

Cores on USB work fine out of the box. No scripts or symlinks necessary.

grizzly
Posts: 376
Joined: Tue Jun 16, 2020 12:22 pm
Has thanked: 55 times
Been thanked: 76 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by grizzly »

If your going for read/write speed then network (Cable) is the way to go with quite a large margin too.
Between sd vs usb, then usb is faster read but sd is faster on write but only with a small step.

https://misteraddons.com/blogs/news/mis ... d-shootout

tms9918
Posts: 14
Joined: Mon Mar 14, 2022 8:00 am
Has thanked: 5 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by tms9918 »

softtest9 wrote: Tue Sep 19, 2023 7:00 pm

Cores on USB work fine out of the box. No scripts or symlinks necessary.

How do you do that? As by my first post I tried with a fresh install of Mr fusion but I had no success. is there something wrong in the directory structure listed above?

tms9918
Posts: 14
Joined: Mon Mar 14, 2022 8:00 am
Has thanked: 5 times

Re: Moving the Cores to the USB Storage in 2023

Unread post by tms9918 »

grizzly wrote: Tue Sep 19, 2023 8:33 pm

If your going for read/write speed then network (Cable) is the way to go with quite a large margin too.
Between sd vs usb, then usb is faster read but sd is faster on write but only with a small step.

https://misteraddons.com/blogs/news/mis ... d-shootout

Thanks I saw that amazing article, I am indeed considering attaching an rpi4 as a nas

User avatar
aberu
Core Developer
Posts: 1162
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 404 times
Contact:

Re: Moving the Cores to the USB Storage in 2023

Unread post by aberu »

For RPi4 as a NAS, I would suggest checking this out:

https://github.com/danmons/retronas

I use it at home and it works great.

https://github.com/danmons/retronas/wiki/MiSTer-FPGA

I use it with a cheap Western Digital external 14 TB hard drive.

Do note that if you use WiFi it could introduce latency that might cause some issues in CD cores.

birdybro~
Annata23
Posts: 1
Joined: Sat Jan 13, 2024 7:41 am

Re: Moving the Cores to the USB Storage in 2023

Unread post by Annata23 »

grizzly wrote: Tue Sep 19, 2023 8:33 pm

If your going for read/write speed then network (Cable) is the way to go with quite a large margin too.
Between sd vs usb, then usb is faster read but sd is faster on write but only with a small step.

Both have their own advantages, I quite like SD

Post Reply