Page 1 of 1

GBD 11.1 - "dd operation not permitted"

Posted: Wed Aug 16, 2017 4:11 pm
by frogprince
I tried to make a bootable USB copy of the iso for GBD 11.1. Per

http://ghostbsd.org/11.1-ALPHA1

I got:

Code: Select all

dd if=GhostBSD11.1-ALPHA1-20170808-061618-mate-amd64.iso of=/dev/da5 bs=1m
dd: /dev/da5: Operation not permitted
At http://www.freebsdonline.com/content/view/666/528/ I found:
Home arrow Debugging Tips arrow dd: /dev/ad0: Operation not permitted
dd: /dev/ad0: Operation not permitted

Monday, 14 March 2011
If you get error:

dd: /dev/adN: Operation not permitted

(wherei N is drive number) this is happening because you are blocked by GEOM's
protection for the MBR of the disk drive. To solve this turn the protection off with a
sysctl variable change from console:

sysctl kern.geom.debugflags=0x10
So I ran:

Code: Select all

sysctl kern.geom.debugflags=0x10
dd if=GhostBSD11.1-ALPHA1-20170808-061618-mate-amd64.iso of=/dev/da5 bs=1m
and voila! a USB that booted and ran successfully.