osx - How to use PipeViewer(pv) on Mac OS with dd -
i'm trying copy .img of ubuntu 14.04.1 bootable usb using command sudo dd if=~/documents/targetubuntu.img of=/dev/rdisk1 bs=1m
it's taking long , can't see progress. i'm trying use pv using command sudo dd if=~/documents/targetubuntu.img | pv | dd of=/dev/rdisk1 bs=1m
im getting error: dd: /dev/rdisk1: permission denied
. if do ctrl-c in first scenario taking long tells me copied on x amount of bytes in x secs , that's it. when try boot usb, says "isolinux.iso missing or corrupt". want make sure file copying on , want using pv check progress, keep getting error. solutions?
i suspect because sudo being used first command in pipe, using dd read image file. see answer on over unix se
or can try instead like: sudo "pv -tpreb myubuntu.img | dd of=/dev/sdc
Comments
Post a Comment