Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Create Bootable USB key from ISO on Linux

By editor , 28 November, 2017
Question

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).
Ex:
$ lsblk
NAME               MAJ:MIN RM   SIZE RO TYPE  MOUNTPOINT
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

Tags

  • Linux
  • Utility
  • Shell

Comments

Plain text

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

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer