Create Bootable USB key from ISO on Linux | Drupal 8

Create Bootable USB key from ISO on Linux

Submitted by editor on Tue, 11/28/2017 - 19:15

How to create a bootable USB key from ISO image on linux command line ?

To create a bootable USB memory on linux you have several solutions. The famous dd is the most powerful solution, but use carefully. Because a very small error may destroy all your data.

1. Fiend the USB device name using lsblk ( or disk utility GUI).
$ lsblk
sda                  8:0    0 465,8G  0 disk  
├─sda1               8:1    0     1M  0 part  
├─sda2               8:2    0    16M  0 part  
├─sda3               8:3    0   853M  0 part  /boot/efi
├─sda4               8:4    0  19,5G  0 part  /
├─sda5               8:7    0   4,1G  0 part  [SWAP]
sdb                  8:16   1   960M  0 disk  
└─sdb1               8:17   1   959M  0 part  /media/me/3377-46AF

Here, the usb device name is sdb , so the path is /dev/sdb

2. Copy ISO file using dd.

The syntax is : $ dd if=PATH_TO_ISO_FILE of=/dev/sdX
Example : $ dd if=os/linux-mint-18.iso of=/dev/sdb

Note : usually you must do it as root or use sudo

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.