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

Tags:

Comments

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

Add new comment

Filtered HTML

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <pre>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.