From owner-freebsd-questions@FreeBSD.ORG Wed Dec 19 18:59:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F89940E for ; Wed, 19 Dec 2012 18:59:51 +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 D2E9F8FC12 for ; Wed, 19 Dec 2012 18:59:50 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id qBJIxnKD000396 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 19 Dec 2012 12:59:49 -0600 Received: from [10.0.0.102] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Wed, 19 Dec 2012 12:59:48 -0600 Subject: Re: about unattended installation MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> Date: Wed, 19 Dec 2012 10:59:47 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <7FFE45C4-2001-46CF-AAE3-D1DF7B6EC9DE@fisglobal.com> References: <40FD5C3B-CF8B-4376-BA6B-9F90747CFFAF@ramattack.net> To: Egoitz Aurrekoetxea Aurre X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2012-12-19_08:2012-12-19,2012-12-19,1970-01-01 signatures=0 Cc: FreeBSD Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Dec 2012 18:59:51 -0000 On Dec 19, 2012, at 10:06 AM, Egoitz Aurrekoetxea Aurre wrote: > Good afternoon, >=20 > One little question=85 I'm trying to have ready our new unattended FreeBS= D installation system. Until now, I have been using Sysinstall scripting fi= le but now with 9.1 out I think it's moment to start using BSDInstaller in = the unattended installation process. Hold on a moment. You might want to wait until 9.2. (read more below) > I have seen the new installer, works basically like an script=85. my real= question is=85 before I did in install.cfg something like :=20 >=20 > ################################ > disk=3Dda0 > partition=3Dall > bootManager=3Dstandard > diskPartitionEditor >=20 > ################################ >=20 > da0s1-1=3Dufs 3072000 / > da0s1-2=3Dswap 8096000 none > da0s1-3=3Dufs 20485760 /var 1 > da0s1-4=3Dufs 30720760 /usr 1 > da0s1-5=3Dufs 0 /expert 1 > diskLabelEditor >=20 > ################################ >=20 > Now I assume there's no way of getting this same through any command like= =85 'bsdinstall partedit _______________________' am I wrong??. You're correct. In 9.0 and 9.1, it's just not feasible to man-handle the us= er interface (partedit) as one could sysinstall. (read below about 9.2) > So I assume all should be done by hand like this example of the Handbook = :=20 >=20 > # dd if=3D/dev/zero of=3D/dev/da1 bs=3D1k count=3D1 > # fdisk -BI da1 #Initialize your new disk > # bsdlabel -B -w da1s1 auto #Label it. > # bsdlabel -e da1s1 # Edit the bsdlabel just created and add any partitio= ns. > # mkdir -p /1 > # newfs /dev/da1s1e # Repeat this for every partition you created. > # mount /dev/da1s1e /1 # Mount the partition(s) > # vi /etc/fstab # Add the appropriate entry/entries to your /etc/fstab. >=20 > In the auto script=85. >=20 > am I wrong?. If the answer is yes=85 could you point me to some document= ation in order to be able to complete all this doc. The answer is (unfortunately) yes=85 that is until (hopefully) 9.2. It's an on-going significant amount of work to make add backward compatibil= ity (so bsdinstall can load sysinstall "install.cfg" files). I'm not going = to discuss the specifics here or yet, but I'm actively working on it. No docs on how to mangle the auto script to do what you want (that I know o= f). > Apart from all this=85 is Sysinstall going to be maintained in parallel?. >=20 Sysinstall is dead. The bsdinstall you know can be considered the "first ge= neration" and accordingly is a bit spartan. I'm working hard on the next ge= neration. My plan is to have 10.0 with bsdinstall able to run sysinstall sc= ripts (for backward compatibility; can't yet say what 9.x release will be M= FC'd to, but that could be 9.2). I'm planning one helluva BSDCan-2013 presentation. --=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.