Date: Tue, 3 Apr 2012 17:12:29 -0400 From: Robert Simmons <rsimmons0@gmail.com> To: hackers@freebsd.org Subject: Re: gpart and it's EBR confusion Message-ID: <CA%2BQLa9CNZ7nSyVJTdB5iSwy11TymX26Z26UUQmPou3=NjNtsYQ@mail.gmail.com> In-Reply-To: <20120403.194643.926.1@DOMY-PC> References: <20120403.194643.926.1@DOMY-PC>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 3, 2012 at 3:46 PM, <rank1seeker@gmail.com> wrote: > 9.0 R i386 > > EBR scheme never installed > > md0s3 has BSD labels scheme > ---- > # gpart destroy -F md0s3 > md0s3 destroyed > > # gpart create -s BSD md0s3 > gpart: geom 'md0s3': File exists > > # gpart show -p md0s3 > =3D> =A0 =A0 =A00 =A01023120 =A0md0s3 =A0EBR =A0(499M) [CORRUPT] > =A0 =A0 =A0 =A00 =A01023120 =A0 =A0 =A0 =A0 - free - =A0(499M) > ---- > > > During one of above tasks, on main console kernel outputs: > -- > GEOM: md0s3: invalid entries in the EBR ignored. I've had a similar problem, but with "gpart destroy" and a GPT partition. If I create a GPT partition on a disk then for some reason begin an install process again by rebooting and starting from the beginning of bsdinstall I am unable to destroy the old partition scheme. I encountered this with sysinstall and 8.0-8.2 as well. The workaround that I found is to use "dd" rather than "gpart destroy". Just dd the drive or part of drive in question from /dev/zero or /dev/random and everything is a clean slate.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BQLa9CNZ7nSyVJTdB5iSwy11TymX26Z26UUQmPou3=NjNtsYQ>