There are many programs in the market that can handle it for you. But you can do it with default Mac OS X tools. Those steps must be made in terminal. You need to know what you are doing and have root password to your system.
Here is your step by step guide to do it:
Here is your step by step guide to do it:
1. Convert your image.
You need to change the image type from .iso to .img that dd util supports. To do this type a command like this:hdiutil convert -format UDRW -o /path/to/destination/file.img /path/to/source/file.iso
Reading Image File Name Here (Apple_UDF : 0)…... [ truncated ] ............................. Elapsed Time: 4m 57.725s Speed: 20.9Mbytes/sec Savings: 0.0% created: /path/to/image/file.img.dmg
2. Remove the .dmg extension.
mv /path/to/image/file.img.dmg /path/to/image/file.img
3. Get your flash drive device name.
You can do it in various ways. one that is using standard utils here:diskutil list
$ diskutil list /dev/disk0 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *750.2 GB disk0 1: Apple_HFS Vault 750.2 GB disk0s1 /dev/disk1 #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *128.0 GB disk1 1: EFI 209.7 MB disk1s1 2: Apple_HFS Mac OS HD 127.2 GB disk1s2 3: Apple_Boot Recovery HD 650.0 MB disk1s3 /dev/disk3 #: TYPE NAME SIZE IDENTIFIER 0: FDisk_partition_scheme *16.0 GB disk3 1: DOS_FAT_32 UNTITLED 16.0 GB disk3s1
4. Unmount your flash drive.
Note you need to unmount, not eject this flash drive. Command may be like so:diskutil unmountDisk /dev/disk3
4. Write your image to flash drive.
To handle this you would use a dd utility. Note param bs=1m, indicating block size to write. Missing this parameter would force dd to run byte by byte copy, resulting run for ages with several gigs of data.sudo dd if=/path/to/image/file.img of=/dev/rdisk3 bs=1m
You may use rdisk instead of dd to add some speed to this. But this particular run was ok for me.
You may see an output like this, resulting you may eject and use your flash drive farther.
$ sudo dd if=/path/to/image/file.img of=/dev/rdisk3 bs=1m Password: 6207+1 records in 6207+1 records out 6509363200 bytes transferred in 1124.570118 secs (5788312 bytes/sec)
Hope this help somebody someday. Cheers.
Please comment and share!
This comment has been removed by the author.
ReplyDeleteTHANK YOU!
ReplyDeleteThanks!!
ReplyDeleteperfect! thank you very much
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteIve been trying for such a long time but it keeps saying dd: unknown operand HDD/Users/Daniel/Downloads/windows.img
ReplyDeleteI dont know what to do. IVe tried a lot of things. This is my full command
sudo dd if=/Volumes/Barracuda HDD/Users/Daniel/Downloads/windows.img of=/dev/disk3 bs=1m
1. Does your disk called disk3 instead of rdisk3?
Delete2. Have you doublechecked you can access that file by that path?
this may spill the light.
3. Also there is a space in path not escaped there. It may be a problem depending of the system you are using. Please escape that space. So the console would know it is not the new parameter.
There is a post that would show you how to burn an ISO to USB drive or/and copy ISO to USB flash drive for data storage only, rather than creating ISO to bootable USB flash drive:
ReplyDeletehttp://www.leawo.org/tutorial/burn-iso-to-usb-drive.html