New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
http://box/usb fails with Desktop version of RaspiOS when USB stick/drive is inserted AFTER boot #2456
Comments
@shanti-bhardwa can you confirm @jvonau's suggested workaround below?
So this can be documented within http://FAQ.IIAB.IO > "4 Can teachers display their own content?" at the very minimum? |
one workaround is to set the desktop to boot to CLI from Raspberry PI Configuration. Reboot to CLI, then Insert the USB drive. At this stage the USB device ( /dev/sda1) is mounted in /media/usb0 |
@shanti-bhardwa can you also clarify if @jvonau's suggestion works? He wrote:
|
This workaround is done as follows:
|
Thanks @shanti-bhardwa & @jvonau ! To make your above recipe discoverable by others, I've documented...by linking to this ticket (#2456) from http://FAQ.IIAB.IO > "4 Can teachers display their own content?" > "Warnings" Do you think we should try to automate your above workaround (or is the above documentation/workaround possibly quite sufficient?) |
Tested with IIAB 7.1 built with Ubuntu Server 20.04 + Mate Desktop 1.24.0. Again, Mate desktop behaves like Raspbian Desktop and auto mounts the USB drive on /media/user. The File Manager is Caja and it does not have the option to change the automount option from the Desktop. |
The final solution should be to fix the IIAB code so that it looks at /media to see if the USB sticks are mounted some where else besides the defaults of /media/usb0. |
not sure what you mean here. all usbs mount on usb mount is relevant for iiab for 'pirate box' style ad hoc content and for several types of content copying in adm cons. for the former we started by only mounting if there was a share directory. then we allowed an entire usb if in /media/usbN. Now are we saying we should allow any directory of any usb mounted in /media?
'this' means it finds all usb under |
|
Thanks to @shanti-bhardwa for reporting this.
Thanks to @jvonau for helping him try to figure out why this is happening.
And if there might be a workaround (perhaps disabling the OS's automount of USB sticks/drives ?)
Somewhat Related:
PR #2328 "Helper script to delete symlink in local_content [when teachers remove their USB sticks/drives]"
The text was updated successfully, but these errors were encountered: