Shell Script: Create Linux Bootable USB Sticks

This may come handy, from the project page:

Mk-boot-usb is a perl script to create multiple-bootable usb sticks (usb keys / usb flash drives). It wipes out an entire usb stick, partitions it, creates file systems on it, installs grub, and installs a minimal linux on it. Mk-boot-usb is meant to speed up and lower the barrier of entry for creating bootable usb sticks. The usb stick will immediately become bootable (using the minimal linux), and more useful distributions can then be installed into other partitions manually simply by (1) copying any Live CD into each partition (2) modifying grub’s configuration file.

=> Mk-boot-usb: a Script to Create Multiple-Bootable USB Sticks

Related: How to Create Bootable Linux CD


🐧 Get the latest tutorials on Linux, Open Source & DevOps via RSS feed or Weekly email newsletter.

🐧 2 comments so far... add one


CategoryList of Unix and Linux commands
Disk space analyzersdf ncdu pydf
File Managementcat cp mkdir tree
FirewallAlpine Awall CentOS 8 OpenSUSE RHEL 8 Ubuntu 16.04 Ubuntu 18.04 Ubuntu 20.04
Network UtilitiesNetHogs dig host ip nmap
OpenVPNCentOS 7 CentOS 8 Debian 10 Debian 8/9 Ubuntu 18.04 Ubuntu 20.04
Package Managerapk apt
Processes Managementbg chroot cron disown fg jobs killall kill pidof pstree pwdx time
Searchinggrep whereis which
User Informationgroups id lastcomm last lid/libuser-lid logname members users whoami who w
WireGuard VPNAlpine CentOS 8 Debian 10 Firewall Ubuntu 20.04
2 comments… add one
  • joydev Apr 8, 2008 @ 13:26

    want shell script

  • Winston Jun 16, 2008 @ 5:00

    I want something close to this on a thumb drive using Linux:

    http://www.splashtop.com/

    I’d like to see a script with a specific option to easily install (for Linux ignorants like me) an absolutely minimal OS _tailored for the PC_ that the flash device is attached to during the installation. Apps to install would be _individually_ selected from a list and the resulting desktop appearance would be as similar as possible to the one presented by SplashTop without violating copyrights (if that needs to be a consideration) with icons for the individual apps sized to occupy their portion of the entire desktop (i.e. large icons). An icon to continue the boot to the PC’s main OS would also be on the desktop (or however SplashTop implements this).

Leave a Reply

Your email address will not be published.

Use HTML <pre>...</pre> for code samples. Still have questions? Post it on our forum