Bootable USB drive

Print Friendly, PDF & Email

I wanted to make a bootable USB drive to install Linux (CentOS 6.6) on a PC.  I downloaded the CentOS .iso file using Bittorrent, but then I needed to write it onto the USB drive. My office machine is a Mac, so I found these directions:

http://www.ubuntu.com/download/desktop/create-a-usb-stick-on-mac-osx

Those directions worked great, except I had to think to make one small modification, which is that I don’t have to convert the .iso file to a Mac .dmg file.  So the key steps are:

Insert the USB drive, which will then automatically be mounted, and then unmount it. Do the “dd” copy, and then eject the drive:

diskutil unmountDisk /dev/diskN
sudo dd if=CentOS-6.7-x86_64-bin-DVD1to2/CentOS-6.7-x86_64-bin-DVD1.iso of=/dev/disk3 bs=1m
Password:
3715+0 records in
3715+0 records out
3895459840 bytes transferred in 2268.510931 secs (1717188 bytes/sec)
diskutil eject /dev/diskN

I was shocked at how long the “dd” took. Copying a 3.6 GB iso file took well over half an hour! I think that’s longer than writing a DVD!

About CS SysAdmins

The CS Department System Administrators
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *