Got a ISO file and wanna make a bootable USB drive with it ? YOU ARE ON THE RIGHT PLACE. This simple how-to guide will help you to create for bootable pendrive. You can follow this method to make bootable USB pendrive of Windows operating systems, Linux operating systems, and all other ISOs. THIS METHOD SIMPLY CREATE BOOTABLE USB FROM ISO FILE MAC in 3 commands. It works on all the Mac OS X versions like Mountain lion, Mavericks, Yosemite, etc.
Convert the .iso file to .dmg
Its a very simple and quick process. First copy the .ISO file to your desktop. And then open the Command Terminal window and follow the below 2 commands. First command will make Desktop as the current working directory. Second command will convert the .iso file from the desktop and save the converted file and save on the desktop.
hdiutil convert -format UDRW -o <converted DMG file name> <source .iso file name>
Eg: hdiutil convert -format UDRW -o Converted-windows Windows.iso
[Note: a file named Converted-windows.dmg will create on Desktop]
Clean your USB Pendrive
Run the below command to list all the connected physical disks to your MAC. Including your Mac Hard disk and USB pendrives.
And find your USB pend rive name from the command output. Find your pendrive by checking the “SIZE” easily. (my pendrive name is /dev/disk2 ) Now run the command below to clean your Pendrive.
diskutil partitiondisk <USB disk location> 1 “Free Space” “unused” “100%”
Eg: diskutil partitiondisk /dev/disk2 1 “Free Space” “unused” “100%”
Copy and Create bootable USB from ISO file Mac (now from .DMG)
Now copy all the contents in the DMG file to the Pendrive. Follow the below command to copy files and make it bootable.
sudo dd if=converted.dmg of=<USB disk location> bs=1m
Eg: sudo dd if=Converted-windows.dmg of=/dev/disk2 bs=1m
Now you are all done. Your Pendrive is now ready to boot and install all your stuff. Don’t forget to hit like and post your feedbacks as comments.
Are you looking for creating a latest Yosemite bootable USB ? Read about How to create OSX Yosemite USB installer