Changed names of logical disks on recent -CURRENT: part of
logical disks not accessible now
Jos Backus
jos at catnook.com
Sat Jan 3 21:57:42 UTC 2009
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.com
More information about the freebsd-current
mailing list