Re: about unatteneded installation

2013-02-14 Thread Rick Miller
Hi Devin,

On 12/20/12 1:10 PM, Devin Teske devin.te...@fisglobal.com wrote:

 For now, people that prefer sysinstall can use my FreeBSD Druid pre-built 
 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 sysinstall (in 
 many many great ways) in every way (unlike the current status in 9.x).

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?

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: about unatteneded installation

2013-02-14 Thread Teske, Devin
On Thu, 14 Feb 2013, Rick Miller wrote:

 Hi Devin,
 
 On 12/20/12 1:10 PM, Devin Teske devin.te...@fisglobal.com wrote:
 
  For now, people that prefer sysinstall can use my FreeBSD Druid pre-built 
  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 sysinstall 
  (in many many great ways) in every way (unlike the current status in 9.x).
 
 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 combination 
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/sysinstall/disks.c lines 630-693)
http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revision=225736view=markup

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 switch above, same function, lines 695-707 of 
stable/9/usr.sbin/sysinstall/disks.c)
http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/disks.c?revision=225736view=markup
http://svnweb.freebsd.org/base/stable/9/usr.sbin/sysinstall/wizard.c?revision=225736view=markup

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 bsdinstall 
based media and then want to try sysinstall based media, you're actually 
prevented from re-formatting that disk into a usable MBR layout until you 
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 
additional twist, it has gpart in the mfsroot so that it can do a destroy on 
the GPT backup data before formatting the disk in automated installations (this 
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/freebsd/menu/etc/all_install?r1=1.2r2=1.3
http://druidbsd.cvs.sourceforge.net/viewvc/druidbsd/druidbsd/druid/src/freebsd/menu/etc/all_install?revision=1.3view=markup

-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: about unatteneded installation

2013-02-14 Thread Rick Miller
On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin
devin.te...@fisglobal.com wrote:
 On Thu, 14 Feb 2013, Rick Miller wrote:

 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 combination of:

I anticipated this.  I am under the impression one cannot force proper
slice alignment on 4K sector drives with sysinstall (see
http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html).
 Is it safe to assume that this also applies to 9.x when utilizing
sysinstall based installer?

-- 
Take care
Rick Miller
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: about unatteneded installation

2013-02-14 Thread dteske


 -Original Message-
 From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick
 Miller
 Sent: Thursday, February 14, 2013 10:39 AM
 To: Teske, Devin
 Cc: FreeBSD Questions
 Subject: Re: about unatteneded installation
 
 On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin
 devin.te...@fisglobal.com wrote:
  On Thu, 14 Feb 2013, Rick Miller wrote:
 
  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 combination of:
 
 I anticipated this.  I am under the impression one cannot force proper
 slice alignment on 4K sector drives with sysinstall (see
 http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html).
  Is it safe to assume that this also applies to 9.x when utilizing
 sysinstall based installer?
 

As previously mentioned, the FreeBSD Druid for FreeBSD 9.x contains gpart in the
mfsroot.

To make this work under sysinstall, you'd essentially tell sysinstall to use
what's already there (and by already there, I mean have a script pre-create
the partition layout with gpart prior to installation). There are places (like
the all_install script) in the FreeBSD Druid that would make this a simple
proposition, but I'm afraid that the better solution (according to the article)
is to use a true 4K-only drive (the article mentions that the problem only
comes into play with drives that advertise both 512 and 4K sector sizes).
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


RE: about unatteneded installation

2013-02-14 Thread Warren Block

On Thu, 14 Feb 2013, dte...@freebsd.org wrote:





-Original Message-
From: vrwmil...@gmail.com [mailto:vrwmil...@gmail.com] On Behalf Of Rick
Miller
Sent: Thursday, February 14, 2013 10:39 AM
To: Teske, Devin
Cc: FreeBSD Questions
Subject: Re: about unatteneded installation

On Thu, Feb 14, 2013 at 12:34 PM, Teske, Devin
devin.te...@fisglobal.com wrote:

On Thu, 14 Feb 2013, Rick Miller wrote:

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 combination of:


I anticipated this.  I am under the impression one cannot force proper
slice alignment on 4K sector drives with sysinstall (see
http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html).
 Is it safe to assume that this also applies to 9.x when utilizing
sysinstall based installer?



As previously mentioned, the FreeBSD Druid for FreeBSD 9.x contains gpart in the
mfsroot.

To make this work under sysinstall, you'd essentially tell sysinstall to use
what's already there (and by already there, I mean have a script pre-create
the partition layout with gpart prior to installation).


Yes, but neither fdisk(8) nor gpart(8) can align slices to arbitrary 
(aligned) locations.  They will always be aligned to CHS values, 
equivalent to using -a63 in gpart.  gpart(8) can align FreeBSD 
partitions inside a slice, though.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org