bash-tutorial/tutorial/dd_command_flash_usb.org

24 lines
590 B
Org Mode

#+options: toc:nil num:nil author:nil
** Flashing USB with "dd"
~dd~ is a command to convert and copy a file. It is useful to copy information from a
disk.
It can be used to create bootable USB.
Let's say that you need to create a 'live' usb to install or repair a GNU-linux system.
An example with parabola:
* First, obtain a ISO image:
https://wiki.parabola.nu/Get_Parabola
* Then, open a shell and use the command
#+begin_example sh
sudo dd if=/home/user/Documents/parabola-2016.11.03-dual.iso of=/dev/sdb1
#+end_example
The ISO image is copied to "sdb1" (USB volume)