Date: Sat, 3 Jan 2009 13:58:10 -0800 From: Jos Backus <jos@catnook.com> To: Marcel Moolenaar <xcllnt@mac.com> Cc: freebsd-current@freebsd.org, freebsd-geom@freebsd.org Subject: Re: Changed names of logical disks on recent -CURRENT: part of logical disks not accessible now Message-ID: <20090103215810.GA1527@lizzy.catnook.local> In-Reply-To: <E43EBE88-12BA-4416-A584-18057D1B1DA3@mac.com> References: <3a142e750812201747o339d7298p11236bb02c7f858f@mail.gmail.com> <20081223050425.GA89448@citylink.fud.org.nz> <6D4A57D3-3F6D-43E6-9B69-95514F69C57A@mac.com> <ac42db050812231103j54087613gffad2827eba14a03@mail.gmail.com> <A3628E7B-4D26-4A1E-A537-610E59CE47BD@mac.com> <20081226080146.GB25406@dragon.NUXI.org> <20081227191223.GB31177@lizzy.catnook.local> <9F29EF5C-B4FD-4273-8BE9-C134B983A1E1@mac.com> <20090101031634.GD64075@lizzy.catnook.local> <E43EBE88-12BA-4416-A584-18057D1B1DA3@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090103215810.GA1527>