Ordinary Technology

Install iso on USB key using #Linux console only

November 8, 2018

How to flash any iso (think about your favorite distro) on an USB key without graphical IHM ?

sudo dd if=/path/to/image.iso of=/dev/sda status=progress

How to know wich device to use ?

Before inserting the key, type in your terminal :

dmesg -Tw

Everything happening on your Linux is traced on screen. Now, insert your key and check for this sort of lines :

ven. janv. 26 15:11:34 2018] sda: sda1
[ven. janv. 26 15:11:34 2018] sd 2:0:0:0: [sda] Attached SCSI removable disk

Yours may be sdb or sdc, etc… Take the good one and place it in the command above :-)