From owner-freebsd-bugs@freebsd.org Mon Jul 4 04:49:39 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 88B6DB911F0 for ; Mon, 4 Jul 2016 04:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6DA5F250D for ; Mon, 4 Jul 2016 04:49:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u644ndQX001539 for ; Mon, 4 Jul 2016 04:49:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 210803] installerconfig: bsdinstall zfsboot requires ZFSBOOT_DISKS or it fails Date: Mon, 04 Jul 2016 04:49:39 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: laurieodgers83@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2016 04:49:39 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210803 Bug ID: 210803 Summary: installerconfig: bsdinstall zfsboot requires ZFSBOOT_DISKS or it fails Product: Base System Version: 10.3-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: laurieodgers83@gmail.com CC: freebsd-amd64@FreeBSD.org CC: freebsd-amd64@FreeBSD.org I am currently setting up a scripted interactive install using installercon= fig for a ZFS-on-root install of Freebsd 10.3. The preamble of installerconfig appears to work perfectly fine - hostname is set, network is set up, ZFS datasets are created and mounted to /mnt etc, however if I don't set "ZFSBOOT_DISKS=3Dada0" within installerconfig then t= he installation shows an error message at the very end and does not proceed wi= th my installerconfig script: "No root partition was found. The root FreeBSD partition must have a mountpoint of '/'."=20 The installer then kicks me to a login prompt of the live CD instead of proceeding with the rest of the installerscript. Note that all ZFS datasets are set up correctly and mounted - I am unsure w= hy the installer is complaining that nothing is mounted? I do not want to have= to set ZFS_BOOT_DISKS=3D as the user should be able to set this up themselves interactively. The preamble to my installerconfig is as follows: ############################## export DISTRIBUTIONS=3D"base.txz kernel.txz lib32.txz" export BSDINSTALL_CONFIGCURRENT=3D"yes" export BSDINSTALL_DISTDIR=3D"/usr/freebsd-dist/" export BSDINSTALL_CHROOT=3D"/mnt" export VAR_NONINTERACTIVE=3D"NO" export ZFSBOOT_DISKS=3D"" export ZFSBOOT_DATASETS=3D" # DATASET OPTIONS (comma or space separated; or both) # Boot Environment [BE] root and default boot dataset /ROOT mountpoint=3Dnone /ROOT/default mountpoint=3D/ # Compress /tmp, allow exec but not setuid /tmp mountpoint=3D/tmp,exec=3Don,setuid=3Doff # Don't mount /usr so that 'base' files go to the BEROOT /usr mountpoint=3D/usr,canmount=3Doff # Home directories separated so they are common to all BEs /usr/home # NB: /home is a symlink to /usr/home # Ports tree /usr/ports setuid=3Doff # Source tree (compressed) /usr/src # Create /var and friends /var mountpoint=3D/var,canmount=3Doff /var/audit exec=3Doff,setuid=3Doff /var/crash exec=3Doff,setuid=3Doff /var/log exec=3Doff,setuid=3Doff /var/mail atime=3Don /var/tmp setuid=3Doff # Create /tredly and friends /tredly mountpoint=3D/tredly /tredly/downloads mountpoint=3D/tredly/downloads /tredly/log mountpoint=3D/tredly/log /tredly/releases mountpoint=3D/tredly/releases /tredly/ptn mountpoint=3D/tredly/ptn # set up the releases datasets so that tredly init runs correctly during install /tredly/downloads/10.3-RELEASE=20=20=20=20=20=20=20=20=20 mountpoint=3D/tredly/downloads/10.3-RELEASE /tredly/releases/10.3-RELEASE=20=20=20=20=20=20=20=20=20=20 mountpoint=3D/tredly/releases/10.3-RELEASE # set up the default partition /tredly/ptn/default mountpoint=3D/tredly/ptn/default /tredly/ptn/default/cntr mountpoint=3D/tredly/ptn/defaul= t/cntr /tredly/ptn/default/data mountpoint=3D/tredly/ptn/defaul= t/data /tredly/ptn/default/log mountpoint=3D/tredly/ptn/defaul= t/log /tredly/ptn/default/psnt mountpoint=3D/tredly/ptn/defaul= t/psnt /tredly/ptn/default/remotecontainers=20=20=20 mountpoint=3D/tredly/ptn/default/remotecontainers " export ZFSBOOT_BEROOT_NAME=3DROOT export ZFSBOOT_BOOTFS_NAME=3Ddefault export ZFSINTERACTIVE=3Dtrue bsdinstall keymap bsdinstall hostname bsdinstall zfsboot bsdinstall checksum bsdinstall distextract bsdinstall netconfig bsdinstall config --=20 You are receiving this mail because: You are the assignee for the bug.=