Date: Fri, 10 Jul 2009 08:42:48 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: "Paul B. Mahol" <onemda@gmail.com>, John Marshall <john.marshall@riverwillow.com.au> Cc: freebsd-current@freebsd.org Subject: Re: 8.0-BETA1 bsdlabel broken? Message-ID: <0B1F6799-2FAC-4C01-A978-42E247979CAB@mac.com> In-Reply-To: <3a142e750907100433y307f9b2bya1dc54953bdf5de2@mail.gmail.com> References: <20090710042106.GC31950@rwpc12.mby.riverwillow.net.au> <fX%2BVI6m2svXk4wDqOGQ3HIesgO8@jmKTY7juey8QgiyMw1P6k9Lb4sg> <20090710071023.GB32316@rwpc12.mby.riverwillow.net.au> <20090710112631.GE32316@rwpc12.mby.riverwillow.net.au> <3a142e750907100433y307f9b2bya1dc54953bdf5de2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 10, 2009, at 4:33 AM, Paul B. Mahol wrote: >>>>> Today I had a nasty surprise when I fired up bsdlabel to >>>>> increase the >>>>> size of a swap partition. I booted the system off the 7.2-RELEASE >>>>> live >>>>> filesystem CD and its bsdlabel displayed "normal" labels. I >>>>> used the >>>>> bsdlabel off the 7.2 livefs CD to edit the label. *snip* > There is one not so trivial solution. Recreating labels with gpart(8) Well, as stated, a bsdlabel from 7.2-RELEASE does not complain. Let's not yet assume the disk label is broken and instead look at the tool. John: Can you send me the output of "gpart show da0" and "gpart show da0s1". Could you also send me (or make available for download) a binary dump of sectors 0 (the MBR), 63 and 64 (the disklabel in slice 1). If it's the tool, I'll see about fixing it... Thanks, -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0B1F6799-2FAC-4C01-A978-42E247979CAB>