Comments (3)
It appears it is possible. The documentation here says using a device is supported.
https://linux-sunxi.org/USB_Gadget/Mass_storage
I will do some testing at some point and try to document the process/results here.
from gadget_cdrom.
Here are my notes from testing:
- Backup all the img and isos you placed on the storage/HDD device
- Delete /iso.img (caution: this deletes all your files that were on HDD/Storage)
- Resize your root partition - I booted into a second system with gparted - mine has 15G, and I left the rest for storage/HDD)
- Create and format the leftover partition, I used NTFS
- Put the sd card back into the pi and boot
- Inside the gadget_cdrom directory: Replace all instances of /iso.img (or "$(losetup -PLf /iso.img --show)p1") with the new partition (mine is /dev/mmcblk0p3)
- Mode.sh
- Clean.sh
- Test by rebooting the Pi or restarting the gadget_cdrom service
- Test by shutting down the Pi, removing the sd card and putting in a PC, transfer your files, eject/unmount and put back in the Pi
I was able to get an improvement in speed from 10-20M/s (through the Pi) to 90M/s (direct to PC). I am not sure this is worth the extra effort yet. For reference the card I was using is this a SanDisk 256GB Extreme MicroSDXC Micro SD - SDSQXA1-256G-GN6MA.
from gadget_cdrom.
Related Issues (9)
- ISO loading not working under macOS HOT 3
- Installation of Windows ISO not possible
- [Request] Possible Web Interface for alternative control HOT 2
- UDF related issue with the ISO files. HOT 1
- Not able to see the device on a PI Zero 2 (W) HOT 1
- Hello, Mount HDD issues HOT 2
- Ideas HOT 5
- Expand available storage upon first boot HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gadget_cdrom.