Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2009 08:22:03 -0700
From:      Ted Faber <faber@isi.edu>
To:        Dimitry Andric <dimitry@andric.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: RELENG_8 regression: cannot detect partitions (now with boot -v)
Message-ID:  <20090923152203.GC27328@zod.isi.edu>
In-Reply-To: <20090922184700.GE38036@zod.isi.edu>
References:  <20090921201903.GB52169@zod.isi.edu> <20090922041055.GA29399@zod.isi.edu> <4AB8AB12.7010406@andric.com> <20090922151441.GA38036@zod.isi.edu> <4AB90D2B.30801@andric.com> <20090922184700.GE38036@zod.isi.edu>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, Sep 22, 2009 at 11:47:00AM -0700, Ted Faber wrote:
> On Tue, Sep 22, 2009 at 07:45:15PM +0200, Dimitry Andric wrote:
> > On 2009-09-22 17:14, Ted Faber wrote:
> > > That's the USB disk label I was using to get the boot from.  The slices
> > > on ad0: /dev/ad0s1a /dev/ad0s1d and /dev/ad0s1e are the ones I don't
> > > see.
> > 
> > Just checking. :)  Can you run (from a rescue disk or 7-STABLE):
> > 
> >   dd if=/dev/ad2 count=4 2>/dev/null | hexdump -C
> > 
> > and post the output here?  Output of fdisk and bsdlabel would also be
> > handy.
> 
> The bsdlabel and fdisk were attached to the first message, but I've
> attached them here as well, along with the output of 
> 
> $ dd if=/dev/ad0 count=4 2>/dev/null | hexdump -C
> 
> from the running 7.2 install.  7.2 finds the disk as ad0 not ad2.
> 
> I've also gotten a pointer to this message, which sounds a lot like my
> problem:
> 
> http://docs.freebsd.org/cgi/getmsg.cgi?fetch=774931+0+archive/2009/freebsd-current/20090118.freebsd-current
> 
> I'm planning to save that sector and then try erasing it as the message
> suggests when I get access to the machine tonight.  If the output from
> the dd above will confirm that diagnosis, that would be great.  I don't
> know what a stale disklabel looks like, myself...

Just for the record, clearing the disk label as described above solved
the problem finding partition tables.

-- 
Ted Faber
http://www.isi.edu/~faber           PGP: http://www.isi.edu/~faber/pubkeys.asc
Unexpected attachment on this mail? See http://www.isi.edu/~faber/FAQ.html#SIG

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkq6PRsACgkQaUz3f+Zf+XupZACg0pH1aGfQxeFiugfRT2JAP777
WAMAn0B3LaVn37fNFF2Z/D/y/uavU7Mn
=t65W
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090923152203.GC27328>