Code Monkey home page Code Monkey logo

usb-iso-loader's Introduction

USB Iso Loader

Description

The project aims to create bootable USB loading iso files.

Usage

  • To access help:

    ./usb-iso-loader.sh --help
    
    ./usb-iso-loader-clean.sh --help
    

    Output:

    USB Iso Loader
    
    Create Syslinux USB to load iso files
    Usage: usb-iso-loader.sh -d <DEV> -i <DIR>
           usb-iso-loader.sh -h
    
    -d, --device             device
    -i, --iso-directory      iso path
    -n, --no-color           no coloring
    -h, --help               help
    
    Attention: This script needs to root user privileges.
    
    Example:  ./usb-iso-loader.sh -d /dev/sdc -i ./Downloads
    
  • To create bootable USB on /dev/sdc loading iso files in Downloads directory

    ./usb-iso-loader.sh -d /dev/sdc -i ./Downloads
    
  • Hint: Scripts must be used with root priviledges. You can use sudo for this.

Scripts

  • usb-iso-loader.sh Main script
  • usb-iso-loader-clean-sh Clears the usb. This script can be used to clear the usb after using the main script.

Parameters

  • --device The device scripts will work on.
  • --iso-directory The directory scripts will search for the iso files.
  • --no-color Coloring is disabled with this parameter
  • --help This parameter is used to dump the help

Tested Distros

  • Arch Linux

Dependencies

Arch Linux

TODO

  • Better project name :)
  • Working isos
  • Not working isos
  • Support for large iso files
  • Using trap
  • UEFI support
  • Grub research
  • Message generalization
  • No direct call to umount
  • Checking command return values, making rollback if necessary
  • Test on several distos should be done
  • Dependency analysis necessary
  • Minimum dependency on commands

Notes

usb-iso-loader's People

Contributors

mustafagonul avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.