#USB SD CARD Mount Raspberry PI Ver 4B - Clone Image Help
1 messages · Page 1 of 1 (latest)
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
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.
like polugged into a USB port? I'd usually use USB reader
👍
So, there's no real direct method of getting a USB SD Card mounted (plus automatically) on the Raspberry PI???
no you have to use the mount command but that should carry over on reboots I think
mount doesn't work until the drive is able to be located via lsusb or lsblk or blkid - it won't show up automatically
did you check via ls?
No
You have to put an appropriate entry into the fstab to make a mount permanent
I recall it caryying over on orangepi boards, not so much on Arch though
No
The mount command is always transient
While it's techincally possible to change out the mount command so it would "store things permanently" (like having it change fstab), I have literally never seen a linux distro that does this. And it would be some amount of madness to do so, changing up something that has worked in the same way everywhere since forever.
Does anyone know if usbmount works? I tried it - no luck (yet).
whats's the actual goal here?
Sounds like he's trying to get a usb sd card reader recognized with a card in it
That's not a goal.
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
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.
I guess we have philosophical differences in how we view the pi. To me, a pi which is in my printer is a single purpose device, not a general computing device. As such, the use of an sdcard is NOT intuitive at all. (Unless there's a specific need, such as sneaker-net transfers of gcode files)
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
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.
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.
Honestly nothing else is going to matter until you resolve the " usb port cannot enable" stuff
You can see the all of that low level stuff from sudo dmesg, without having to mess with usb mount, fwiw
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
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.