[MACOS] Command "dd"
1.Unmount the Volume
2.For OS X, use /dev/rdisk2.
For some reason rdisk is faster than disk. I believe it has to do with buffers.
Also in general using the bs flag with dd helps with speed.
or
conv=sync (optional)
3.After the dd command finishes, eject the usbstick:
diskutil list
...
sudo diskutil umount /Volumes/NO\ NAME/
2.For OS X, use /dev/rdisk2.
For some reason rdisk is faster than disk. I believe it has to do with buffers.
Also in general using the bs flag with dd helps with speed.
sudo dd if=xxx.usb of=/dev/rdisk2 bs=1048576
or
sudo dd if=xxx.usb of=/dev/rdisk2 bs=1m
the units must be in lower case letters (1m).or
conv=sync (optional)
sudo dd if=xxx.usb of=/dev/rdisk2 bs=1m conv=sync
3.After the dd command finishes, eject the usbstick:
sudo diskutil eject /dev/disk2
Comments
Post a Comment