From owner-freebsd-questions@FreeBSD.ORG Thu Feb 14 17:34:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D2637ED4 for ; Thu, 14 Feb 2013 17:34:13 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 2D75717C for ; Thu, 14 Feb 2013 17:34:12 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r1EHYBYa003966 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 14 Feb 2013 11:34:11 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.02.0309.002; Thu, 14 Feb 2013 11:34:11 -0600 From: "Teske, Devin" To: Rick Miller , FreeBSD Questions Subject: RE: about unatteneded installation Thread-Topic: about unatteneded installation Thread-Index: AQHOCs7NQF2z0ZSzGUCJvYOAt9RxMJh5kAN7 Date: Thu, 14 Feb 2013 17:34:10 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EA962E@ltcfiswmsgmb21> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-14_06:2013-02-14,2013-02-14,1970-01-01 signatures=0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2013 17:34:13 -0000 On Thu, 14 Feb 2013, Rick Miller wrote: > Hi Devin, >=20 > On 12/20/12 1:10 PM, "Devin Teske" wrote: > > > > For now, people that prefer sysinstall can use my FreeBSD Druid pre-bui= lt install media: > > > > For 9.0: > > http://sourceforge.net/projects/druidbsd/files/FreeBSD-9.0_Druid-1.0b60= .iso/download > > > > For 8.3: > > http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60= .iso/download > > > > As for 10.0 (when it comes out), expect bsdinstall to surpass sysinstal= l (in many many great ways) in every way (unlike the current status in 9.x). >=20 > I had begun evaluating FreeBSD Druid and DruidBSD, but was sidetracked > with a different project. I'm hoping to return to this in the coming > weeks. Having said that, I am wondering what disk partition utilities > FreeBSD Druid/DruidBSD use when installing 9.x. Is it using > fdisk/bsdlabel or gpart? Hi Rick, No worries on time lapse. In fact, I had been needing to get back to you on= assuaging those 4 failed patch hunks on your sysinstall work. FreeBSD Druid (both 8.x and 9.x) use sysinstall for disk partitioning. What= does sysinstall use, you say? Glad you asked. sysinstall(8) uses a combina= tion of: + libdisk ( see, for example, Set_Boot_Mgr(3) within "case 'W'" of "switch = (toupper(key))" in function diskPartition() of file stable/9/usr.sbin/sysin= stall/disks.c lines 630-693) http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revisio= n=3D225736&view=3Dmarkup and ... + phk code (see, for example, slice_wizard() function in file stable/9/usr.= sbin/sysinstall/wizard.c lines 65-201, in-use for "case '|'" of the same sw= itch above, same function, lines 695-707 of stable/9/usr.sbin/sysinstall/di= sks.c) http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revisio= n=3D225736&view=3Dmarkup http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/wizard.c?revisi= on=3D225736&view=3Dmarkup But wait, there's more... The FreeBSD 9 version of my FreeBSD Druid has a patch to perform (only when= doing automated/scripted installs): gpart -F destroy ${dest_disk} The reason for this is that if you, say for example, were to try the bsdins= tall based media and then want to try sysinstall based media, you're actual= ly prevented from re-formatting that disk into a usable MBR layout until yo= u destroy the GPT backup label stored at the end of the disk. So the FreeBSD Druid for 9.x is basically the same as for 8.x with an addit= ional twist, it has gpart in the mfsroot so that it can do a "destroy" on t= he GPT backup data before formatting the disk in automated installations (t= his "destroy" command is not done for non-scripted installs). You can see the code here: http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/free= bsd/menu/etc/all_install?r1=3D1.2&r2=3D1.3 http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/free= bsd/menu/etc/all_install?revision=3D1.3&view=3Dmarkup --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.