From owner-freebsd-sysinstall@FreeBSD.ORG Thu Aug 29 21:25:18 2013 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7D546619 for ; Thu, 29 Aug 2013 21:25:18 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5377E2A73 for ; Thu, 29 Aug 2013 21:25:17 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MSB00C00A25N500@smtpauth2.wiscmail.wisc.edu> for freebsd-sysinstall@FreeBSD.org; Thu, 29 Aug 2013 16:25:10 -0500 (CDT) X-Spam-PmxInfo: Server=avs-2, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.8.29.211516, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (172-12-164-50.lightspeed.wlfrct.sbcglobal.net [172.12.164.50]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MSB00MCIA5XXY50@smtpauth2.wiscmail.wisc.edu>; Thu, 29 Aug 2013 16:25:10 -0500 (CDT) Message-id: <521FBC34.4070604@freebsd.org> Date: Thu, 29 Aug 2013 14:25:08 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130811 Thunderbird/17.0.8 To: Warren Block Subject: Re: Bug in bsdinstall (fs found where not present) References: In-reply-to: X-Enigmail-Version: 1.5.1 Cc: freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 21:25:18 -0000 On 08/29/13 14:04, Warren Block wrote: >> From a 9.2-PRERELEASE snapshot, go into the shell, create a GPT disk > layout with a bunch of partitions for filesystems and swap. Exit the > shell and run the installer. > > Go through each partition setting a mount point. Tell bsdinstall to > continue. It reports that the / partition has a preexisting > filesystem (it does not, in fact; this disk had a mishmash of MBR and > NTFS on it). > > Tell bsdinstall to continue anyway. It does, and then reports that it > can't mount /dev/ada0p2 on /mnt, presumably because, contrary to the > misleading and incorrect error message, there is no filesystem on there. > > The install fails, try again, entering all the mount points, and it > will fail the same. > > Short term solution: newfs the / partition, so there really is a > filesystem there for bsdinstall to detect and warn about. Then it works. bsdinstall has no way to detect whether or not you already have UFS in a freebsd-ufs file system. It assumes, when not given contrary information, that a partition that exists is initialized. There does not seem to be a way around this. If you have any ideas, those would of course be helpful. -Nathan