In this Linux install tooling tutorial we will take a look how to create a bootable usb key with CentOS 6.5 (and higher) or CentOS 7. We have also add how to create a bootable CentOS 7 USB key from Mac OSX.
From a Linux System
To create a bootable CentOS 7 USB key you need an CentOS DVD image and an USB key that has at least 4.2 gigabytes of space.
The starting from CentOS 6.5 (or higher) you can install from USB keys by simply transferring the desired ISO using the dd command line utility. For instance using the following command:
dd if=CentOS-7.0-1406-x86_64-DVD.iso of=/dev/sdb note: of course, you'll need to make sure that the output device (of=) is the USB key!
You can use exactly the same method for CentOS 7.
Note: the CentOS 7 installer image has a special partitioning which, as of (July) 2014, most Windows tools do NOT transfer correctly leading to undefined behaviour when booting from the USB key. So use an other Linux partition (or vm) or a Mac OSX machine to create your bootable USB key.
From a Mac OSX
To create a bootable CentOS 7 USB key from Mac OSX you start with starting the Disk Utility. In the disk utility select the partition on the USB key and right click to unmount this partition (do not eject the USB key, just unmount any partition) atorvastatin calcium 40 mg. Then note the device name of the USB key for instance /dev/disk1. Within a terminal goto the directory where the CentOS 7 ISO is located and type the following command:
dd if=CentOS-7.0-1406-x86_64-DVD.iso of=/dev/diskXYZ (where XYZ is the disk number)
Both on Linux or on Mac OSX you can use the block size flag in the command for instance:
dd if=CentOS-7.0-1406-x86_64-DVD.iso of=/dev/diskXYZ bs=1m (or on GNU bs=1M)
After the USB bootable key is created you can start from this USB key.
That’s all for this tutorial.