Create a bootable USB flash media drive for CentOS 7

On Mac OSX:

First go to http://isoredirect.centos.org/centos/7/isos/x86_64/ and select nearest to you source, click on it and then download image called CentOS-7-x86_64-Minimal-1611.iso

Older versions:
CentOS-7-x86_64-Minimal-1511.iso
CentOS-7.0-1406-x86_64-Minimal.iso

Open a Terminal (under Utilities)

cd Downloads

Run the following command to get the current list of devices

diskutil list

Insert your flash media

Run the diskutil list again and determine the device node assigned to your flash media (e.g. /dev/disk2)

Run

diskutil unmountDisk /dev/diskN

then execute

sudo dd if=CentOS-7.0-1406-x86_64-Minimal.iso of=/dev/diskN bs=1m

finally run

diskutil eject /dev/diskN

and remove your flash media when the command completes.

On CentOS:

Steps are similar, except you need to use capital M instead of m in the end of the command:

sudo dd if=CentOS-7.0-1406-x86_64-Minimal.iso of=/dev/diskN bs=1M

Additional info: https://wiki.centos.org/HowTos/InstallFromUSBkey

Comments

Slash in the end of the given

Slash in the end of the given URL is important as otherwise it doesn't find the right page.

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
To prevent automated spam submissions leave this field empty.