-
-
Save lpirola/8ba39939af0ce2b78d3668c959586c86 to your computer and use it in GitHub Desktop.
Create Linux Mint USB on Mac OS/X
This file contains 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
#! /usr/bin/env bash | |
# Insert a USB key. | |
# if needed initialize it with MS/DOS FAT and MBR | |
# Download the Mint ISO image | |
# Convert the ISO -> IMG | |
hdiutil convert -format UDRW -o linuxmint-17.3-cinnamon-64bit linuxmint-17.3-cinnamon-64bit.iso | |
# Run a diskutil list to know the device for the USB key, e.g.: /dev/disk3 | |
# then unmount the USB key: | |
diskutil unmountDisk /dev/rdisk3 #note the "r" | |
# And copy the img on it: | |
sudo dd if=linuxmint-17.3-cinnamon-64bit.img of=/dev/rdisk3 bs=1m | |
# Eject the USB key and voilà! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment