Disk writing utilities for FreeBSD.


New Member

Messages: 18

let me clarify immediately that I AM RUNNING FREEBSD.
DD is not working on my computer, I intend to write images to SD cards for raspberry Pi. Anyone know any good packages for Disk-writing.


Son of Beastie

Reaction score: 2,111
Messages: 3,792

If you're running FreeBSD you also have access to /bin/dd. If that doesn't work then I'd fix those problems first. However... there's always /rescue/dd, that's bound to work.

The main difference between the two is that the latter is statically linked. So even if you're missing libraries and what else that command should always work.


Well-Known Member

Reaction score: 175
Messages: 445

You can also use cat if you're just copying a binary image to the start of the device.



Reaction score: 6
Messages: 49

Well that is bizarre. I have never experienced any problems using dd on FreeBSD. Can you give us an example command of how you're using dd?


Staff member

Reaction score: 12,691
Messages: 39,288

DD is not working on my computer,
Define "not working". What exactly isn't working? It's one of the most low-level commands available and I have never seen it fail without reason.


Aspiring Daemon

Reaction score: 617
Messages: 866

let me clarify immediately that I AM RUNNING FREEBSD.
This unequaled intro is remarkable. But what does it tell us?

DD is not working on my computer
Yeah! That did not work here either:

> DD
DD: Command not found.

Having digested this thread I fixed DD with alias DD 'echo "disk destroyed!"'.
Be advised that this workaround does not survive a reboot. :)



Reaction score: 401
Messages: 1,255

DD is not working on my computer
Check to see where the card appears. Type dmesg to find out. DD is a fundamental command on most operating systems and is very unlikely to not work unless you got the command wrong - probably by not having the output destination correct. With a little information from you, we could tell you the command that WILL work.

PS, I have written many RPi SD images on my FreeBSD system.

Edit to add: here is an example command. You have to have the /da0 part correct. Particularly notice that it is the whole disk and does not include a slice, ie. not /da0s1. Just go to the directory where you have the image file and use the one you want instead of my example. Also, could be /da1 but dmesg will tell you. And don't forget that it must be unmounted for this to work.

dd bs=4M if=2015-05-05-raspbian-wheezy.img of=/dev/da0