On a Mac it’s available in Homebrew ( brew install pv) and Macports ( port install pv). Then I discovered a lovely utility called pv, which stands for Pipe Viewer. Using the buffered device file instead ( /dev/disk n) it took a full 30 minutes to write a 650MB image… and even then, when I pulled the card and put it in my Raspi, somehow it still booted the old OS that was on there before. For some reason it refused to write to the raw disk device ( /dev/rdisk n), even though there were no active mounts. On my Mac I found using dd to write a Raspi boot image to an SD card to be very slow and unreliable. You have no idea how fast it’s going or how long it’s going to take, until it eventually finishes and tells you how many blocks came in and went out – and even that minimal information is presented in a rather obscure format. It has an arcane syntax that’s completely different to every other unix command, and its screen output is spectacularly unhelpful. The standard way of writing an SD card image for a Raspberry Pi (or any other purpose that requires writing a whole disk image to the card) from any unix-like system (eg Linux or Mac OSX) is to use the venerable dd(1) utility.ĭd has been around, basically unchanged, since the dawn of time.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |