Created
December 10, 2016 16:40
-
-
Save samgooi4189/5127bbf5af92c76cf37f8d23bc4ec511 to your computer and use it in GitHub Desktop.
create linux bootable usb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Usage: | |
# ./createBootableUSB.sh /path/to/distro.iso /dev/sdX | |
sudo apt-get update | |
sudo apt-get install syslinux syslinux-utils --y | |
sudo umount $2 | |
isohybrid $1 --entry 4 --type 0x1c | |
sudo dd bs=8M if=$1 of=$2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment