Friday, April 13, 2012

FreeBSD: dd operation not permitted. Huh?

Yes, I've done lots of dd's in FreeBSD including in the present FreeBSD 9.0-RELEASE.
So, when I tried it today and got an Operation Not Permitted error I was puzzled.
OK, if you're curious, the exact command I ran was:

# dd if=haiku-nightly-anyboot.image of=/dev/da0 bs=1M
Luckily, a quick google gave me this short post which fully explauned the problem and, more importantly, suggested the solution which is to run this command
sysctl kern.geom.debugflags=0x10
Worked perfectly for me.

No comments:

Post a Comment