Skip to content

Instantly share code, notes, and snippets.

@vyk2rr
Forked from dcuadraq/iso_to_usb.md
Created July 27, 2017 22:02
Show Gist options
  • Save vyk2rr/356f5f7dba01ba3bfda84be74476d64e to your computer and use it in GitHub Desktop.
Save vyk2rr/356f5f7dba01ba3bfda84be74476d64e to your computer and use it in GitHub Desktop.

Revisions

  1. David Cuadra revised this gist Jul 12, 2017. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion iso_to_usb.md
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,10 @@ When attenpting to install a Linux Distro, its common to download the ISO then u
    (e.g. UNetbootin, Linux Live USB Creator, Universal USB Installer, Live USB Creator) to make
    a USB bootable with the installer of the distro. This is no the recommended way.

    #Prefered method
    ### Source
    https://wiki.archlinux.org/index.php/USB_flash_installation_media

    # Prefered method
    ## On OS X
    To list USB devices
    ```bash
  2. David Cuadra renamed this gist Jul 12, 2017. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  3. David Cuadra created this gist Jul 12, 2017.
    29 changes: 29 additions & 0 deletions iso_to_usb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,29 @@
    When attenpting to install a Linux Distro, its common to download the ISO then use a tool
    (e.g. UNetbootin, Linux Live USB Creator, Universal USB Installer, Live USB Creator) to make
    a USB bootable with the installer of the distro. This is no the recommended way.

    #Prefered method
    ## On OS X
    To list USB devices
    ```bash
    diskutil list
    ```
    USB devices will appear as something like /dev/disk2 (external, physical), confirm the desired device by the SIZE if more than one.
    Unmount device (replace X with disk number)
    ```
    diskutil unmountDisk /dev/diskX
    ```
    Then, to copy the content
    ```
    sudo dd if=path/to/image.iso of=/dev/rdiskX bs=1m
    ```

    ## On GNU Linux
    To list USB devices
    ```bash
    sudo fdisk -l
    ```
    Identify device, then run next command, replacing `sdX` with devices identifier.
    ```bash
    sudo dd bs=4M if=/path/to/image.iso of=/dev/sdX && sync
    ```