Giter VIP home page Giter VIP logo

grubs's Introduction

GRUBS Reanimated USB Boot Stick

GRUBS is a shell script for transforming removable USB storage into a dual-purpose device that is both a storage medium usable under Linux, Windows, and Mac OS and a GRUB boot device capable of loopback mounting Linux distro ISO files.

Depends: grub2, bash, sudo, rsync

Synopsis

grubs.sh [ options ] USB_DEVICE_PARTITION

Example: Prepare a USB storage device partition identified as /dev/sde1 ...

$ ./grubs.sh sde1

Usage

0. Download Linux distro image (ISO) files and place in boot/iso.

1. Copy boot/grub/grub.cfg.sample to boot/grub/grub.cfg and write entries for the ISO files to be copied to the USB device. To use the sample entries will require separately downloading the matching ISO files. For other ISO files, please note that each Linux distro is a bit different in the manner its booted by GRUB and may require a bit of research. This post on boot entries for a number of distributions on the Arch Linux Wiki might prove helpful.

2. Run program!

3. Reboot. Configure the BIOS to accept removable USB storage as boot device. Reboot and GRUB displays a menu of the Linux distros installed on the USB device. Launch and enjoy!

When finished, simply reboot and return to using the USB device as a VFAT-formatted storage medium.

For more details: Transform a USB stick into a boot device packing multiple Linux distros

Happy hacking!

Author

Daniel Wayne Armstrong (aka) VonBrownie

License

GPLv2. See LICENSE for more details.

grubs's People

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.