#USB SD CARD Mount Raspberry PI Ver 4B - Clone Image Help

1 messages · Page 1 of 1 (latest)

flat nova
#

Hello,
I've done some searches - but - what's the best way to mount a USB SD Card to the Raspberry PI? I've tried plugging it an an it's not being recognized.
Thanks in Advance,
John

tawdry owl
#

I'd check the SD card reader and the filesystem. If you used windows' partition manager neither of the filesystems are usable in linux without drivers

flat nova
#

Hello @tawdry owl - I took the SD Card out of the PI and just did a manual clone to a larger SD card - that worked. But, I still want to figure out how to get a USB SD Card mounted... but the goal here (originally) was to get a larger SD Card working.

tawdry owl
flat nova
#

👍

flat nova
#

So, there's no real direct method of getting a USB SD Card mounted (plus automatically) on the Raspberry PI???

tawdry owl
flat nova
#

mount doesn't work until the drive is able to be located via lsusb or lsblk or blkid - it won't show up automatically

tawdry owl
#

did you check via ls?

candid isle
#

You have to put an appropriate entry into the fstab to make a mount permanent

tawdry owl
candid isle
#

The mount command is always transient

plain rivet
flat nova
#

Does anyone know if usbmount works? I tried it - no luck (yet).

candid isle
tawdry owl
candid isle
#

The goal is like...using an sdcard to copy gcode onto the machine or something

#

And understanding the goal might influence what tool I suggest using to solve the problem

flat nova
#

Original goal was doing image of what's running on the Voron. Additional goal(s) are numerous - it appears obvious to me to be able to mount an SD Card on any computer has obvious uses.
I got remote desktop working - that was a goal too. #1364698966372913162 message

#

I'm seeing this with usbmount:
Apr 25 16:58:49 raspberrypi kernel: [ 817.748187] usb 1-1-port1: attempt power cycle
Apr 25 16:58:51 raspberrypi kernel: [ 818.915216] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
Apr 25 16:58:52 raspberrypi kernel: [ 819.768326] usb 1-1-port1: Cannot enable. Maybe the USB cable is bad?
Apr 25 16:58:52 raspberrypi kernel: [ 819.768842] usb 1-1-port1: unable to enumerate USB device
Same USB cable works just fine with the USB shaper dongle I have used.

candid isle
#

Now, if you're treating the pi as more general purpose computing device, then you probably have a general purpose desktop on it. (As seen in your remote desktop screenshot)

#

The interesting thing about that is, as far as I know, if you're running the pi desktop....usb/sd devices should just show up, similarly to how the appear in windows or mac. You should not need any special tools such as usbmount

#

Combine that with the messages you posted from usbmount there, and I think there is something else going on, along the lines of the sdcard reader not initializing properly or something

#

Might be interesting to run it through a hub, see if that gets it to behave any better

plain rivet
# candid isle The interesting thing about that is, as far as I know, if you're running the pi ...

IIRC there is some kernel udev configuration magic so that when a new hardware device appears (USB and some other kinds) it runs a specified script, and can be filtered by device class or id (using different scripts for different things). I don't see a reason why the exact same thing wouldn't run in "non-desktop" raspbian (or whatever the OS may be), it's just something that usually comes with the desktop install and not with the server/lite one, but I'd be surprised if it can't fairly easily be installed separately.

flat nova
#

Tried a hub - same results. Yes, I've seen the udev stuff and have tried that - no luck thus far even though there are numerous posts out there claiming it 'works' - WFYNFM - 'works for you - not for me' type of thing.
Thanks for the help and discussion.

candid isle
#

You can see the all of that low level stuff from sudo dmesg, without having to mess with usb mount, fwiw

flat nova
#

https://forums.raspberrypi.com/viewtopic.php?t=245931 - this thread has some good stuff but I'm still getting the same message ultimately - and when I run dmesg - I see this:
dmesg | grep usb-storage
... [ 1.565230] usbcore: registered new interface driver usb-storage - using the usb-storage.quirks=096E:085B:u pointed out above

plain rivet
#

Based on the timestamp (which is seconds since boot), that message is probably something that happens during startup and not when you're plugging the device in.