Skip to content
s0litonPublic

About

Turn a Cardputer Zero into a USB drive that can present any bootable disk image

Topics

Resources

Stars

17 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

Mountable

Turns a Cardputer Zero into a dynamic USB drive that can present any disk image. You can add your own images to your SD card or download from the provided list of image sources. It mounts your image as a USB drive or emulates a CD drive for older equipment. If you need to transfer additional files, you can enable a "files" USB drive that mounts alongside your image for your drivers, keys, apps, whatever really.

Features

  • Mount ISOs and raw disk images as a USB disk or CD-ROM, read-only or writable
  • Download images from a built-in and growing catalog, verified by SHA-256
  • Mounts and downloads keep running after you leave the app
  • On-screen guidance when the Host/Slave switch is in the wrong position

Screenshots

Home screen Connection page with a mounted image Image catalog

Speed

Expect reads of about 20 MB/s, roughly what an ordinary USB 2.0 flash drive gives. Reading a whole 6 GB image takes about five minutes, but a live boot only reads the parts it needs.

The limit is the microSD card, not the USB port. A PC read an image from Mountable at 21.9 MB/s, and reading the same image directly on the device gave 20.4 to 20.7 MB/s. USB 2.0 drives usually manage 30 to 40 MB/s.

Writes, to a writable image or the files drive, also go to the microSD card and are limited by it.

Install

The easiest way to get started is to download it from the Cardputer Zero store. The shortcode is MTBL.

Each release has two packages on the releases page:

  • mountable_<version>_arm64.deb is the store build. Controlling the USB port needs administrator rights, so the app asks for the device password when it opens.
  • mountable-full_<version>_arm64.deb is the root build. It installs the service to run all the time as root, so no password prompts.

To install a downloaded package on the device:

sudo apt install ./mountable_<version>_arm64.deb

To remove it:

sudo apt remove mountable

Removing the app leaves your images in /srv/mountable.

Use

You will need to switch your Cardputer Zero into USB device mode. If you look at the USB-A port on the left side of the device, there is a tiny little switch above the port. Flip it towards the top of the device. This is REQUIRED.

Place your own images in /srv/mountable/images or just download them from the provided catalog.

Access

Mountable is for the device's administrators. The app can be used by members of the sudo group and by whoever typed the password to start it, and members of the sudo group can copy images into /srv/mountable/images.

Other operating systems

Mountable needs the USB port in device mode, which Raspberry Pi OS and images based on it leave off. The app says so on its home screen. To turn it on, add this line under [all] in /boot/firmware/config.txt and restart:

dtoverlay=dwc2

License

Mountable is free software under the GNU General Public License, version 3. See LICENSE.

About

Turn a Cardputer Zero into a USB drive that can present any bootable disk image

Topics

Resources

Stars

17 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages