Last active
January 27, 2017 18:49
-
-
Save sdeluce/1fc6281d6ab70688ff93ded5a60286c4 to your computer and use it in GitHub Desktop.
Création d'un clef usb bootable via OsX en Cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# convertir l'iso en img | |
hdiutil convert -format UDRW -o ~/path/to/target.img ~/path/to/mint.iso | |
# Convertir l'img dmg en img | |
mv ~/path/to/target.img.dmg ~/path/to/target.img | |
# Liste des périphériques | |
diskutil list | |
# Replace N by value find in list | |
diskutil unmountDisk /dev/diskN | |
# Replace N | |
sudo dd if=/path/to/target.img of=/dev/rdiskN bs=1m | |
# With the good value of N | |
diskutil eject /dev/diskN |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment