From owner-freebsd-sysinstall@FreeBSD.ORG Mon Aug 26 11:06:52 2013 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id A6A9F1A3 for ; Mon, 26 Aug 2013 11:06:52 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7FDEF2871 for ; Mon, 26 Aug 2013 11:06:52 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7QB6qS2066093 for ; Mon, 26 Aug 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7QB6qNn066091 for freebsd-sysinstall@FreeBSD.org; Mon, 26 Aug 2013 11:06:52 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 26 Aug 2013 11:06:52 GMT Message-Id: <201308261106.r7QB6qNn066091@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 Subject: Current problem reports assigned to freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 11:06:52 -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/175730 sysinstall Segfault in bsdinstall(8) when no disks are present o bin/174475 sysinstall bsdinstall(8): should remember user input o bin/174473 sysinstall bsdinstall(8): cannot handle some or all partitions ot o bin/174472 sysinstall bsdinstall(8) partition editor is annoying to use when o bin/174471 sysinstall bsdinstall(8): does not newfs and cannot mount any non o bin/174470 sysinstall sysinstall(8): should be fixed to work with bsdinstall o bin/173301 sysinstall [patch] bsdinstall(8): default to SU instead of SU+J o bin/172905 sysinstall bsdinstall(8): Old mirroselect file in bdsinstall o bin/172847 sysinstall bsdinstall(8): missing boot loader location selection o bin/172846 sysinstall bsdinstall(8) - setting hostname o bin/171113 sysinstall bsdinstall(8): FreeBSD 9.1-beta1 installer refuses to o misc/170821 sysinstall sysinstall(1): unexpected directory name in 8,3-RELEAS o kern/170707 sysinstall bsdinstall(8) Partition editor (modify) option does no f bin/170264 sysinstall bsdinstall(8) into jail doesn't find FTP distribution o bin/169750 sysinstall bsdinstall(8): cannot run more than once with DHCP/SLA o bin/169748 sysinstall [patch] bsdinstall(8): when distfile fetch is complete o bin/168582 sysinstall [request] bsdinstall(8): Select 'server' or 'desktop' o bin/168314 sysinstall bsdinstall(8): 9.0 install "live CD" option can't crea o bin/168269 sysinstall comments on bsdinstall(8) o bin/168188 sysinstall bsdinstall(8) partitioner segmentation fault o bin/167222 sysinstall sysinstall(8): FreeBSD 8.3 corrupting MBR partition ta o kern/166801 sysinstall bsdinstall(8): FreeBSD install is apparently not writi o bin/166241 sysinstall [patch] Speedup and some improvements of sysinstall(8) o bin/165600 sysinstall sysinstall(8): 8.3 installation DVD asking for non exi s bin/164752 sysinstall [request] bsdinstall(8): No option of ZFS in FreeBSD 9 o bin/164399 sysinstall bsdinstall(8): 9.0 installer failures o bin/164294 sysinstall bsdinstall(8): FreeBSD 9.0-RELEASE bsdinstall dvd does o bin/164291 sysinstall bsdinstall(8): bsdinstall and filestetyem selection / o bin/164284 sysinstall bsdinstall(8): FreeBSD install assign incorrect dev as o bin/164281 sysinstall bsdinstall(8): please allow sysinstall as installer op o bin/164267 sysinstall bsdinstall(8) bugs when RE-installing to GPT partition 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/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/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/161047 sysinstall [patch] bsdinstall(8): should not run on vt0 o bin/157635 sysinstall sysinstall(8): "none" Do not install a boot manager - o conf/157189 sysinstall bsdinstall(8): Default /etc/sysctl.conf should be remo 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/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/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/140972 sysinstall sysintall(8): 8.0-RELEASE-i386-memstick Fixit broken - 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/139181 sysinstall WITHOUT_LEGACY_CONSOLE=1 breaks sysinstall(8) 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/135317 sysinstall install.cfg feature request o bin/134425 sysinstall sysinstall(8) custom distributions select all and dese o bin/132114 sysinstall [patch] add new 'docs' virtual category to sysinstall o bin/130655 sysinstall sysinstall(8): no IPV4 if answer "no" when "Do you wan o bin/129762 sysinstall sysinstall(8) doesn't seem to support GPT for EFI boar o bin/126819 sysinstall sysinstall(8) During install if initial name look-up f 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/118449 sysinstall sysinstall(8): Installer failing dns lookups o kern/118021 sysinstall [keyboard] 7.0 Beta 2 sysinstall keyboard emits contro 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 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 o bin/88826 sysinstall sysinstall(8): sysinstall infinity wait for da0 s bin/86859 sysinstall sysinstall(8): Installer should ask about Linux earlie o bin/86665 sysinstall sysinstall(8): sysinstall binary upgrade clobbers name o bin/86454 sysinstall sysinstall(8): sysinstall terminates with signal 10 if o bin/80117 sysinstall sysinstall(8): [patch] smbfs install option for sysins 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 o bin/77001 sysinstall sysinstall(8): sysinstall binary upgrade clobbers /etc 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/65774 sysinstall sysinstall(8): cannot run repair disk when booted from 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/53131 sysinstall sysinstall(8): "ALL" could not turn check BOXes ON at 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/45608 sysinstall sysinstall(8): install should config all ether devices o bin/44915 sysinstall sysinstall(8): 'choose installation media' choose CD-R o bin/42162 sysinstall sysinstall(8): after restart, installation crashes, md o bin/42022 sysinstall sysinstall(8): non-interactive mode prompts when only 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 o bin/38610 sysinstall sysinstall(8): should be able to mount ISO images on D 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 o kern/36916 sysinstall [libdisk] [patch] DOS active partition flag lost in li o bin/35400 sysinstall sysinstall(8): sysinstall could improve manipulation o 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/30517 sysinstall sysinstall(8): using sysinstall with install.cfg has n o bin/29375 sysinstall sysinstall(8): disk editor gets confused by slices tha o bin/27216 sysinstall sysinstall(8): can not get to shell prompt from serial a bin/23402 sysinstall sysinstall(8): upgrade ought to check partition sizes o bin/20282 sysinstall sysinstall(8): sysinstall does not recover some /etc f o bin/16948 sysinstall sysinstall(8): sysinstall/disklabel: bad partition tab o bin/15038 sysinstall sysinstall(8): easy to not notice that selection lists o bin/14318 sysinstall sysinstall(8): sysinstall upon install has some counte o bin/8867 sysinstall sysinstall(8): [patch] /stand/sysinstall core dumps (s s bin/7232 sysinstall sysinstall(8): suggestion for FreeBSD installation dia 165 problems total. From owner-freebsd-sysinstall@FreeBSD.ORG Thu Aug 29 21:04:24 2013 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E7E101AA for ; Thu, 29 Aug 2013 21:04:24 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id A02FA2904 for ; Thu, 29 Aug 2013 21:04:21 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r7TL4Dux090565 for ; Thu, 29 Aug 2013 15:04:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r7TL4Dmp090562 for ; Thu, 29 Aug 2013 15:04:13 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 29 Aug 2013 15:04:13 -0600 (MDT) From: Warren Block To: freebsd-sysinstall@FreeBSD.org Subject: Bug in bsdinstall (fs found where not present) Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 29 Aug 2013 15:04:13 -0600 (MDT) X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 21:04:25 -0000 >From a 9.2-PRERELEASE snapshot, go into the shell, create a GPT disk layout with a bunch of partitions for filesystems and swap. Exit the shell and run the installer. Go through each partition setting a mount point. Tell bsdinstall to continue. It reports that the / partition has a preexisting filesystem (it does not, in fact; this disk had a mishmash of MBR and NTFS on it). Tell bsdinstall to continue anyway. It does, and then reports that it can't mount /dev/ada0p2 on /mnt, presumably because, contrary to the misleading and incorrect error message, there is no filesystem on there. The install fails, try again, entering all the mount points, and it will fail the same. Short term solution: newfs the / partition, so there really is a filesystem there for bsdinstall to detect and warn about. Then it works. From owner-freebsd-sysinstall@FreeBSD.ORG Thu Aug 29 21:25:18 2013 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7D546619 for ; Thu, 29 Aug 2013 21:25:18 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5377E2A73 for ; Thu, 29 Aug 2013 21:25:17 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MSB00C00A25N500@smtpauth2.wiscmail.wisc.edu> for freebsd-sysinstall@FreeBSD.org; Thu, 29 Aug 2013 16:25:10 -0500 (CDT) X-Spam-PmxInfo: Server=avs-2, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.8.29.211516, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (172-12-164-50.lightspeed.wlfrct.sbcglobal.net [172.12.164.50]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MSB00MCIA5XXY50@smtpauth2.wiscmail.wisc.edu>; Thu, 29 Aug 2013 16:25:10 -0500 (CDT) Message-id: <521FBC34.4070604@freebsd.org> Date: Thu, 29 Aug 2013 14:25:08 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130811 Thunderbird/17.0.8 To: Warren Block Subject: Re: Bug in bsdinstall (fs found where not present) References: In-reply-to: X-Enigmail-Version: 1.5.1 Cc: freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Aug 2013 21:25:18 -0000 On 08/29/13 14:04, Warren Block wrote: >> From a 9.2-PRERELEASE snapshot, go into the shell, create a GPT disk > layout with a bunch of partitions for filesystems and swap. Exit the > shell and run the installer. > > Go through each partition setting a mount point. Tell bsdinstall to > continue. It reports that the / partition has a preexisting > filesystem (it does not, in fact; this disk had a mishmash of MBR and > NTFS on it). > > Tell bsdinstall to continue anyway. It does, and then reports that it > can't mount /dev/ada0p2 on /mnt, presumably because, contrary to the > misleading and incorrect error message, there is no filesystem on there. > > The install fails, try again, entering all the mount points, and it > will fail the same. > > Short term solution: newfs the / partition, so there really is a > filesystem there for bsdinstall to detect and warn about. Then it works. bsdinstall has no way to detect whether or not you already have UFS in a freebsd-ufs file system. It assumes, when not given contrary information, that a partition that exists is initialized. There does not seem to be a way around this. If you have any ideas, those would of course be helpful. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Fri Aug 30 00:02:47 2013 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CFF643C1; Fri, 30 Aug 2013 00:02:47 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 837C5247C; Fri, 30 Aug 2013 00:02:47 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r7U02k0Q091864; Thu, 29 Aug 2013 18:02:46 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r7U02kdI091861; Thu, 29 Aug 2013 18:02:46 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 29 Aug 2013 18:02:46 -0600 (MDT) From: Warren Block To: Nathan Whitehorn Subject: Re: Bug in bsdinstall (fs found where not present) In-Reply-To: <521FBC34.4070604@freebsd.org> Message-ID: References: <521FBC34.4070604@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 29 Aug 2013 18:02:46 -0600 (MDT) Cc: freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 00:02:47 -0000 On Thu, 29 Aug 2013, Nathan Whitehorn wrote: > On 08/29/13 14:04, Warren Block wrote: >>> From a 9.2-PRERELEASE snapshot, go into the shell, create a GPT disk >> layout with a bunch of partitions for filesystems and swap. Exit the >> shell and run the installer. >> >> Go through each partition setting a mount point. Tell bsdinstall to >> continue. It reports that the / partition has a preexisting >> filesystem (it does not, in fact; this disk had a mishmash of MBR and >> NTFS on it). >> >> Tell bsdinstall to continue anyway. It does, and then reports that it >> can't mount /dev/ada0p2 on /mnt, presumably because, contrary to the >> misleading and incorrect error message, there is no filesystem on there. >> >> The install fails, try again, entering all the mount points, and it >> will fail the same. >> >> Short term solution: newfs the / partition, so there really is a >> filesystem there for bsdinstall to detect and warn about. Then it works. > > bsdinstall has no way to detect whether or not you already have UFS in a > freebsd-ufs file system. It assumes, when not given contrary > information, that a partition that exists is initialized. There does not > seem to be a way around this. If you have any ideas, those would of > course be helpful. file(1) works well for detecting filesystems. For that matter, what is bsdinstall doing now that makes it say there is a filesystem on a partition? Maybe the message is misleading. From owner-freebsd-sysinstall@FreeBSD.ORG Fri Aug 30 03:09:40 2013 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6CDFB147 for ; Fri, 30 Aug 2013 03:09:40 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 42F712DC4 for ; Fri, 30 Aug 2013 03:09:39 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MSB00800PSHND00@smtpauth4.wiscmail.wisc.edu> for freebsd-sysinstall@FreeBSD.org; Thu, 29 Aug 2013 22:09:33 -0500 (CDT) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.8.30.30326, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (172-12-164-50.lightspeed.wlfrct.sbcglobal.net [172.12.164.50]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MSB00D7YQ3W1Y20@smtpauth4.wiscmail.wisc.edu>; Thu, 29 Aug 2013 22:09:33 -0500 (CDT) Message-id: <52200CEB.9030101@freebsd.org> Date: Thu, 29 Aug 2013 20:09:31 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130811 Thunderbird/17.0.8 To: Warren Block Subject: Re: Bug in bsdinstall (fs found where not present) References: <521FBC34.4070604@freebsd.org> In-reply-to: X-Enigmail-Version: 1.5.1 Cc: freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 03:09:40 -0000 On 08/29/13 17:02, Warren Block wrote: > On Thu, 29 Aug 2013, Nathan Whitehorn wrote: > >> On 08/29/13 14:04, Warren Block wrote: >>>> From a 9.2-PRERELEASE snapshot, go into the shell, create a GPT disk >>> layout with a bunch of partitions for filesystems and swap. Exit the >>> shell and run the installer. >>> >>> Go through each partition setting a mount point. Tell bsdinstall to >>> continue. It reports that the / partition has a preexisting >>> filesystem (it does not, in fact; this disk had a mishmash of MBR and >>> NTFS on it). >>> >>> Tell bsdinstall to continue anyway. It does, and then reports that it >>> can't mount /dev/ada0p2 on /mnt, presumably because, contrary to the >>> misleading and incorrect error message, there is no filesystem on >>> there. >>> >>> The install fails, try again, entering all the mount points, and it >>> will fail the same. >>> >>> Short term solution: newfs the / partition, so there really is a >>> filesystem there for bsdinstall to detect and warn about. Then it >>> works. >> >> bsdinstall has no way to detect whether or not you already have UFS in a >> freebsd-ufs file system. It assumes, when not given contrary >> information, that a partition that exists is initialized. There does not >> seem to be a way around this. If you have any ideas, those would of >> course be helpful. > > file(1) works well for detecting filesystems. > > For that matter, what is bsdinstall doing now that makes it say there > is a filesystem on a partition? Maybe the message is misleading. What that actually means is that the partition exists. (file doesn't work on block devices, by the way) I'm happy to change the error message. The default behavior is that, like partitioners on all other operating systems, it treats creating partitions and running newfs as intimately linked activities -- similarly, that the type marked in the partition table is the actual filesystem type. Intermediate cases are very hard to detect reliably. -Nathan From owner-freebsd-sysinstall@FreeBSD.ORG Fri Aug 30 05:39:15 2013 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 298A4A99; Fri, 30 Aug 2013 05:39:15 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-x22a.google.com (mail-vc0-x22a.google.com [IPv6:2607:f8b0:400c:c03::22a]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id CB39C25D1; Fri, 30 Aug 2013 05:39:14 +0000 (UTC) Received: by mail-vc0-f170.google.com with SMTP id kw10so994489vcb.15 for ; Thu, 29 Aug 2013 22:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VicF7PNIkVivpL3yq6kP7loPzZa4vnFs8U5u99NutZI=; b=kLW20Cy/9BCD/stp4aSIfJLZZCLWK/JgIZoJ3i+q9mDs9kgzf0+k9RhkFYJaCgVBQT nifassVlsFnxnt0wr32/BJMoUoYNn/hifePp3bKWvbPUwVDPmhgFG4Hch7nM4Z4Lk7Gv b+gnzkxOA874QyHlMd+v7KGptkH2JxzUQTnEUqlQbxdqxJ8zGq2Z/+J6nfn5/Itgk70s CjaloAL75ihq74dzf23Hwa4VMoe12WEYPH/xPkOccSdUgX6FLR7y3V+ks7RLORTUHcyd 15D/3hyQTTEq4xt1c53ySIZ7kqzw7kpFFhBCSEOJgYsovpR67ALltIDjvcFSVdRL+l6m t2kQ== MIME-Version: 1.0 X-Received: by 10.52.171.38 with SMTP id ar6mr4842005vdc.22.1377841153887; Thu, 29 Aug 2013 22:39:13 -0700 (PDT) Received: by 10.58.118.104 with HTTP; Thu, 29 Aug 2013 22:39:13 -0700 (PDT) In-Reply-To: <52200CEB.9030101@freebsd.org> References: <521FBC34.4070604@freebsd.org> <52200CEB.9030101@freebsd.org> Date: Fri, 30 Aug 2013 01:39:13 -0400 Message-ID: Subject: Re: Bug in bsdinstall (fs found where not present) From: Mehmet Erol Sanliturk To: Nathan Whitehorn Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 05:39:15 -0000 On Thu, Aug 29, 2013 at 11:09 PM, Nathan Whitehorn wrote: > On 08/29/13 17:02, Warren Block wrote: > > On Thu, 29 Aug 2013, Nathan Whitehorn wrote: > > > >> On 08/29/13 14:04, Warren Block wrote: > >>>> From a 9.2-PRERELEASE snapshot, go into the shell, create a GPT disk > >>> layout with a bunch of partitions for filesystems and swap. Exit the > >>> shell and run the installer. > >>> > >>> Go through each partition setting a mount point. Tell bsdinstall to > >>> continue. It reports that the / partition has a preexisting > >>> filesystem (it does not, in fact; this disk had a mishmash of MBR and > >>> NTFS on it). > >>> > >>> Tell bsdinstall to continue anyway. It does, and then reports that it > >>> can't mount /dev/ada0p2 on /mnt, presumably because, contrary to the > >>> misleading and incorrect error message, there is no filesystem on > >>> there. > >>> > >>> The install fails, try again, entering all the mount points, and it > >>> will fail the same. > >>> > >>> Short term solution: newfs the / partition, so there really is a > >>> filesystem there for bsdinstall to detect and warn about. Then it > >>> works. > >> > >> bsdinstall has no way to detect whether or not you already have UFS in a > >> freebsd-ufs file system. It assumes, when not given contrary > >> information, that a partition that exists is initialized. There does not > >> seem to be a way around this. If you have any ideas, those would of > >> course be helpful. > > > > file(1) works well for detecting filesystems. > > > > For that matter, what is bsdinstall doing now that makes it say there > > is a filesystem on a partition? Maybe the message is misleading. > > What that actually means is that the partition exists. (file doesn't > work on block devices, by the way) I'm happy to change the error > message. The default behavior is that, like partitioners on all other > operating systems, it treats creating partitions and running newfs as > intimately linked activities -- similarly, that the type marked in the > partition table is the actual filesystem type. Intermediate cases are > very hard to detect reliably. > -Nathan > _______________________________________________ > > I am installing many different operating systems . One of the important problems is when "Use entire disk" is selected , some of the installers are still searching valid partitions on disk and failing miserably because there does not exist any one ( because unit is new or corrupted ) or there are some partitions , etc. remained from another different operating system . My opinion is that the first question should be to select an option among "Use entire disk" or "Use existing file systems" . alternatives , only search valid file system(s) when "Use existing file systems" is selected . When "Use entire disk" is selected , directly apply file systems creations by just after determining the geometry of the unit under consideration . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-sysinstall@FreeBSD.ORG Fri Aug 30 12:46:50 2013 Return-Path: Delivered-To: freebsd-sysinstall@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F03ACE7E; Fri, 30 Aug 2013 12:46:50 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 860A22190; Fri, 30 Aug 2013 12:46:50 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r7UCkmxm097119; Fri, 30 Aug 2013 06:46:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r7UCkmZ3097116; Fri, 30 Aug 2013 06:46:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 30 Aug 2013 06:46:48 -0600 (MDT) From: Warren Block To: Nathan Whitehorn Subject: Re: Bug in bsdinstall (fs found where not present) In-Reply-To: <52200CEB.9030101@freebsd.org> Message-ID: References: <521FBC34.4070604@freebsd.org> <52200CEB.9030101@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Fri, 30 Aug 2013 06:46:48 -0600 (MDT) Cc: freebsd-sysinstall@FreeBSD.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 12:46:51 -0000 On Thu, 29 Aug 2013, Nathan Whitehorn wrote: > On 08/29/13 17:02, Warren Block wrote: >> On Thu, 29 Aug 2013, Nathan Whitehorn wrote: >> >>> On 08/29/13 14:04, Warren Block wrote: >>>>> From a 9.2-PRERELEASE snapshot, go into the shell, create a GPT disk >>>> layout with a bunch of partitions for filesystems and swap. Exit the >>>> shell and run the installer. >>>> >>>> Go through each partition setting a mount point. Tell bsdinstall to >>>> continue. It reports that the / partition has a preexisting >>>> filesystem (it does not, in fact; this disk had a mishmash of MBR and >>>> NTFS on it). >>>> >>>> Tell bsdinstall to continue anyway. It does, and then reports that it >>>> can't mount /dev/ada0p2 on /mnt, presumably because, contrary to the >>>> misleading and incorrect error message, there is no filesystem on >>>> there. >>>> >>>> The install fails, try again, entering all the mount points, and it >>>> will fail the same. >>>> >>>> Short term solution: newfs the / partition, so there really is a >>>> filesystem there for bsdinstall to detect and warn about. Then it >>>> works. >>> >>> bsdinstall has no way to detect whether or not you already have UFS in a >>> freebsd-ufs file system. It assumes, when not given contrary >>> information, that a partition that exists is initialized. There does not >>> seem to be a way around this. If you have any ideas, those would of >>> course be helpful. >> >> file(1) works well for detecting filesystems. >> >> For that matter, what is bsdinstall doing now that makes it say there >> is a filesystem on a partition? Maybe the message is misleading. > > What that actually means is that the partition exists. (file doesn't > work on block devices, by the way) -s is needed for special files: # file -s /dev/ada0p2 /dev/ada0p2: Unix Fast File system [v2] (little-endian) last mounted ... To identify some common cases, I've been using this for a while: # return a file type string for a devnode fstype () { case `file -s $1 | egrep -o 'FAT|NTFS|EXT2|ISO 9660|Unix Fast File system' | tr ' ' _` in FAT*) printf "msdosfs" ;; NTFS*) printf "ntfs" ;; EXT2*) printf "ext2fs" ;; ISO_9660*) printf "cd9660" ;; Unix_Fast_File_system*) printf "ufs" ;; esac } From owner-freebsd-sysinstall@FreeBSD.ORG Fri Aug 30 13:31:50 2013 Return-Path: Delivered-To: freebsd-sysinstall@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6C74691 for ; Fri, 30 Aug 2013 13:31:50 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from smtpauth3.wiscmail.wisc.edu (wmauth3.doit.wisc.edu [144.92.197.226]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 415B9254F for ; Fri, 30 Aug 2013 13:31:50 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth3.wiscmail.wisc.edu by smtpauth3.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MSC00K00H82SC00@smtpauth3.wiscmail.wisc.edu> for freebsd-sysinstall@freebsd.org; Fri, 30 Aug 2013 08:31:43 -0500 (CDT) X-Spam-PmxInfo: Server=avs-3, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2013.8.30.131815, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (172-12-164-50.lightspeed.wlfrct.sbcglobal.net [172.12.164.50]) by smtpauth3.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MSC00JSCIWR9010@smtpauth3.wiscmail.wisc.edu>; Fri, 30 Aug 2013 08:31:41 -0500 (CDT) Message-id: <52209EBB.7080703@freebsd.org> Date: Fri, 30 Aug 2013 06:31:39 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130811 Thunderbird/17.0.8 To: Mehmet Erol Sanliturk Subject: Re: Bug in bsdinstall (fs found where not present) References: <521FBC34.4070604@freebsd.org> <52200CEB.9030101@freebsd.org> In-reply-to: X-Enigmail-Version: 1.5.1 Cc: freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Sysinstall Work List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Aug 2013 13:31:50 -0000 On 08/29/13 22:39, Mehmet Erol Sanliturk wrote: > > > > On Thu, Aug 29, 2013 at 11:09 PM, Nathan Whitehorn > > wrote: > > On 08/29/13 17:02, Warren Block wrote: > > On Thu, 29 Aug 2013, Nathan Whitehorn wrote: > > > >> On 08/29/13 14:04, Warren Block wrote: > >>>> From a 9.2-PRERELEASE snapshot, go into the shell, create a > GPT disk > >>> layout with a bunch of partitions for filesystems and swap. > Exit the > >>> shell and run the installer. > >>> > >>> Go through each partition setting a mount point. Tell > bsdinstall to > >>> continue. It reports that the / partition has a preexisting > >>> filesystem (it does not, in fact; this disk had a mishmash of > MBR and > >>> NTFS on it). > >>> > >>> Tell bsdinstall to continue anyway. It does, and then reports > that it > >>> can't mount /dev/ada0p2 on /mnt, presumably because, contrary > to the > >>> misleading and incorrect error message, there is no filesystem on > >>> there. > >>> > >>> The install fails, try again, entering all the mount points, > and it > >>> will fail the same. > >>> > >>> Short term solution: newfs the / partition, so there really is a > >>> filesystem there for bsdinstall to detect and warn about. Then it > >>> works. > >> > >> bsdinstall has no way to detect whether or not you already have > UFS in a > >> freebsd-ufs file system. It assumes, when not given contrary > >> information, that a partition that exists is initialized. There > does not > >> seem to be a way around this. If you have any ideas, those would of > >> course be helpful. > > > > file(1) works well for detecting filesystems. > > > > For that matter, what is bsdinstall doing now that makes it say > there > > is a filesystem on a partition? Maybe the message is misleading. > > What that actually means is that the partition exists. (file doesn't > work on block devices, by the way) I'm happy to change the error > message. The default behavior is that, like partitioners on all other > operating systems, it treats creating partitions and running newfs as > intimately linked activities -- similarly, that the type marked in the > partition table is the actual filesystem type. Intermediate cases are > very hard to detect reliably. > -Nathan > _______________________________________________ > > > > > I am installing many different operating systems . > > One of the important problems is when > > "Use entire disk" > > is selected , some of the installers are still searching valid > partitions on disk > and failing miserably because there does not exist any one ( because > unit is new or corrupted ) or there are some partitions , etc. > remained from another different operating system . > > My opinion is that the first question should be to select an option among > > "Use entire disk" or > "Use existing file systems" . > > alternatives , only search valid file system(s) when "Use existing > file systems" is > selected . > > When "Use entire disk" is selected , directly apply file systems > creations by just > after determining the geometry of the unit under consideration . I agree with you -- that is exactly what the installer does in this case. -Nathan