From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 15 17:57:28 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 487C01065670; Sun, 15 Jan 2012 17:57:28 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id CCD618FC0A; Sun, 15 Jan 2012 17:57:27 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LXU00G00PVRFE00@smtpauth1.wiscmail.wisc.edu>; Sun, 15 Jan 2012 11:57:27 -0600 (CST) Received: from comporellon.tachypleus.net ([unknown] [76.210.70.194]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LXU001ONPVP7O20@smtpauth1.wiscmail.wisc.edu>; Sun, 15 Jan 2012 11:57:26 -0600 (CST) Date: Sun, 15 Jan 2012 11:57:25 -0600 From: Nathan Whitehorn In-reply-to: <20120114053132.GA66064@stack.nl> To: Ariane van der Steldt Message-id: <4F131385.4060500@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.70.194 X-Spam-PmxInfo: Server=avs-9, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.1.15.174514, SenderIP=76.210.70.194 References: <201201140116.q0E1GGCE055464@freefall.freebsd.org> <4F10DF56.8050702@freebsd.org> <20120114053132.GA66064@stack.nl> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120107 Thunderbird/9.0 Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164095: bsdinstall(8): using optional mount point field while partitioning results in error X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 17:57:28 -0000 On 01/13/12 23:31, Ariane van der Steldt wrote: > On Fri, Jan 13, 2012 at 07:50:14PM -0600, Nathan Whitehorn wrote: >> On 01/13/12 19:16, eadler@FreeBSD.org wrote: >>> Old Synopsis: installer: using optional mount point field while partitioning results in error >>> New Synopsis: bsdinstall(8): using optional mount point field while partitioning results in error >>> >>> Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall >>> Responsible-Changed-By: eadler >>> Responsible-Changed-When: Sat Jan 14 01:15:02 UTC 2012 >>> Responsible-Changed-Why: >>> assign and fix synopsis >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=164095 >>> _______________________________________________ >>> freebsd-sysinstall@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall >>> To unsubscribe, send any mail to "freebsd-sysinstall-unsubscribe@freebsd.org" >>> Installer partition selection claims I must enter a mountpoint. >>> Filling in the mountpoint tells me I must not enter a mountpoint. >> >> I can't reproduce this. Can you provide more details? > Hi Nathan, > > You need another OS already installed on the disk already, in my case I > reproduced by installing Windows XP in a 8GB partition on an 80GB disk. > If you don't have another OS installed, the dialogs will not appear. > > Please see attached screenshots: > - 01: the dialog that came up > - 02: what I filled in > - 03: the resulting error dialog You can't provide a mountpoint for nested partitions. Since that dialog has a file type field, it can't conditionally remove the bottom line, which only applies to FAT32 or freebsd-ufs or such partitions. I guess something about this could be added to the existing help line, but it's already a little long. At some point we're likely to do a rototill of the partition adding dialog, and will make this a little clearer. For now, you have the error dialog that says you should leave it blank. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 15 18:02:05 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83EC11065675; Sun, 15 Jan 2012 18:02:05 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 556A48FC1A; Sun, 15 Jan 2012 18:02:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0FI251q077659; Sun, 15 Jan 2012 18:02:05 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0FI254s077655; Sun, 15 Jan 2012 18:02:05 GMT (envelope-from nwhitehorn) Date: Sun, 15 Jan 2012 18:02:05 GMT Message-Id: <201201151802.q0FI254s077655@freefall.freebsd.org> To: nevtic@sunset.tx.net, nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/162675: bsdinstall(8): miscount of remaining diskspace after partition deletion. X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 18:02:05 -0000 Synopsis: bsdinstall(8): miscount of remaining diskspace after partition deletion. State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Sun Jan 15 18:01:04 UTC 2012 State-Changed-Why: This isn't a bug and has to do with the on disk layout. New partitions can be only be the largest available contiguous size, and there is now a partition in the middle reducing this. http://www.freebsd.org/cgi/query-pr.cgi?pr=162675 From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 15 18:08:57 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9B14E106566C; Sun, 15 Jan 2012 18:08:57 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB388FC08; Sun, 15 Jan 2012 18:08:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0FI8vvg078275; Sun, 15 Jan 2012 18:08:57 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0FI8uDE078271; Sun, 15 Jan 2012 18:08:56 GMT (envelope-from nwhitehorn) Date: Sun, 15 Jan 2012 18:08:56 GMT Message-Id: <201201151808.q0FI8uDE078271@freefall.freebsd.org> To: ariane@stack.nl, nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/164095: bsdinstall(8): using optional mount point field while partitioning results in error X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 18:08:57 -0000 Synopsis: bsdinstall(8): using optional mount point field while partitioning results in error State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Sun Jan 15 18:07:10 UTC 2012 State-Changed-Why: The mountpoint field is filesystem-type dependent, as it says in the help field and the error box if you attempt to use it for a filesystem to which it does not apply (swap, bsdlabel containers). As such, it can't be conditionally present. Future changes to the add partition screen will hopefully allow conditional presence. http://www.freebsd.org/cgi/query-pr.cgi?pr=164095 From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 15 18:42:37 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAE8F106566C; Sun, 15 Jan 2012 18:42:36 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3D7908FC26; Sun, 15 Jan 2012 18:42:36 +0000 (UTC) Received: by iagz16 with SMTP id z16so3702175iag.13 for ; Sun, 15 Jan 2012 10:42:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=references:in-reply-to:mime-version:content-transfer-encoding :content-type:message-id:cc:x-mailer:from:subject:date:to; bh=mwZ3FEAZiXPvKl0pBqyreWcGmXhkHtLcNuKpWFnAKqE=; b=bZlF+LhRazE7B/D8APFAr8G3K4gx882uLLBtwamlwaKfug/OjI4MY9CIyvg03MBCYq ty+APMqYgFh+6x93eBrPaBftZc0H2+bj4px/XLqZJfzBCqBDZ9b/IEEHT16sT8ngSj4y M/BlnphDbqF52pwoi0C5UmSDPjOAE4IlRmOVw= Received: by 10.50.189.199 with SMTP id gk7mr6951610igc.30.1326652955784; Sun, 15 Jan 2012 10:42:35 -0800 (PST) Received: from [192.168.20.12] (c-24-6-49-154.hsd1.ca.comcast.net. [24.6.49.154]) by mx.google.com with ESMTPS id bj3sm20526965igb.4.2012.01.15.10.42.33 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 15 Jan 2012 10:42:35 -0800 (PST) References: <201201140116.q0E1GGCE055464@freefall.freebsd.org> <4F10DF56.8050702@freebsd.org> <20120114053132.GA66064@stack.nl> <4F131385.4060500@freebsd.org> In-Reply-To: <4F131385.4060500@freebsd.org> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <8B160191-CB60-4D8F-92DD-87A7DF4F13DC@gmail.com> X-Mailer: iPhone Mail (9A405) From: Garrett Cooper Date: Sun, 15 Jan 2012 10:42:30 -0800 To: Nathan Whitehorn Cc: "freebsd-bugs@FreeBSD.org" , Ariane van der Steldt , "eadler@FreeBSD.org" , "freebsd-sysinstall@FreeBSD.org" Subject: Re: bin/164095: bsdinstall(8): using optional mount point field while partitioning results in error X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 18:42:37 -0000 On Jan 15, 2012, at 9:57 AM, Nathan Whitehorn wrote= : > On 01/13/12 23:31, Ariane van der Steldt wrote: >> On Fri, Jan 13, 2012 at 07:50:14PM -0600, Nathan Whitehorn wrote: >>> On 01/13/12 19:16, eadler@FreeBSD.org wrote: >>>> Old Synopsis: installer: using optional mount point field while partiti= oning results in error >>>> New Synopsis: bsdinstall(8): using optional mount point field while par= titioning results in error >>>>=20 >>>> Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall >>>> Responsible-Changed-By: eadler >>>> Responsible-Changed-When: Sat Jan 14 01:15:02 UTC 2012 >>>> Responsible-Changed-Why: >>>> assign and fix synopsis >>>>=20 >>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D164095 >>>> _______________________________________________ >>>> freebsd-sysinstall@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall >>>> To unsubscribe, send any mail to "freebsd-sysinstall-unsubscribe@freebs= d.org" >>>> Installer partition selection claims I must enter a mountpoint. >>>> Filling in the mountpoint tells me I must not enter a mountpoint. >>>=20 >>> I can't reproduce this. Can you provide more details? >> Hi Nathan, >>=20 >> You need another OS already installed on the disk already, in my case I >> reproduced by installing Windows XP in a 8GB partition on an 80GB disk. >> If you don't have another OS installed, the dialogs will not appear. >>=20 >> Please see attached screenshots: >> - 01: the dialog that came up >> - 02: what I filled in >> - 03: the resulting error dialog >=20 > You can't provide a mountpoint for nested partitions. Since that dialog ha= s a file type field, it can't conditionally remove the bottom line, which on= ly applies to FAT32 or freebsd-ufs or such partitions. I guess something abo= ut this could be added to the existing help line, but it's already a little l= ong. At some point we're likely to do a rototill of the partition adding dia= log, and will make this a little clearer. For now, you have the error dialog= that says you should leave it blank. pc-sysinstall suffers from the same issue [with ZFS at least]. sade and sysinstall are the only tools I know of that did the right thin= g. Cheers, -Garrett= From owner-freebsd-sysinstall@FreeBSD.ORG Sun Jan 15 18:53:43 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F150106566B; Sun, 15 Jan 2012 18:53:43 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id B407F8FC0A; Sun, 15 Jan 2012 18:53:42 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LXU00400SHI0J00@smtpauth2.wiscmail.wisc.edu>; Sun, 15 Jan 2012 12:53:42 -0600 (CST) Received: from comporellon.tachypleus.net ([unknown] [76.210.70.194]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LXU000O7SHGSN00@smtpauth2.wiscmail.wisc.edu>; Sun, 15 Jan 2012 12:53:41 -0600 (CST) Date: Sun, 15 Jan 2012 12:53:40 -0600 From: Nathan Whitehorn In-reply-to: <8B160191-CB60-4D8F-92DD-87A7DF4F13DC@gmail.com> To: Garrett Cooper Message-id: <4F1320B4.9040803@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.70.194 X-Spam-PmxInfo: Server=avs-10, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.1.15.184214, SenderIP=76.210.70.194 References: <201201140116.q0E1GGCE055464@freefall.freebsd.org> <4F10DF56.8050702@freebsd.org> <20120114053132.GA66064@stack.nl> <4F131385.4060500@freebsd.org> <8B160191-CB60-4D8F-92DD-87A7DF4F13DC@gmail.com> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120107 Thunderbird/9.0 Cc: "freebsd-bugs@FreeBSD.org" , Ariane van der Steldt , "eadler@FreeBSD.org" , "freebsd-sysinstall@FreeBSD.org" Subject: Re: bin/164095: bsdinstall(8): using optional mount point field while partitioning results in error X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jan 2012 18:53:43 -0000 On 01/15/12 12:42, Garrett Cooper wrote: > On Jan 15, 2012, at 9:57 AM, Nathan Whitehorn wrote: > >> On 01/13/12 23:31, Ariane van der Steldt wrote: >>> On Fri, Jan 13, 2012 at 07:50:14PM -0600, Nathan Whitehorn wrote: >>>> On 01/13/12 19:16, eadler@FreeBSD.org wrote: >>>>> Old Synopsis: installer: using optional mount point field while partitioning results in error >>>>> New Synopsis: bsdinstall(8): using optional mount point field while partitioning results in error >>>>> >>>>> Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall >>>>> Responsible-Changed-By: eadler >>>>> Responsible-Changed-When: Sat Jan 14 01:15:02 UTC 2012 >>>>> Responsible-Changed-Why: >>>>> assign and fix synopsis >>>>> >>>>> http://www.freebsd.org/cgi/query-pr.cgi?pr=164095 >>>>> _______________________________________________ >>>>> freebsd-sysinstall@freebsd.org mailing list >>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-sysinstall >>>>> To unsubscribe, send any mail to "freebsd-sysinstall-unsubscribe@freebsd.org" >>>>> Installer partition selection claims I must enter a mountpoint. >>>>> Filling in the mountpoint tells me I must not enter a mountpoint. >>>> I can't reproduce this. Can you provide more details? >>> Hi Nathan, >>> >>> You need another OS already installed on the disk already, in my case I >>> reproduced by installing Windows XP in a 8GB partition on an 80GB disk. >>> If you don't have another OS installed, the dialogs will not appear. >>> >>> Please see attached screenshots: >>> - 01: the dialog that came up >>> - 02: what I filled in >>> - 03: the resulting error dialog >> You can't provide a mountpoint for nested partitions. Since that dialog has a file type field, it can't conditionally remove the bottom line, which only applies to FAT32 or freebsd-ufs or such partitions. I guess something about this could be added to the existing help line, but it's already a little long. At some point we're likely to do a rototill of the partition adding dialog, and will make this a little clearer. For now, you have the error dialog that says you should leave it blank. > pc-sysinstall suffers from the same issue [with ZFS at least]. > sade and sysinstall are the only tools I know of that did the right thing. > Cheers, > -Garrett One solution that has been discussed is to add a partition type menu as a second previous screen, which also has the nice effect of giving a list of options (with an "Other" entry at the bottom). The only downside there is an extra keypress. I don't have time to look into this, but patches are very welcome. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Mon Jan 16 11:07:13 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B75D106567D for ; Mon, 16 Jan 2012 11:07:13 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6867D8FC21 for ; Mon, 16 Jan 2012 11:07:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0GB7DP4057784 for ; Mon, 16 Jan 2012 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0GB7CV4057782 for freebsd-sysinstall@FreeBSD.org; Mon, 16 Jan 2012 11:07:12 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 16 Jan 2012 11:07:12 GMT Message-Id: <201201161107.q0GB7CV4057782@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-sysinstall@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Jan 2012 11:07:13 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o bin/164097 sysinstall bsdinstall(8): always installs GPT f bin/164094 sysinstall bsdinstall(8): installer progress over 100% o bin/163943 sysinstall bsdinstall(8) fails to detect CD device when booting w o bin/163123 sysinstall bsdinstall(8): IPV6 only errors connecting o bin/162693 sysinstall sysinstall(8): release/Makefile.sysinstall on 9.x refe o bin/162605 sysinstall sysinstall(8) doesn't identify CD/DVD drives for the u o bin/162429 sysinstall bsdinstall(8): 9.x installer: selecting ZFS for the ro o bin/162428 sysinstall bsdinstall(8): should check available disk space from o bin/162364 sysinstall sysinstall(8): update sysinstall ftp mirror list for c o bin/162258 sysinstall sysinstall(8): long-time bugs o bin/162175 sysinstall [patch] bsdinstall(8): add keymap selection loop and t o bin/162152 sysinstall bsdinstall(8): No up-to-date IPv6 French mirror f bin/161931 sysinstall bsdinstall(8): (add sysinstall partition config as opt o bin/161929 sysinstall bsdinstall(8): (change partition editor screen default o bin/161928 sysinstall bsdinstall(8): (add option to enable 2 button mouse co o bin/161924 sysinstall bsdinstall(8): add msg box telling user to remove inst o bin/161923 sysinstall bsdinstall(8) games & ports install options o kern/161837 sysinstall [libdisk] [patch] sysinstall(8) has a 32 disk limit o bin/161720 sysinstall bsdinstall(8): partition editor does not put partition o bin/161547 sysinstall [patch] bsdinstall(8) should identify wireless network f bin/161113 sysinstall bsdinstall(8): 9.0-BETA3: overwrites Win*-bootcodes wi o bin/161101 sysinstall bsdinstall(8): 9.0-BETA3: partition editor: UFS-option o bin/161100 sysinstall bsdinstall(8): 9.0-BETA3: Add User but no Add Group o bin/161056 sysinstall bsdinstall(8): could allow full control over newfs arg o bin/161055 sysinstall bsdinstall(8): partitioner should auto-populate GPT la f bin/161054 sysinstall bsdinstall(8): partitioner should list valid "type"s o bin/161053 sysinstall bsdinstall(8): network setup dialog is hard to navigat o bin/161052 sysinstall bsdinstall(8): should be consistent about saving confi o bin/161050 sysinstall bsdinstall(8): should use new syntax for IPv4 in rc.co o bin/161049 sysinstall bsdinstall(8): could try to tell if SSDs support TRIM o bin/161048 sysinstall [patch] bsdinstall(8): should run a concurrent shell o o bin/161047 sysinstall [patch] bsdinstall(8): should not run on vt0 o bin/157635 sysinstall sysinstall(8): "none" Do not install a boot manager - o bin/157117 sysinstall sysinstall(8): Add ftp4.se.freebsd.org to list of IPv6 o bin/154788 sysinstall sysinstall(8) crashes if no network interface found o bin/154613 sysinstall sysinstall(8) does not rescan USB automatically o bin/151229 sysinstall sysinstall(8) - shift-tab doesn't work as expected o bin/150995 sysinstall sysinstall(8): corruption of partition table s bin/150237 sysinstall sysinstall(8): Suggestion: installer should suggest th o bin/148805 sysinstall [hang] FreeBSD 7.2, 8.0, and 9.0 hang during install a f bin/148220 sysinstall sysinstall(8): 9.0-current gets "Cannot resolv hostnam o bin/148201 sysinstall sysinstall(8): core dump (Error 10) while trying to in o bin/148053 sysinstall sysinstall(8) labeling o bin/146299 sysinstall sysinstall(8): cannot create slice o bin/145735 sysinstall sysinstall(8) trashes Vista-created partition tables o bin/145027 sysinstall Remove all sysinstall(8) references to floppy and slip o bin/144278 sysinstall [install] Fixit from USB dont work o bin/142867 sysinstall sysinstall(8): in a custom installation re-entering th o misc/142335 sysinstall Download of Release 8.0 LIVE is NOT a "live" from CD p o bin/140843 sysinstall sysinstall(8): cannot software install from usb o bin/140842 sysinstall sysinstall(8): destroyed ncurses interface with FBSD8. o bin/140595 sysinstall [request] sysinstall(8): Replace "Country Selection" w o bin/138423 sysinstall sysinstall(8): Installer (and sade) get wrong number o o bin/138025 sysinstall sysinstall(8) fails to create big partition o bin/137864 sysinstall [patch] sysinstall(8): add possibility to shutdown/pow o bin/137713 sysinstall sysinstall(8): installer partition editor generates in o bin/134425 sysinstall sysinstall(8) custom distributions select all and dese o bin/129762 sysinstall sysinstall(8) doesn't seem to support GPT for EFI boar s bin/123304 sysinstall sysinstall(8): missing sensible and user friendly prog o bin/121503 sysinstall sysinstall(8): 7.0 upgrade doesn't let me mount all of a bin/121124 sysinstall sysinstall(8): FreeBSD 6.3 installation deletes MBR pa o bin/119077 sysinstall [patch] sysinstall(8) - reading packages from index is o bin/113682 sysinstall [patch] sysinstall(8) warns for invalid geometry which o bin/112757 sysinstall sysinstall(8): sysinstall(8): in the FDISK tool we can o bin/110151 sysinstall sysinstall(8): sysinstall(8) don't respects install ro o bin/108191 sysinstall sysinstall(8): Disklabel editor help text (by F1 key) o bin/107830 sysinstall sysinstall(8): Change Units (Z) in fdisk doesn't work p bin/102638 sysinstall [patch] sysinstall(8): custom dist set always install o bin/102498 sysinstall sysinstall(8): Cursor doesn't track sysinstall hilight a bin/101762 sysinstall sysinstall(8) does not obey /usr/ports symlink while i o bin/97108 sysinstall sysinstall(8): write failure on transfer (wrote -1 byt o bin/93275 sysinstall sysinstall(8): Failure to install after restarting ins o bin/90656 sysinstall sysinstall(8): 6.0-RELEASE (i386) cannot be installed s bin/86859 sysinstall sysinstall(8): Installer should ask about Linux earlie o bin/86454 sysinstall sysinstall(8): sysinstall terminates with signal 10 if o bin/79910 sysinstall sysinstall(8): Cannot escape from failed port/package o bin/79840 sysinstall sysinstall(8): Partitioning and formating a new disk f o bin/79621 sysinstall sysinstall(8): sysinstall(8) does not create a device o bin/78964 sysinstall sysinstall(8): can not write labels to hdd on installa s bin/73617 sysinstall sysinstall(8): fdisk editor unmarks active partition o bin/73410 sysinstall sysinstall(8): Sysinstall could not allocate disklabel o bin/72895 sysinstall sysinstall(8): Sysinstall generates invalid partition o bin/70002 sysinstall sysinstall(8): fails to locate FTP dirs if the OS has o bin/69986 sysinstall sysinstall(8): [patch] no job control in fixit shell o o bin/69942 sysinstall sysinstall(8): sysinstall changes /etc/rc.conf after i o bin/69723 sysinstall sysinstall(8): [request] allow to continue from packag o bin/62702 sysinstall sysinstall(8): backup of /etc and /root during sysinst o bin/62367 sysinstall sysinstall(8): 5.2.1-RC installation problems o bin/61890 sysinstall sysinstall(8): fdisk(8) uses incorrect calculations fo o bin/61603 sysinstall sysinstall(8): wrong geometry guessed o bin/60632 sysinstall sysinstall(8): UI bug in partition label screen in sys o bin/53341 sysinstall sysinstall(8): [patch] dump frequency in sysinstall is o bin/48989 sysinstall sysinstall(8): Sysinstall's partition editor gets con s bin/48341 sysinstall sysinstall(8): changes the active slice flag when it p o bin/46905 sysinstall sysinstall(8): FreeBSD 5.x cannot be installed from mu o bin/46235 sysinstall sysinstall(8): NTP servers for Finland require updatin o bin/42162 sysinstall sysinstall(8): after restart, installation crashes, md o bin/41949 sysinstall sysinstall(8): sysinstall sorts /etc/rc.conf during ne o bin/41850 sysinstall sysinstall(8): sysinstall fails to create root filesys o bin/40260 sysinstall sysinstall(8): hang when detecting devices (No CD/DVD s conf/39580 sysinstall sysinstall(8): [request] more secure mount options o bin/38854 sysinstall sysinstall(8): resetting during setup causes the targe s bin/38609 sysinstall sysinstall(8): [request] sysinstall should know the si o bin/38478 sysinstall sysinstall(8): In Choose Distributions screen, it's di o bin/38057 sysinstall sysinstall(8): "install" document doesn't display corr o bin/38056 sysinstall sysinstall(8): User (creation)'s "Member groups" item o bin/38055 sysinstall sysinstall(8): Groups (creation) item should be before o bin/37710 sysinstall sysinstall(8): LAN interface in wrong state after atte a bin/32375 sysinstall sysinstall(8): sysinstall doesn't respect User generat o bin/31363 sysinstall sysinstall(8): "partition editor" silently corrects pa a bin/30737 sysinstall sysinstall(8): sysinstall leaks file descriptors on re o bin/29375 sysinstall sysinstall(8): disk editor gets confused by slices tha a bin/23402 sysinstall sysinstall(8): upgrade ought to check partition sizes o bin/16948 sysinstall sysinstall(8): sysinstall/disklabel: bad partition tab o bin/15038 sysinstall sysinstall(8): easy to not notice that selection lists s bin/7232 sysinstall sysinstall(8): suggestion for FreeBSD installation dia 116 problems total. From owner-freebsd-sysinstall@FreeBSD.ORG Tue Jan 17 19:13:50 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3260B106566B for ; Tue, 17 Jan 2012 19:13:50 +0000 (UTC) (envelope-from rcm@fuzzwad.org) Received: from mail.volente.us (unknown [IPv6:2001:470:7:d47::2]) by mx1.freebsd.org (Postfix) with ESMTP id E40DA8FC17 for ; Tue, 17 Jan 2012 19:13:49 +0000 (UTC) Received: from shiny-w0.fuzzwad.net (localhost [127.0.0.1]) by mail.volente.us (8.14.4/8.14.4) with ESMTP id q0HJDm1q047746 for ; Tue, 17 Jan 2012 13:13:48 -0600 (CST) (envelope-from rcm@fuzzwad.org) Message-ID: <4F15C86B.5020802@fuzzwad.org> Date: Tue, 17 Jan 2012 13:13:47 -0600 From: Ron McDowell User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: freebsd-sysinstall@freebsd.org References: <4F1361C9.4080403@fuzzwad.org> In-Reply-To: <4F1361C9.4080403@fuzzwad.org> X-Forwarded-Message-Id: <4F1361C9.4080403@fuzzwad.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: My thoughts on "bsdconfig" X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 19:13:50 -0000 Sent to the wrong list the other day... :-/ -------- Original Message -------- Subject: My thoughts on "bsdconfig" Date: Sun, 15 Jan 2012 17:31:21 -0600 From: Ron McDowell To: freebsd-current I've had some time to poke around dialog, bsdinstall, host-config by Devin Teske, even old sysinstall. Part of that poking involved a simple proof-of-concept that can be found at http://fuzzwad.org/bsdconfig/ : # tar tzvf /tmp/bsdconfig.120115.tgz -rwxr-xr-x 0 root wheel 5631 Jan 14 12:53 usr/sbin/bsdconfig drwxr-xr-x 0 root wheel 0 Jan 12 12:53 usr/share/examples/bsdconfig/ -rw-r--r-- 0 root wheel 1553 Jan 14 11:56 usr/share/examples/bsdconfig/bsdconfigrc drwxr-xr-x 0 root wheel 0 Jan 14 12:08 usr/libexec/bsdconfig/ -rwxr-xr-x 0 root wheel 1674 Jan 14 12:17 usr/libexec/bsdconfig/notimplemented then several items in the bsdconfig menu [install docs, user add, root passwd, timezone] execute the code from bsdinstall. This menu was taken directly from sysinstall and will change somewhat. I'm leaning towards using this above as a base, and then merging sections from host-config [with Devin's permission, of course] where it makes sense, as well as using existing bsdinstall sections where it makes sense, and adding my own as-yet-unwritten code for the rest. Also...what are everyone's thoughts on making this program i18n-ready right from the start? Lot of work? Not worth the effort? Must have? Don't need? Thanks. -- Ron McDowell San Antonio TX From owner-freebsd-sysinstall@FreeBSD.ORG Tue Jan 17 20:52:40 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B74C106568D for ; Tue, 17 Jan 2012 20:52:40 +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 110CC8FC13 for ; Tue, 17 Jan 2012 20:52:38 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa05 [127.0.0.1]) by ltcfislmsgpa05.fnfis.com (8.14.4/8.14.4) with SMTP id q0HKQ42f017809; Tue, 17 Jan 2012 14:52:38 -0600 Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa05.fnfis.com with ESMTP id 12dfea89qj-59 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 17 Jan 2012 14:52:37 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 17 Jan 2012 14:51:27 -0600 From: Devin Teske To: "'Ron McDowell'" , References: <4F1361C9.4080403@fuzzwad.org> <4F15C86B.5020802@fuzzwad.org> In-Reply-To: <4F15C86B.5020802@fuzzwad.org> Date: Tue, 17 Jan 2012 12:51:51 -0800 Message-ID: <039201ccd559$d77e0e30$867a2a90$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGwuTs92RV90EF2ty4fYNcO2BueEQKBEpuRljUtTRA= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-17_06:2012-01-17, 2012-01-17, 1970-01-01 signatures=0 Cc: Subject: RE: My thoughts on "bsdconfig" X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2012 20:52:40 -0000 Initial thoughts and comments inline below. > -----Original Message----- > From: owner-freebsd-sysinstall@freebsd.org [mailto:owner-freebsd- > sysinstall@freebsd.org] On Behalf Of Ron McDowell > Sent: Tuesday, January 17, 2012 11:14 AM > To: freebsd-sysinstall@freebsd.org > Subject: My thoughts on "bsdconfig" > > Sent to the wrong list the other day... :-/ > > -------- Original Message -------- > Subject: My thoughts on "bsdconfig" > Date: Sun, 15 Jan 2012 17:31:21 -0600 > From: Ron McDowell > To: freebsd-current > > > > I've had some time to poke around dialog, bsdinstall, host-config by Devin Teske, > even old sysinstall. Part of that poking involved a simple proof-of-concept that > can be found at http://fuzzwad.org/bsdconfig/ : > > # tar tzvf /tmp/bsdconfig.120115.tgz > -rwxr-xr-x 0 root wheel 5631 Jan 14 12:53 usr/sbin/bsdconfig > drwxr-xr-x 0 root wheel 0 Jan 12 12:53 > usr/share/examples/bsdconfig/ > -rw-r--r-- 0 root wheel 1553 Jan 14 11:56 > usr/share/examples/bsdconfig/bsdconfigrc > drwxr-xr-x 0 root wheel 0 Jan 14 12:08 usr/libexec/bsdconfig/ > -rwxr-xr-x 0 root wheel 1674 Jan 14 12:17 > usr/libexec/bsdconfig/notimplemented > Nice hierarchy framework. I was discussing with several persons at last week's Bay Area FreeBSD User's Group (BAFUG) meeting at the Hacker Dojo, that I envision taking host-setup and modularizing it in a similar fashion. However, I feel that a better approach would be to allow /usr/libexec/bsdconfig to function more like /etc/rc.d -- specifically that simply installing a new '*.rc' file into said-directory is enough to get a new menu item to appear. The specifics of which I open to discussion, however I envision the main bsdconfig script doing the following on start-up to accommodate a modular architecture of the root (main) menu: 1. Look in /usr/libexec/bsdconfig for '*.rc' (or some similar naming convention). 2. Source each one in the following manner: 2.a. first, syntax-check the rc file using "sh -n FILE". If this fails, warn and skip 2.b. next, source the rc file using "." built-in safely from within sub-shell. If this fails, warn and skip. 2.c. The rc file conditionally provides in some manner (like name= in rc.d scripts) details on how to represent the menu item for this module 3. bsdconfig uses said details to construct the menu-item for each individual module 4. bsdconfig presents the menu 5. When a menu item is selected, invoke the appropriate function within the selected module It makes expanding the tool quite easy as (conceivably) there would be a template for creating new modules (just as there is a template for creating new rc.d scripts). > then several items in the bsdconfig menu [install docs, user add, root passwd, > timezone] execute the code from bsdinstall. This menu was taken directly from > sysinstall and will change somewhat. > I think a better approach would be to have bsdinstall call bits of bsdconfig. If a move is made toward modular-ness, then bsdinstall could directly re-use the modules in /usr/libexec/bsdconfig. This would produce a mode unified set of tools, minimizing code-duplication or unnecessary utility dependency between the two: bsdconfig and bsdinstall. > I'm leaning towards using this above as a base, and then merging sections from > host-config [with Devin's permission, of course] where it makes sense, You of course have my permission (host-setup is of course BSD licensed). However, I think that we can produce something much greater if we work together to produce bsdconfig. > as well as > using existing bsdinstall sections where it makes sense, and adding my own as- > yet-unwritten code for the rest. > In my honest opinion, you'll want to merge from host-setup whenever you can and only fall back to taking bsdinstall code when there's no alternative. I've looked at the bsdinstall code and it isn't nearly as robust in the areas where overlap occurs. For example, in setting the hostname, bsdinstall does not validate that the user input is RFC-952/RFC-1123 compliant while host-setup does. End-result is that a user can end up producing an un-bootable system (bsdinstall always writes the new hostname to rc.conf(5) regardless of input-value). ASIDE: bsdinstall also lacks intelligent management of rc.conf(5) For another example, bsdinstall does not validate network IP addresses entered. Nor does it warn you if you are about to do something that may hang the box network-wise or get you disconnected. I could go on. > Also...what are everyone's thoughts on making this program i18n-ready right > from the start? Lot of work? Not worth the effort? Must have? > Don't need? > I'd say that there's a need to make it i18n-ready. The amount of work (should you start with host-setup) is minimal as I've made sure to use i18n-compatible character-class regular-expressions (e.g. "[[:alpha:]]" instead of "[a-zA-Z]" where applicable). Aside from that, i18n-support should be only be hampered by actual translation services needed to translate dialog content/prompts. -- 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. From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 03:17:06 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B929D106566C; Wed, 18 Jan 2012 03:17:06 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8C2138FC12; Wed, 18 Jan 2012 03:17:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0I3H69m030059; Wed, 18 Jan 2012 03:17:06 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0I3H6T9030055; Wed, 18 Jan 2012 03:17:06 GMT (envelope-from linimon) Date: Wed, 18 Jan 2012 03:17:06 GMT Message-Id: <201201180317.q0I3H6T9030055@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/164267: bsdinstall(8) bugs when RE-installing to GPT partitions X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 03:17:06 -0000 Synopsis: bsdinstall(8) bugs when RE-installing to GPT partitions Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jan 18 03:16:48 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=164267 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 05:23:10 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 33922106566C; Wed, 18 Jan 2012 05:23:10 +0000 (UTC) (envelope-from ariane@stack.nl) Received: from mx1.stack.nl (relay02.stack.nl [IPv6:2001:610:1108:5010::104]) by mx1.freebsd.org (Postfix) with ESMTP id B221C8FC17; Wed, 18 Jan 2012 05:23:09 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id 9A988362A35; Wed, 18 Jan 2012 06:23:08 +0100 (CET) Received: by turtle.stack.nl (Postfix, from userid 1711) id 804EC176DE; Wed, 18 Jan 2012 06:23:08 +0100 (CET) Date: Wed, 18 Jan 2012 06:23:08 +0100 From: Ariane van der Steldt To: Nathan Whitehorn Message-ID: <20120118052308.GB31973@stack.nl> References: <201201140116.q0E1Gj7E055563@freefall.freebsd.org> <4F10DF18.9020703@freebsd.org> <20120114064224.GA66588@stack.nl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120114064224.GA66588@stack.nl> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 05:23:10 -0000 Hi Nathan, On Sat, Jan 14, 2012 at 07:42:24AM +0100, Ariane van der Steldt wrote: > On Fri, Jan 13, 2012 at 07:49:12PM -0600, Nathan Whitehorn wrote: > > On 01/13/12 19:16, eadler@FreeBSD.org wrote: > > > FreeBSD installer changed my MBR-only partition table to MBR+GPT > > > partition table. > > > The other OS does not have GPT logic; I want to be at least warned > > > this is happening and prefer to have the option at least. > > > Alternatively, the installer may opt not to install a GPT if the disk > > > does not require it (as in the case in this machine) > > > > Can you give some more details here? This is something that the > > installer is not programmed to do and that I cannot reproduce. > > Sure. I used a VM to reproduce the problem, so I could provide pretty > screenshots in an attempt to better explain the problem. > > > Pre-install: > only 1 OS installed, windows XP, using MBR partition table. > > Using a live CD, I can instruct fdisk to (pointlessly) alter the active > partition, as can be seen in attached screenshot 1 > > > Post-install: > Both windows XP and FreeBSD are installed. > Unfortunately, fdisk can no longer be used to alter the active > partition, gpart is to be used instead. > As can be seen in attached screenshot 2, fdisk fails. > > After install, only gpart can be used to change the active partition. Upon rereading the manpage for gpart, I'm wondering if what I concluded really happened. On closer examination, it's possible the geom logic blocked fdisk from modifying the partition table. Can you tell me how I can confirm out what partitioning schemes are present on my harddisk? I put the output of gpart show at the bottom of the e-mail, which suggests the mbr scheme is used regardless. If geom indeed blocks fdisk from altering the partition table, I'm wondering what the use of the binary is though, as it seems gpart does everything fdisk does, but without failing. # gpart show => 63 1250263665 ada0 MBR (596G) 63 209712447 1 ntfs [active] (100G) 209712510 102398310 2 ntfs (48G) 312110820 937426896 3 freebsd (447G) 1249537716 726012 - free - (354M) => 0 937426896 ada0s3 BSD (447G) 0 929038336 1 freebsd-ufs (443G) 929038336 8388559 2 freebsd-swap (4G) 937426895 1 - free - (512B) -- Ariane From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 05:57:14 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3F471065670; Wed, 18 Jan 2012 05:57:13 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 87F588FC15; Wed, 18 Jan 2012 05:57:13 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0LXZ00D00CJCWB00@smtpauth2.wiscmail.wisc.edu>; Tue, 17 Jan 2012 23:57:12 -0600 (CST) Received: from comporellon.tachypleus.net ([unknown] [76.210.70.194]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0LXZ00BDXCJBK500@smtpauth2.wiscmail.wisc.edu>; Tue, 17 Jan 2012 23:57:11 -0600 (CST) Date: Tue, 17 Jan 2012 23:57:10 -0600 From: Nathan Whitehorn In-reply-to: <20120118052308.GB31973@stack.nl> To: Ariane van der Steldt Message-id: <4F165F36.5070302@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.210.70.194 X-Spam-PmxInfo: Server=avs-14, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.1.18.54214, SenderIP=76.210.70.194 References: <201201140116.q0E1Gj7E055563@freefall.freebsd.org> <4F10DF18.9020703@freebsd.org> <20120114064224.GA66588@stack.nl> <20120118052308.GB31973@stack.nl> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120107 Thunderbird/9.0 Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 05:57:14 -0000 On 01/17/12 23:23, Ariane van der Steldt wrote: > Hi Nathan, > > On Sat, Jan 14, 2012 at 07:42:24AM +0100, Ariane van der Steldt wrote: >> On Fri, Jan 13, 2012 at 07:49:12PM -0600, Nathan Whitehorn wrote: >>> On 01/13/12 19:16, eadler@FreeBSD.org wrote: >>>> FreeBSD installer changed my MBR-only partition table to MBR+GPT >>>> partition table. > >>>> The other OS does not have GPT logic; I want to be at least warned >>>> this is happening and prefer to have the option at least. >>>> Alternatively, the installer may opt not to install a GPT if the disk >>>> does not require it (as in the case in this machine) >>> Can you give some more details here? This is something that the >>> installer is not programmed to do and that I cannot reproduce. >> Sure. I used a VM to reproduce the problem, so I could provide pretty >> screenshots in an attempt to better explain the problem. >> >> >> Pre-install: >> only 1 OS installed, windows XP, using MBR partition table. >> >> Using a live CD, I can instruct fdisk to (pointlessly) alter the active >> partition, as can be seen in attached screenshot 1 >> >> >> Post-install: >> Both windows XP and FreeBSD are installed. >> Unfortunately, fdisk can no longer be used to alter the active >> partition, gpart is to be used instead. >> As can be seen in attached screenshot 2, fdisk fails. >> >> After install, only gpart can be used to change the active partition. > Upon rereading the manpage for gpart, I'm wondering if what I concluded > really happened. On closer examination, it's possible the geom logic > blocked fdisk from modifying the partition table. Can you tell me how I > can confirm out what partitioning schemes are present on my harddisk? > I put the output of gpart show at the bottom of the e-mail, which > suggests the mbr scheme is used regardless. > > If geom indeed blocks fdisk from altering the partition table, I'm > wondering what the use of the binary is though, as it seems gpart does > everything fdisk does, but without failing. > > # gpart show > => 63 1250263665 ada0 MBR (596G) > 63 209712447 1 ntfs [active] (100G) > 209712510 102398310 2 ntfs (48G) > 312110820 937426896 3 freebsd (447G) > 1249537716 726012 - free - (354M) > > => 0 937426896 ada0s3 BSD (447G) > 0 929038336 1 freebsd-ufs (443G) > 929038336 8388559 2 freebsd-swap (4G) > 937426895 1 - free - (512B) That implies it's just MBR + BSD label. Why did you think it was GPT? Geom does prevent many utilities from altering the partition table. I was under the impression that fdisk had been modified to actually use geom these days, so it should have worked, but it's possible that didn't work somehow. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 14:51:29 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2B5C1065672; Wed, 18 Jan 2012 14:51:29 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 98FB98FC18; Wed, 18 Jan 2012 14:51:29 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IEpTw2029232; Wed, 18 Jan 2012 14:51:29 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IEpTeK029228; Wed, 18 Jan 2012 14:51:29 GMT (envelope-from linimon) Date: Wed, 18 Jan 2012 14:51:29 GMT Message-Id: <201201181451.q0IEpTeK029228@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/164278: bsdinstall(8): FreeBSD 9.0-RELEASE ADM64 DVD1.ISO bsdinstall bug X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 14:51:29 -0000 Old Synopsis: FreeBSD 9.0-RELEASE ADM64 DVD1.ISO bsdinstall bug New Synopsis: bsdinstall(8): FreeBSD 9.0-RELEASE ADM64 DVD1.ISO bsdinstall bug Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jan 18 14:50:25 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=164278 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 14:52:49 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F0C8106564A; Wed, 18 Jan 2012 14:52:49 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 44CDA8FC0A; Wed, 18 Jan 2012 14:52:49 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IEqnWv029364; Wed, 18 Jan 2012 14:52:49 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IEqnrd029360; Wed, 18 Jan 2012 14:52:49 GMT (envelope-from linimon) Date: Wed, 18 Jan 2012 14:52:49 GMT Message-Id: <201201181452.q0IEqnrd029360@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/164280: sysinstall(8): FreeBSD 9.0-RELEASE AMD64 DVD1.ISO sysinstall installation issues X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 14:52:49 -0000 Old Synopsis: FreeBSD 9.0-RELEASE AMD64 DVD1.ISO sysinstall installation issues New Synopsis: sysinstall(8): FreeBSD 9.0-RELEASE AMD64 DVD1.ISO sysinstall installation issues Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jan 18 14:51:56 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=164280 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 14:53:52 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FC451065679; Wed, 18 Jan 2012 14:53:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 45FF78FC1E; Wed, 18 Jan 2012 14:53:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IErqFD029421; Wed, 18 Jan 2012 14:53:52 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IErqNx029417; Wed, 18 Jan 2012 14:53:52 GMT (envelope-from linimon) Date: Wed, 18 Jan 2012 14:53:52 GMT Message-Id: <201201181453.q0IErqNx029417@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/164281: bsdinstall(8): please allow sysinstall as installer option X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 14:53:52 -0000 Old Synopsis: bsdinstall selection New Synopsis: bsdinstall(8): please allow sysinstall as installer option Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jan 18 14:52:56 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=164281 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 14:58:22 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD130106566C; Wed, 18 Jan 2012 14:58:22 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AD2838FC14; Wed, 18 Jan 2012 14:58:22 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IEwMLG029702; Wed, 18 Jan 2012 14:58:22 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IEwMbo029698; Wed, 18 Jan 2012 14:58:22 GMT (envelope-from nwhitehorn) Date: Wed, 18 Jan 2012 14:58:22 GMT Message-Id: <201201181458.q0IEwMbo029698@freefall.freebsd.org> To: nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/164280: sysinstall(8): sysinstall not supported for system installation in 9.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 14:58:22 -0000 Old Synopsis: sysinstall(8): FreeBSD 9.0-RELEASE AMD64 DVD1.ISO sysinstall installation issues New Synopsis: sysinstall(8): sysinstall not supported for system installation in 9.0 Class-Changed-From-To: sw-bug->change-request Class-Changed-By: nwhitehorn Class-Changed-When: Wed Jan 18 14:54:21 UTC 2012 Class-Changed-Why: sysinstall isn't supported for installation in 9.0 due to changes in the distribution format, system tools, and release process. It's provided on the media only for package installation and post-install configuration. It could possibly be updated to work again from the same media as bsdinstall, so I'm changing this from a bug report to a feature request. http://www.freebsd.org/cgi/query-pr.cgi?pr=164280 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 15:10:12 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A0CD1065670 for ; Wed, 18 Jan 2012 15:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6DA5D8FC0C for ; Wed, 18 Jan 2012 15:10:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IFACtJ038727 for ; Wed, 18 Jan 2012 15:10:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IFACNX038726; Wed, 18 Jan 2012 15:10:12 GMT (envelope-from gnats) Date: Wed, 18 Jan 2012 15:10:12 GMT Message-Id: <201201181510.q0IFACNX038726@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: Mark Linimon Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 15:10:12 -0000 The following reply was made to PR bin/164094; it has been noted by GNATS. From: Mark Linimon To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% Date: Wed, 18 Jan 2012 09:00:42 -0600 ----- Forwarded message from Ariane van der Steldt ----- Date: Wed, 18 Jan 2012 06:23:08 +0100 From: Ariane van der Steldt To: Nathan Whitehorn Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% User-Agent: Mutt/1.5.21 (2010-09-15) Hi Nathan, On Sat, Jan 14, 2012 at 07:42:24AM +0100, Ariane van der Steldt wrote: > On Fri, Jan 13, 2012 at 07:49:12PM -0600, Nathan Whitehorn wrote: > > On 01/13/12 19:16, eadler@FreeBSD.org wrote: > > > FreeBSD installer changed my MBR-only partition table to MBR+GPT > > > partition table. > > > The other OS does not have GPT logic; I want to be at least warned > > > this is happening and prefer to have the option at least. > > > Alternatively, the installer may opt not to install a GPT if the disk > > > does not require it (as in the case in this machine) > > > > Can you give some more details here? This is something that the > > installer is not programmed to do and that I cannot reproduce. > > Sure. I used a VM to reproduce the problem, so I could provide pretty > screenshots in an attempt to better explain the problem. > > > Pre-install: > only 1 OS installed, windows XP, using MBR partition table. > > Using a live CD, I can instruct fdisk to (pointlessly) alter the active > partition, as can be seen in attached screenshot 1 > > > Post-install: > Both windows XP and FreeBSD are installed. > Unfortunately, fdisk can no longer be used to alter the active > partition, gpart is to be used instead. > As can be seen in attached screenshot 2, fdisk fails. > > After install, only gpart can be used to change the active partition. Upon rereading the manpage for gpart, I'm wondering if what I concluded really happened. On closer examination, it's possible the geom logic blocked fdisk from modifying the partition table. Can you tell me how I can confirm out what partitioning schemes are present on my harddisk? I put the output of gpart show at the bottom of the e-mail, which suggests the mbr scheme is used regardless. If geom indeed blocks fdisk from altering the partition table, I'm wondering what the use of the binary is though, as it seems gpart does everything fdisk does, but without failing. # gpart show => 63 1250263665 ada0 MBR (596G) 63 209712447 1 ntfs [active] (100G) 209712510 102398310 2 ntfs (48G) 312110820 937426896 3 freebsd (447G) 1249537716 726012 - free - (354M) => 0 937426896 ada0s3 BSD (447G) 0 929038336 1 freebsd-ufs (443G) 929038336 8388559 2 freebsd-swap (4G) 937426895 1 - free - (512B) -- Ariane _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" ----- End forwarded message ----- From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 15:10:14 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 414C0106566B for ; Wed, 18 Jan 2012 15:10:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3051B8FC17 for ; Wed, 18 Jan 2012 15:10:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IFAEYC038736 for ; Wed, 18 Jan 2012 15:10:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IFAEH6038735; Wed, 18 Jan 2012 15:10:14 GMT (envelope-from gnats) Date: Wed, 18 Jan 2012 15:10:14 GMT Message-Id: <201201181510.q0IFAEH6038735@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: Mark Linimon Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 15:10:14 -0000 The following reply was made to PR bin/164094; it has been noted by GNATS. From: Mark Linimon To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% Date: Wed, 18 Jan 2012 09:01:18 -0600 ----- Forwarded message from Nathan Whitehorn ----- Date: Tue, 17 Jan 2012 23:57:10 -0600 From: Nathan Whitehorn To: Ariane van der Steldt Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% That implies it's just MBR + BSD label. Why did you think it was GPT? Geom does prevent many utilities from altering the partition table. I was under the impression that fdisk had been modified to actually use geom these days, so it should have worked, but it's possible that didn't work somehow. -Nathan ----- End forwarded message ----- From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 16:00:26 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 05EF1106564A for ; Wed, 18 Jan 2012 16:00:25 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id C46BF8FC16 for ; Wed, 18 Jan 2012 16:00:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IG0PaO084447 for ; Wed, 18 Jan 2012 16:00:25 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IG0PEX084446; Wed, 18 Jan 2012 16:00:25 GMT (envelope-from gnats) Date: Wed, 18 Jan 2012 16:00:25 GMT Message-Id: <201201181600.q0IG0PEX084446@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: bin/164278: commit references a PR X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 16:00:26 -0000 The following reply was made to PR bin/164278; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/164278: commit references a PR Date: Wed, 18 Jan 2012 15:59:36 +0000 (UTC) Author: nwhitehorn Date: Wed Jan 18 15:59:23 2012 New Revision: 230309 URL: http://svn.freebsd.org/changeset/base/230309 Log: Warn if trying to install over an existing partition, which usually fails anyway due to libarchive not being able to overwrite schg flags. PR: bin/164278 MFC after: 4 days Modified: head/usr.sbin/bsdinstall/partedit/partedit.c Modified: head/usr.sbin/bsdinstall/partedit/partedit.c ============================================================================== --- head/usr.sbin/bsdinstall/partedit/partedit.c Wed Jan 18 15:25:34 2012 (r230308) +++ head/usr.sbin/bsdinstall/partedit/partedit.c Wed Jan 18 15:59:23 2012 (r230309) @@ -240,23 +240,41 @@ delete_part_metadata(const char *name) static int validate_setup(void) { - struct partition_metadata *md; - int root_found = FALSE; + struct partition_metadata *md, *root = NULL; + int cancel; TAILQ_FOREACH(md, &part_metadata, metadata) { if (md->fstab != NULL && strcmp(md->fstab->fs_file, "/") == 0) - root_found = TRUE; + root = md; /* XXX: Check for duplicate mountpoints */ } - if (!root_found) { + if (root == NULL) { dialog_msgbox("Error", "No root partition was found. " "The root FreeBSD partition must have a mountpoint of '/'.", 0, 0, TRUE); return (FALSE); } + /* + * Check for root partitions that we aren't formatting, which is + * usually a mistake + */ + if (root->newfs == NULL) { + dialog_vars.defaultno = TRUE; + cancel = dialog_yesno("Warning", "The chosen root partition " + "has a preexisting filesystem. If it contains an existing " + "FreeBSD system, please update it with freebsd-update " + "instead of installing a new system on it. The partition " + "can also be erased by pressing \"No\" and then deleting " + "and recreating it. Are you sure you want to proceed?", + 0, 0); + dialog_vars.defaultno = FALSE; + if (cancel) + return (FALSE); + } + return (TRUE); } _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 16:00:56 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D05B106566B; Wed, 18 Jan 2012 16:00:56 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 42F1E8FC12; Wed, 18 Jan 2012 16:00:56 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IG0ukm086362; Wed, 18 Jan 2012 16:00:56 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IG0uxt086358; Wed, 18 Jan 2012 16:00:56 GMT (envelope-from nwhitehorn) Date: Wed, 18 Jan 2012 16:00:56 GMT Message-Id: <201201181600.q0IG0uxt086358@freefall.freebsd.org> To: cederom@tlen.pl, nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/164280: sysinstall(8): sysinstall not supported for system installation in 9.0 X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 16:00:56 -0000 Synopsis: sysinstall(8): sysinstall not supported for system installation in 9.0 State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Wed Jan 18 16:00:23 UTC 2012 State-Changed-Why: Duplicate of r164281. http://www.freebsd.org/cgi/query-pr.cgi?pr=164280 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 16:02:35 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B5B01065670; Wed, 18 Jan 2012 16:02:35 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 324A08FC0A; Wed, 18 Jan 2012 16:02:35 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IG2ZgJ092712; Wed, 18 Jan 2012 16:02:35 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IG2Z1N092708; Wed, 18 Jan 2012 16:02:35 GMT (envelope-from nwhitehorn) Date: Wed, 18 Jan 2012 16:02:35 GMT Message-Id: <201201181602.q0IG2Z1N092708@freefall.freebsd.org> To: cederom@tlen.pl, nwhitehorn@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: bin/164278: bsdinstall(8): FreeBSD 9.0-RELEASE ADM64 DVD1.ISO bsdinstall bug X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 16:02:35 -0000 Synopsis: bsdinstall(8): FreeBSD 9.0-RELEASE ADM64 DVD1.ISO bsdinstall bug State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Wed Jan 18 16:01:14 UTC 2012 State-Changed-Why: This can happen if you try to install over an existing filesystem without reformatting the partitions due to UFS schg flags. r230309 adds a warning about this. http://www.freebsd.org/cgi/query-pr.cgi?pr=164278 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 18:14:28 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 628FE106566B for ; Wed, 18 Jan 2012 18:14:28 +0000 (UTC) (envelope-from rcm@fuzzwad.org) Received: from mail.volente.us (unknown [IPv6:2001:470:7:d47::2]) by mx1.freebsd.org (Postfix) with ESMTP id 247BA8FC0A for ; Wed, 18 Jan 2012 18:14:28 +0000 (UTC) Received: from shiny-w0.fuzzwad.net (localhost [127.0.0.1]) by mail.volente.us (8.14.4/8.14.4) with ESMTP id q0IIEM3t041834; Wed, 18 Jan 2012 12:14:24 -0600 (CST) (envelope-from rcm@fuzzwad.org) Message-ID: <4F170BFD.9060407@fuzzwad.org> Date: Wed, 18 Jan 2012 12:14:21 -0600 From: Ron McDowell User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Devin Teske References: <4F1361C9.4080403@fuzzwad.org> <4F15C86B.5020802@fuzzwad.org> <039201ccd559$d77e0e30$867a2a90$@fisglobal.com> In-Reply-To: <039201ccd559$d77e0e30$867a2a90$@fisglobal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sysinstall@freebsd.org Subject: Re: My thoughts on "bsdconfig" X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 18:14:28 -0000 On 1/17/12 2:51 PM, Devin Teske wrote: > However, I feel that a better approach would be to allow /usr/libexec/bsdconfig > to function more like /etc/rc.d -- specifically that simply installing a new > '*.rc' file into said-directory is enough to get a new menu item to appear. > > The specifics of which I open to discussion, however I envision the main > bsdconfig script doing the following on start-up to accommodate a modular > architecture of the root (main) menu: > > 1. Look in /usr/libexec/bsdconfig for '*.rc' (or some similar naming > convention). > 2. Source each one in the following manner: > 2.a. first, syntax-check the rc file using "sh -n FILE". If this fails, warn and > skip > 2.b. next, source the rc file using "." built-in safely from within sub-shell. > If this fails, warn and skip. > 2.c. The rc file conditionally provides in some manner (like name= in rc.d > scripts) details on how to represent the menu item for this module > 3. bsdconfig uses said details to construct the menu-item for each individual > module > 4. bsdconfig presents the menu > 5. When a menu item is selected, invoke the appropriate function within the > selected module > > It makes expanding the tool quite easy as (conceivably) there would be a > template for creating new modules (just as there is a template for creating new > rc.d scripts). I like this. But it will take some serious in-depth thought. -- Ron McDowell San Antonio TX From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 22:55:05 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A6AF106564A; Wed, 18 Jan 2012 22:55:05 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 47F838FC15; Wed, 18 Jan 2012 22:55:05 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IMt5C7069879; Wed, 18 Jan 2012 22:55:05 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IMt51h069875; Wed, 18 Jan 2012 22:55:05 GMT (envelope-from linimon) Date: Wed, 18 Jan 2012 22:55:05 GMT Message-Id: <201201182255.q0IMt51h069875@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/164294: bsdinstall(8): FreeBSD 9.0-RELEASE bsdinstall dvd does not have media selection dialog X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 22:55:05 -0000 Old Synopsis: FreeBSD 9.0-RELEASE bsdinstall dvd does not have media selection dialog New Synopsis: bsdinstall(8): FreeBSD 9.0-RELEASE bsdinstall dvd does not have media selection dialog Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jan 18 22:54:32 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=164294 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 22:57:52 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A00E106566B; Wed, 18 Jan 2012 22:57:52 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D415C8FC08; Wed, 18 Jan 2012 22:57:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IMvp6j070082; Wed, 18 Jan 2012 22:57:51 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IMvpG4070078; Wed, 18 Jan 2012 22:57:51 GMT (envelope-from linimon) Date: Wed, 18 Jan 2012 22:57:51 GMT Message-Id: <201201182257.q0IMvpG4070078@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/164291: bsdinstall(8): bsdinstall and filestetyem selection / creation X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 22:57:52 -0000 Synopsis: bsdinstall(8): bsdinstall and filestetyem selection / creation Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jan 18 22:57:40 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=164291 From owner-freebsd-sysinstall@FreeBSD.ORG Wed Jan 18 22:58:44 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C688E1065672; Wed, 18 Jan 2012 22:58:44 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 9BDB08FC15; Wed, 18 Jan 2012 22:58:44 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0IMwi1Q070142; Wed, 18 Jan 2012 22:58:44 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0IMwihI070138; Wed, 18 Jan 2012 22:58:44 GMT (envelope-from linimon) Date: Wed, 18 Jan 2012 22:58:44 GMT Message-Id: <201201182258.q0IMwihI070138@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: bin/164292: bsdinstall(8): bsdinstall partition type should have a hint or a drop down list on possible partition types X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jan 2012 22:58:44 -0000 Old Synopsis: bsdinstall partition type should have a hint o a drop down list on possible partition types New Synopsis: bsdinstall(8): bsdinstall partition type should have a hint or a drop down list on possible partition types Responsible-Changed-From-To: freebsd-bugs->freebsd-sysinstall Responsible-Changed-By: linimon Responsible-Changed-When: Wed Jan 18 22:58:16 UTC 2012 Responsible-Changed-Why: Over to maintainer(s). http://www.freebsd.org/cgi/query-pr.cgi?pr=164292 From owner-freebsd-sysinstall@FreeBSD.ORG Thu Jan 19 16:47:11 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12A4D106566B; Thu, 19 Jan 2012 16:47:11 +0000 (UTC) (envelope-from jh@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id D88928FC16; Thu, 19 Jan 2012 16:47:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0JGlA2I094997; Thu, 19 Jan 2012 16:47:10 GMT (envelope-from jh@freefall.freebsd.org) Received: (from jh@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0JGlA0u094993; Thu, 19 Jan 2012 16:47:10 GMT (envelope-from jh) Date: Thu, 19 Jan 2012 16:47:10 GMT Message-Id: <201201191647.q0JGlA0u094993@freefall.freebsd.org> To: cederom@tlen.pl, jh@FreeBSD.org, freebsd-sysinstall@FreeBSD.org From: jh@FreeBSD.org Cc: Subject: Re: bin/164292: bsdinstall(8): bsdinstall partition type should have a hint or a drop down list on possible partition types X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jan 2012 16:47:11 -0000 Synopsis: bsdinstall(8): bsdinstall partition type should have a hint or a drop down list on possible partition types State-Changed-From-To: open->closed State-Changed-By: jh State-Changed-When: Thu Jan 19 16:47:10 UTC 2012 State-Changed-Why: Duplicate of bin/161054. http://www.freebsd.org/cgi/query-pr.cgi?pr=164292 From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 20 06:32:04 2012 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89277106566C for ; Fri, 20 Jan 2012 06:32:04 +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 512408FC13 for ; Fri, 20 Jan 2012 06:32:03 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa05 [127.0.0.1]) by ltcfislmsgpa05.fnfis.com (8.14.4/8.14.4) with SMTP id q0K6PgA6028600; Fri, 20 Jan 2012 00:32:02 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com with ESMTP id 12f0py8aau-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 20 Jan 2012 00:32:02 -0600 Received: from [10.0.0.104] (10.14.152.28) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 20 Jan 2012 00:32:01 -0600 MIME-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" From: Devin Teske In-Reply-To: <4F170BFD.9060407@fuzzwad.org> Date: Thu, 19 Jan 2012 22:31:57 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: References: <4F1361C9.4080403@fuzzwad.org> <4F15C86B.5020802@fuzzwad.org> <039201ccd559$d77e0e30$867a2a90$@fisglobal.com> <4F170BFD.9060407@fuzzwad.org> To: Ron McDowell X-Mailer: Apple Mail (2.1084) X-Originating-IP: [10.14.152.28] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361, 1.0.211, 0.0.0000 definitions=2012-01-20_01:2012-01-20, 2012-01-20, 1970-01-01 signatures=0 Cc: freebsd-sysinstall@freebsd.org Subject: Re: My thoughts on "bsdconfig" X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 06:32:04 -0000 On Jan 18, 2012, at 10:14 AM, Ron McDowell wrote: > On 1/17/12 2:51 PM, Devin Teske wrote: >> However, I feel that a better approach would be to allow /usr/libexec/bs= dconfig >> to function more like /etc/rc.d -- specifically that simply installing a= new >> '*.rc' file into said-directory is enough to get a new menu item to appe= ar. >>=20 >> The specifics of which I open to discussion, however I envision the main >> bsdconfig script doing the following on start-up to accommodate a modular >> architecture of the root (main) menu: >>=20 >> 1. Look in /usr/libexec/bsdconfig for '*.rc' (or some similar naming >> convention). >> 2. Source each one in the following manner: >> 2.a. first, syntax-check the rc file using "sh -n FILE". If this fails, = warn and >> skip >> 2.b. next, source the rc file using "." built-in safely from within sub-= shell. >> If this fails, warn and skip. >> 2.c. The rc file conditionally provides in some manner (like name=3D in = rc.d >> scripts) details on how to represent the menu item for this module >> 3. bsdconfig uses said details to construct the menu-item for each indiv= idual >> module >> 4. bsdconfig presents the menu >> 5. When a menu item is selected, invoke the appropriate function within = the >> selected module >>=20 >> It makes expanding the tool quite easy as (conceivably) there would be a >> template for creating new modules (just as there is a template for creat= ing new >> rc.d scripts). >=20 > I like this. But it will take some serious in-depth thought. >=20 I've been thinking about how annoying it was that I had to either (a) read = a man-page or (b) know to look in /usr/libexec/bsdinstall to know which arg= uments I can pass to bsdinstall to get to the network configuration module. To set a better example, I'm thinking that the main-menu of bsdconfig shoul= d consist of: X Exit Utility 1 2 ... A ad nauseum Sorted alphabetically, the benefit here is that the main-menu continually r= eminds the user that they can invoke any sub-menu directly by it's displaye= d name (which not-coincidentally is the modules filename). Any module insta= lled into the module-directort will be displayed alphabetically by it's fil= ename. I'm going to propose that the module directory be /usr/libexec/bsdconfig does this sound like a good start? Regarding the "" I have an idea to use ident(1) to pull = out $Title$ when processing modules to create the main menu. --=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. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 20 09:46:44 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63BC8106564A; Fri, 20 Jan 2012 09:46:44 +0000 (UTC) (envelope-from ariane@stack.nl) Received: from mx1.stack.nl (relay04.stack.nl [IPv6:2001:610:1108:5010::107]) by mx1.freebsd.org (Postfix) with ESMTP id E9DAA8FC0C; Fri, 20 Jan 2012 09:46:43 +0000 (UTC) Received: from turtle.stack.nl (turtle.stack.nl [IPv6:2001:610:1108:5010::132]) by mx1.stack.nl (Postfix) with ESMTP id 30CF21DE915; Fri, 20 Jan 2012 10:46:43 +0100 (CET) Received: by turtle.stack.nl (Postfix, from userid 1711) id 18F9017636; Fri, 20 Jan 2012 10:46:43 +0100 (CET) Date: Fri, 20 Jan 2012 10:46:43 +0100 From: Ariane van der Steldt To: Nathan Whitehorn Message-ID: <20120120094642.GB64559@stack.nl> References: <201201140116.q0E1Gj7E055563@freefall.freebsd.org> <4F10DF18.9020703@freebsd.org> <20120114064224.GA66588@stack.nl> <20120118052308.GB31973@stack.nl> <4F165F36.5070302@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4F165F36.5070302@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 09:46:44 -0000 On Tue, Jan 17, 2012 at 11:57:10PM -0600, Nathan Whitehorn wrote: > On 01/17/12 23:23, Ariane van der Steldt wrote: > > Hi Nathan, > > > > On Sat, Jan 14, 2012 at 07:42:24AM +0100, Ariane van der Steldt wrote: > >> On Fri, Jan 13, 2012 at 07:49:12PM -0600, Nathan Whitehorn wrote: > >>> On 01/13/12 19:16, eadler@FreeBSD.org wrote: > >>>> FreeBSD installer changed my MBR-only partition table to MBR+GPT > >>>> partition table. > > > >>>> The other OS does not have GPT logic; I want to be at least warned > >>>> this is happening and prefer to have the option at least. > >>>> Alternatively, the installer may opt not to install a GPT if the disk > >>>> does not require it (as in the case in this machine) > >>> Can you give some more details here? This is something that the > >>> installer is not programmed to do and that I cannot reproduce. > >> Sure. I used a VM to reproduce the problem, so I could provide pretty > >> screenshots in an attempt to better explain the problem. > >> > >> > >> Pre-install: > >> only 1 OS installed, windows XP, using MBR partition table. > >> > >> Using a live CD, I can instruct fdisk to (pointlessly) alter the active > >> partition, as can be seen in attached screenshot 1 > >> > >> > >> Post-install: > >> Both windows XP and FreeBSD are installed. > >> Unfortunately, fdisk can no longer be used to alter the active > >> partition, gpart is to be used instead. > >> As can be seen in attached screenshot 2, fdisk fails. > >> > >> After install, only gpart can be used to change the active partition. > > Upon rereading the manpage for gpart, I'm wondering if what I concluded > > really happened. On closer examination, it's possible the geom logic > > blocked fdisk from modifying the partition table. Can you tell me how I > > can confirm out what partitioning schemes are present on my harddisk? > > I put the output of gpart show at the bottom of the e-mail, which > > suggests the mbr scheme is used regardless. > > > > If geom indeed blocks fdisk from altering the partition table, I'm > > wondering what the use of the binary is though, as it seems gpart does > > everything fdisk does, but without failing. > > > > # gpart show > > => 63 1250263665 ada0 MBR (596G) > > 63 209712447 1 ntfs [active] (100G) > > 209712510 102398310 2 ntfs (48G) > > 312110820 937426896 3 freebsd (447G) > > 1249537716 726012 - free - (354M) > > > > => 0 937426896 ada0s3 BSD (447G) > > 0 929038336 1 freebsd-ufs (443G) > > 929038336 8388559 2 freebsd-swap (4G) > > 937426895 1 - free - (512B) > > That implies it's just MBR + BSD label. Why did you think it was GPT? > Geom does prevent many utilities from altering the partition table. I > was under the impression that fdisk had been modified to actually use > geom these days, so it should have worked, but it's possible that didn't > work somehow. I came under that impression because fdisk didn't work, while before installing freebsd, it did work. gpart, due to its name and coupled with a refusing fdisk, made me jump to the conclusion that I had been given a GPT table. Is there a technical reason that geom is not automatically activated on every partition table? It seems to me that unifying these would reduce complexity and confusion to the end user. And I see no reason why the boot volume has this recognized and activated automatically, but other devices don't. -- Ariane From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 20 10:34:04 2012 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EDA4106566B; Fri, 20 Jan 2012 10:34:04 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id DA3538FC16; Fri, 20 Jan 2012 10:34:03 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 7C319E62A9; Fri, 20 Jan 2012 10:34:02 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=mail; bh=jIhOFxGJ0C59 Au/MmrU23iT0eoM=; b=iTTKXdh/1vudhqfu2YD3h/6ZKoq6pMrUe7A9Vq1D6YeO 8hhWYZ1Rwj6vN+opnTpz0Nm0QBv2jz8llKzfKcSdlnpR+lmtz3Lr3QNuLiIo99l7 fGoJEd8ylH2C95xStiE/j//Dm29Xxueu0MCji3OcIqS4mV8Zctt61A9+XXpglUo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=mail; b=JE11zq 9wEHrTkVwRMY6zNXGDX+1LnLhetvAJULJtYcFztE52xw5WcIPjYT9/7VivhsWDxA I1dDsxsZCqMcdQjCf8i1/bCh8PaH7NS9hTbG8ny3PcmlK0NeM/2624zjCzUgtNN6 aemGc31+glLsU1dmv7c3zHcV6UEutlDrIFyOI= Received: from [192.168.1.66] (188-220-36-32.zone11.bethere.co.uk [188.220.36.32]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 4BFD4E6280; Fri, 20 Jan 2012 10:34:02 +0000 (GMT) Message-ID: <4F19430D.1010701@cran.org.uk> Date: Fri, 20 Jan 2012 10:33:49 +0000 From: Bruce Cran User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: Ariane van der Steldt References: <201201140116.q0E1Gj7E055563@freefall.freebsd.org> <4F10DF18.9020703@freebsd.org> <20120114064224.GA66588@stack.nl> <20120118052308.GB31973@stack.nl> <4F165F36.5070302@freebsd.org> <20120120094642.GB64559@stack.nl> In-Reply-To: <20120120094642.GB64559@stack.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 10:34:04 -0000 On 20/01/2012 09:46, Ariane van der Steldt wrote: > I came under that impression because fdisk didn't work, while before > installing freebsd, it did work. gpart, due to its name and coupled with > a refusing fdisk, made me jump to the conclusion that I had been given a > GPT table. gpart is just a geom partitioner: its name has nothing to do with GPT. -- Bruce Cran From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 20 15:20:13 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E36151065672 for ; Fri, 20 Jan 2012 15:20:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CDB328FC1D for ; Fri, 20 Jan 2012 15:20:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0KFKDL8089702 for ; Fri, 20 Jan 2012 15:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0KFKDRi089701; Fri, 20 Jan 2012 15:20:13 GMT (envelope-from gnats) Date: Fri, 20 Jan 2012 15:20:13 GMT Message-Id: <201201201520.q0KFKDRi089701@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: Mark Linimon Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 15:20:14 -0000 The following reply was made to PR bin/164094; it has been noted by GNATS. From: Mark Linimon To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% Date: Fri, 20 Jan 2012 09:18:01 -0600 ----- Forwarded message from Ariane van der Steldt ----- Date: Fri, 20 Jan 2012 10:46:43 +0100 From: Ariane van der Steldt To: Nathan Whitehorn Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% I came under that impression because fdisk didn't work, while before installing freebsd, it did work. gpart, due to its name and coupled with a refusing fdisk, made me jump to the conclusion that I had been given a GPT table. Is there a technical reason that geom is not automatically activated on every partition table? It seems to me that unifying these would reduce complexity and confusion to the end user. And I see no reason why the boot volume has this recognized and activated automatically, but other devices don't. -- Ariane ----- End forwarded message ----- From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 20 15:20:15 2012 Return-Path: Delivered-To: freebsd-sysinstall@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96770106566B for ; Fri, 20 Jan 2012 15:20:15 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 810998FC23 for ; Fri, 20 Jan 2012 15:20:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q0KFKFlK089713 for ; Fri, 20 Jan 2012 15:20:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q0KFKFPQ089712; Fri, 20 Jan 2012 15:20:15 GMT (envelope-from gnats) Date: Fri, 20 Jan 2012 15:20:15 GMT Message-Id: <201201201520.q0KFKFPQ089712@freefall.freebsd.org> To: freebsd-sysinstall@FreeBSD.org From: Mark Linimon Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mark Linimon List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 15:20:15 -0000 The following reply was made to PR bin/164094; it has been noted by GNATS. From: Mark Linimon To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% Date: Fri, 20 Jan 2012 09:18:31 -0600 ----- Forwarded message from Bruce Cran ----- Date: Fri, 20 Jan 2012 10:33:49 +0000 From: Bruce Cran To: Ariane van der Steldt Cc: freebsd-bugs@FreeBSD.org, eadler@FreeBSD.org, Nathan Whitehorn , freebsd-sysinstall@FreeBSD.org Subject: Re: bin/164094: bsdinstall(8): installer progress over 100% gpart is just a geom partitioner: its name has nothing to do with GPT. -- Bruce Cran ----- End forwarded message ----- From owner-freebsd-sysinstall@FreeBSD.ORG Fri Jan 20 18:48:56 2012 Return-Path: Delivered-To: FreeBSD-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 178B21065670 for ; Fri, 20 Jan 2012 18:48:56 +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 D02D38FC0A for ; Fri, 20 Jan 2012 18:48:55 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id q0KIQSX0017566; Fri, 20 Jan 2012 12:48:52 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa02.fnfis.com with ESMTP id 12fd5904b8-14 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 20 Jan 2012 12:48:52 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 20 Jan 2012 12:48:27 -0600 From: Devin Teske To: Date: Fri, 20 Jan 2012 10:48:52 -0800 Message-ID: <059301ccd7a4$2c47c090$84d741b0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AczXnn8P3JJQMJ/TQEyfJ56qdK43pA== Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7361, 1.0.211, 0.0.0000 definitions=2012-01-20_04:2012-01-20, 2012-01-20, 1970-01-01 signatures=0 Cc: Chad Perrin , Robison , devin.teske@fisglobal.com, Dave Subject: Offering sysinstall(8) as a choice in the FreeBSD 9 installation media X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jan 2012 18:48:56 -0000 Long ago (on this list) it was previously discussed (and a consensus was reached) that the FreeBSD 9 installer should have two offerings to achieve two high-level goals: 1. Ease the transition from sysinstall(8) to bsdinstall 2. Gradually "vet" bsdinstall over time (over the next 2 or 3 major releases -- 8/9 or 8/9/10, where either one of 10 or 11 will be free of sysinstall). The process of integrating sysinstall(8) into the current RELENG_9 installer is not difficult and I am volunteering. The choice for selecting sysinstall versus bsdinstall will be presented to the user during the kernel options menu. See the following two pictures to get an idea: Picture 1 showing a proposed menu-addition to the RELENG_9 installer, defaulting to bsdinstall http://twitpic.com/89l2ub/full Picture 2 showing sysinstall selected by the user: http://twitpic.com/89l4n6/full Choosing bsdinstall (or simply allowing the timer to reach zero and boot, as bsdinstall would be the default) would result in booting directly into the ISO0-9660 structure as is currently done by the 9.0-RELEASE media. Choosing sysinstall on the other-hand, would result in booting into the mfsroot structure that sysinstall(8) has always used. Later down the road, when bsdinstall becomes feature-complete and/or is stable enough to replace sysinstall, the menu option simply goes away. -- Devin P.S. With consensus reached, we'll then take this discussion to re@ _____________ 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.