Date: Thu, 14 Feb 2013 17:34:10 +0000 From: "Teske, Devin" <Devin.Teske@fisglobal.com> To: Rick Miller <vmiller@hostileadmin.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: RE: about unatteneded installation Message-ID: <13CA24D6AB415D428143D44749F57D7201EA962E@ltcfiswmsgmb21> In-Reply-To: <CAHzLAVEvGo-uB6NQm26N0friJvRZk%2BrS6Aj4dKwsv5oGnOu5Xw@mail.gmail.com> References: <CAHzLAVEvGo-uB6NQm26N0friJvRZk%2BrS6Aj4dKwsv5oGnOu5Xw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 14 Feb 2013, Rick Miller wrote: > Hi Devin, >=20 > On 12/20/12 1:10 PM, "Devin Teske" <devin.teske@fisglobal.com> 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?13CA24D6AB415D428143D44749F57D7201EA962E>