From owner-freebsd-current@FreeBSD.ORG Sat Nov 13 08:10:34 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8AE310656C1; Sat, 13 Nov 2010 08:10:34 +0000 (UTC) (envelope-from fidaj@ukr.net) Received: from fsm1.ukr.net (fsm1.ukr.net [195.214.192.23]) by mx1.freebsd.org (Postfix) with ESMTP id 5FDBA8FC22; Sat, 13 Nov 2010 08:10:34 +0000 (UTC) Received: from 62-64-132-95.pool.ukrtel.net ([95.132.64.62] helo=localhost) by fsm1.ukr.net with esmtps ID 1PHBBx-0003Xs-AG ; Sat, 13 Nov 2010 10:10:33 +0200 Date: Sat, 13 Nov 2010 10:10:32 +0200 From: Ivan Klymenko To: Garrett Cooper Message-ID: <20101113101032.04382096@ukr.net> In-Reply-To: References: <20101112204700.0f51550b@ukr.net> <20101113030930.GB57734@pcbsd.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org, Kris Moore , Kris Moore Subject: Re: Error 1: gpart create -s GPT ad0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 08:10:34 -0000 =D0=92 Fri, 12 Nov 2010 20:02:08 -0800 Garrett Cooper =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On Fri, Nov 12, 2010 at 7:09 PM, Kris Moore wrote: > > On Fri, Nov 12, 2010 at 08:47:00PM +0200, Ivan Klymenko wrote: > >> Hello! People. > >> > >> I use the alternate installer pc-sysinstall based on FreeBSD > >> 9.0-CURRENT r215176 > >> When you load the virtual machine qemu disk ad0 is determined by: > >> http://img573.imageshack.us/i/qemu1.png/ > >> but when trying to create a section displays the following error: > >> http://img80.imageshack.us/i/qemu.png/ > >> Think all options for gpart are correct - what can there be a > >> problem? > >> > >> Thanks! > > > > The gpart syntax looks correct, and ad0 is being used elsewhere in > > your install process successfully. Is this a fresh disk / image? > > Perhaps something has broken in the gpart command? >=20 > According to the gpart(8) manpage, the invocation is correct. It'd > be interesting to see what the log displayed yields, but before then > have you tried kern.geom.debugflags=3D16?=20 no. after booting the system immediately executed script pc-sysinstall now try to force the kern.geom.debugflags =3D 16 before running pc-sysinstall > I did a quick scan of > lib/libgeom and sys/geom, and all of the places (minus one) that > returned EINVAL were due to incorrect sector size. What are you using > for your disk? >=20 > Thanks, > -Garrett I'm afraid I do not quite understand the essence last question ... : ( I created a virtual disk command: qemu-img create name_disk.img 40G All the breakdown of disk partitions running script pc-sysinstall in accordance with my config file pcinstall.cfg