Skip to content

Instantly share code, notes, and snippets.

@alokm
Last active October 27, 2018 16:35
Show Gist options
  • Save alokm/9253d1dd08422756ae64a4bdd50622f0 to your computer and use it in GitHub Desktop.
Save alokm/9253d1dd08422756ae64a4bdd50622f0 to your computer and use it in GitHub Desktop.
How to make a bootable usb from iso in Linux

source: https://wiki.manjaro.org/index.php?title=Burn_an_ISO_File#Writing_to_a_USB_Stick_in_Linux

Writing to a USB Stick in Linux

Using the Terminal

To burn the iso on an usb stick, enter the following command in a terminal :

sudo dd bs=4M if=/path/to/manjaro.iso of=/dev/sd[drive letter] status=progress

Where [drive letter] is the letter of your removable device. Please note that it is the device (e.g. /dev/sdb), and not the partition number (e.g. /dev/sdb1).

To find which drive letter it might be write:

sudo fdisk -l Warning:

Not all ISO are isohybrid ! However you can create isohybrid ISO. If you use very old hardware and rare, may not support isohybrid. Isohybrid created for UEFI should work with “Legacy mode”, without support UEFI not will work on UEFI. Before use USB stick check Bios/UEFI settings, USB should start first. If isohybrid not working for you with uefi, try create isohybrid for own use without this option.

How you can check ISO fdisk -l

Example: $ fdisk -l manjaro-mate-15.12-x86_64.iso Disk manjaro-mate-15.12-x86_64.iso: 7,5 GiB, 8006074368 bytes, 15636864 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x00000000

$ fdisk -l manjaro-xfce-16.08-x86_64.iso

Disk manjaro-xfce-16.08-x86_64.iso: 1,5 GiB, 1561657344 bytes, 3050112 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0x06c2dccb . Device Boot Start End Sectors Size Id Type manjaro-xfce-16.08-x86_64.iso1 * 0 3050111 3050112 1,5G 0 Empty manjaro-xfce-16.08-x86_64.iso2 224 63711 63488 31M ef EFI (FAT-12/16/32) Isohybrid have 2 partitions, you can check also with gparted after burn the iso on an usb stick.

How create isohybrid isohybrid -v /path/to/name.iso or for UEFI isohybrid –uefi -v output.iso More in http://www.syslinux.org/wiki/index.php?title=Isohybrid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment