Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


How to manually copy files to the ssd boot drive
#1
Hi, 
I use a raspberry pi4 and installed moode audio on a ssd. The ssd is also used as storage for my music. I was able to transfer files via Samba, but I would like to manually transfer them unplugging the ssd from the raspberry and plugging it in my computer, like a common usb flash drive.
Obviously windows cannot see any media folder when I plug it in, so my question is how do I manually transfer music to the ssd?
Reply
#2
Moved from General Discussion to Support.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
The image contains two partitions.

1. boot - This partition is Fat32 format and can be R/W by Linux/Windows/MacOS. It contains system startup files.
2. rootfs - This partition is EXT4 format and can only be R/W by Linux. It contains RaspiOS, moOde and Linux kernel files.

I would not recommend storing song files on the boot media because (1) installing a new image overwrites the boot media and thus song files would need to be copied over again and (2) you can't easily copy files to the rootfs partition unless you have a Linux box.

I would try using a Surveillance grade uSD Card (link below) as the boot media and a USB drive formatted as Fat32 for storing song files. This provides reliability, performance and ease of use for managing song files plus your song files won't be overwritten when upgrading to a new image :-)

WD Purple QD101
https://www.amazon.com/gp/product/B088CD...UTF8&psc=1
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#4
Thank you for your explanation. I use moode audio in my car, I chose the ssd because of faster boot time (I presume) and general performance, and for the better resilience to accidental power losses. Maybe I can add a usb flash drive on top of the ssd. Or I will try with linux.
Speaking of boot time, I was also wondering if there's a way to make the boot faster. When I turn on the system, the console appears, do its things, then it hangs some seconds (maybe 10 or 20) waiting for the login. If I don't type anything it will proceed automatically to the UI. Is there a setting to reduce that login timeout?
I thought that it was waiting for I connection, but I don't have wifi in my car so I disabled wifi in the System menu, but it sill hangs on the login prompt.
Reply
#5
Couple things:

- IME top quality uSD cards provide great reliability, faster boot and better performance than USB boot disks.
- On an attached display there is no terminal login possible because RaspiOS Lite is headless.
- The delay while viewing the terminal on your display is due to chromium-browser and xesrver starting up to provide the Local UI display, but the delay should be relatively short.

I ran a quick test on one of my systems with a locally attached HDMI display and total stopwatch time was 1 min 6 secs from power up to Local UI display showing. The portion of that time for moOde startup was 27 secs (see below) which means that Linux startup and LocalUI startup took 39 seconds.

Code:
pi@kef:~ $ moodeutl -l
20230713 183931 worker: --
20230713 183932 worker: -- Start moOde 8 series
20230713 183932 worker: --
20230713 183932 worker: Successfully daemonized
20230713 183932 worker: Waiting for Linux startup...
20230713 183944 worker: Linux startup complete
20230713 183944 worker: Boot config backed up
20230713 183948 worker: File check (OK)
20230713 183950 worker: Session vacuumed
20230713 183950 worker: Session loaded
20230713 183950 worker: Debug logging (OFF)
20230713 183950 worker: --
20230713 183950 worker: -- Audio debug
20230713 183950 worker: --
20230713 183950 worker: ALSA cards: (0:sndrpirpidac | 1:empty | 2:empty | 3:empty
20230713 183950 worker: MPD config: (0:ProtoDAC TDA1387 X8 | mixer:(none) | card:0)
20230713 183950 worker: ALSA mixer actual (none)
20230713 183950 worker: ALSA volume (none)
20230713 183950 worker: --
20230713 183950 worker: -- System
20230713 183950 worker: --
20230713 183952 worker: Host      (kef)
20230713 183952 worker: Hardware  (Pi-3B+ 1.3 1GB)
20230713 183953 worker: moOde     (8.3.4 2023-MM-DD)
20230713 183953 worker: RaspiOS   (11.7)
20230713 183953 worker: Kernel    (6.1.21-v8+ #1642)
20230713 183953 worker: Procarch  (aarch64, 64-bit)
20230713 183953 worker: MPD ver   (0.23.12)
20230713 183953 worker: CPU gov   (ondemand)
20230713 183953 worker: Userid    (pi)
20230713 183953 worker: Homedir   (/home/pi)
20230713 183953 worker: Timezone  (America/Detroit)
20230713 183953 worker: Keyboard  (us)
20230713 183953 worker: USB boot  (enabled)
20230713 183953 worker: File sys  (expanded)
20230713 183953 worker: HDMI port (On)
20230713 183953 worker: Sys LED0  (On)
20230713 183953 worker: Sys LED1  (On)
20230713 183953 worker: --
20230713 183953 worker: -- Network
20230713 183953 worker: --
20230713 183953 worker: eth0 adapter exists
20230713 183953 worker: eth0 address check (Off)
20230713 183953 worker: eth0 address not assigned
20230713 183953 worker: wlan0 adapter exists
20230713 183953 worker: wlan0 country (US)
20230713 183953 worker: wlan0 configured SSID (AirnetN5)
20230713 183953 worker: wlan0 SSID alternates (None)
20230713 183953 worker: wlan0 router mode (Off)
20230713 183953 worker: wlan0 address check (up to 90 secs)
20230713 183953 worker: wlan0 connected to SSID (AirnetN5)
20230713 183954 worker: wlan0 power save (Disabled)
20230713 183954 worker: IP addr (192.168.1.236)
20230713 183954 worker: Netmask (255.255.255.0)
20230713 183954 worker: Gateway (192.168.1.1)
20230713 183954 worker: Pri DNS (192.168.1.1)
20230713 183954 worker: Domain  (home)
20230713 183954 worker: --
20230713 183954 worker: -- Software update
20230713 183954 worker: --
20230713 183954 worker: Automatic check (Off)
20230713 183954 worker: --
20230713 183954 worker: -- Audio config
20230713 183954 worker: --
20230713 183954 worker: MPD conf updated
20230713 183954 worker: ALSA card number (0)
20230713 183954 worker: MPD audio output (ProtoDAC TDA1387 X8)
20230713 183954 worker: Audio formats (S16_LE, S24_LE)
20230713 183954 worker: ALSA mixer name (none)
20230713 183954 worker: MPD mixer type (CamillaDSP)
20230713 183955 worker: Hdwr volume controller not detected
20230713 183955 worker: ALSA output mode (Direct: hw)
20230713 183955 worker: ALSA loopback (Off)
20230713 183955 worker: Renderer active flags (reset)
20230713 183955 worker: CamillaDSP configuration (ProtoDAC VC)
20230713 183955 worker: --
20230713 183955 worker: -- File sharing
20230713 183955 worker: --
20230713 183955 worker: SMB file sharing (Off)
20230713 183955 worker: NFS file sharing (Off)
20230713 183955 worker: --
20230713 183955 worker: -- MPD startup
20230713 183955 worker: --
20230713 183955 worker: MPD started
20230713 183955 worker: MPD accepting connections
20230713 183955 worker: MPD output 1 ALSA Default (On)
20230713 183955 worker: MPD output 2 ALSA Bluetooth (Off)
20230713 183955 worker: MPD output 3 HTTP Server (Off)
20230713 183955 worker: MPD crossfade (off)
20230713 183956 worker: MPD ignore CUE files (yes)
20230713 183956 worker: MPD camilladsp volume sync (On)
20230713 183956 worker: MPD camilladsp volume range (60 dB)
20230713 183956 worker: --
20230713 183956 worker: -- Music sources
20230713 183956 worker: --
20230713 183956 worker: USB sources
20230713 183956 worker: No drives found
20230713 183956 worker: NAS sources
20230713 183956 worker: TRX-NFS-FLAC
20230713 183956 worker: Mount all submitted
20230713 183956 worker: --
20230713 183956 worker: -- Feature availability
20230713 183956 worker: --
20230713 183956 worker: Input select (available)
20230713 183956 worker: Input (MPD)
20230713 183956 worker: Output (ProtoDAC TDA1387 X8)
20230713 183956 worker: Bluetooth (available)
20230713 183957 worker: AirPlay renderer (available: started)
20230713 183957 worker: Spotify renderer (available)
20230713 183957 worker: Squeezelite (available)
20230713 183957 worker: RoonBridge renderer (not installed)
20230713 183957 worker: Multiroom sender (available)
20230713 183957 worker: Multiroom receiver (available)
20230713 183957 worker: UPnP renderer (available)
20230713 183957 worker: DLNA server (available)
20230713 183957 worker: GPIO button handler (available)
20230713 183957 worker: Stream recorder (available: not installed)
20230713 183957 worker: HTTPS-Only mode (n/a)
20230713 183957 worker: --
20230713 183957 worker: -- Other
20230713 183957 worker: --
20230713 183957 worker: USB volume knob (Off)
20230713 183957 worker: USB auto-mounter (udisks-glue)
20230713 183957 worker: Saved MPD vol level (0)
20230713 183957 worker: Preamp volume level (0)
20230713 183957 worker: MPD volume level (70) restored
20230713 183957 worker: ALSA volume level (None)
20230713 183957 worker: Auto-play (Off)
20230713 183958 worker: LocalUI (On)
20230713 183958 worker: Automatic CoverView (Off)
20230713 183958 worker: On-screen keyboard (Off)
20230713 183958 worker: Library scope (all)
20230713 183958 worker: View reset to playback
20230713 183958 worker: Maintenance interval (360 minutes)
20230713 183958 worker: Screen saver activation (Never)
20230713 183958 worker: Session permissions (OK)
20230713 183958 worker: --
20230713 183958 worker: -- Startup complete
20230713 183958 worker: --
20230713 183958 worker: Mount monitor (started)
20230713 183958 worker: Watchdog monitor (started)
20230713 183958 worker: Responsiveness (Default)
20230713 183958 worker: Ready
pi@kef:~ $
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: