Skip to content

Use your mobile device to boot Linux distributions/ISO files on your PC

License

Notifications You must be signed in to change notification settings

nitanmarcel/isodrive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

isodrive (configfs)

Building

  • sudo apt install build-essential

  • git clone https://github.com/nitanmarcel/isodrive

  • cd isodrive

  • make

  • sudo make install (optional)

Usage

Usage:
isodrive [FILE]... [OPTION]...
Mounts the given FILE as a bootable device using configfs.
Run without any arguments to unmount any mounted files and display this help message.

Optional arguments:
-rw		Mounts the file in read write mode.
-cdrom		Mounts the file as a cdrom.
-configfs	Forces the app to use configfs.
-usbgadget	Forces the app to use sysfs.

Examples

mount iso as rw

isodrive /path/to/file.iso -rw

mount iso as cdrom

isodrive /path/to/file.iso -cdrom

Linux

  • Has been only tested on Halium based mobile linux, but should work on mainline devices too.

Android

  • On Android can be compiled in termux, using clang++
  • On Android you might manually need to mount configfs by running: mount -t configfs configfs /sys/kernel/config
  • A magisk module is also available for download HERE

Os Support

  • Should support almost every bootable OS images, but for those who don't work or need extra steps, are documented in the WIKI

Credits

Inspired by https://github.com/fredldotme/ISODriveUT