On Sat, Jan 03, 2009 at 08:30:08AM -0800, Marcel Moolenaar wrote: > "dd if=/dev/zero of=/dev/ad0 count=1 oseek=1" is what you > need. As you say, the BSD disklabel lives in the slice, > so the one in sector 1 (counting from 0) is the stale one > and the one preventing you from booting. lizzy:~# dd if=/dev/zero of=/dev/ad0 count=1 oseek=1 dd: /dev/ad0: Operation not permitted lizzy:~# sysctl kern.geom.debugflags=16 kern.geom.debugflags: 0 -> 16 lizzy:~# dd if=/dev/zero of=/dev/ad0 count=1 oseek=1 1+0 records in 1+0 records out 512 bytes transferred in 0.000164 secs (3121343 bytes/sec) lizzy:~# does the trick. Thanks Marcel! -- Jos Backus jos at catnook.comReceived on Sat Jan 03 2009 - 20:57:42 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:39 UTC