Date: Mon, 04 Jul 2016 04:49:39 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 210803] installerconfig: bsdinstall zfsboot requires ZFSBOOT_DISKS or it fails Message-ID: <bug-210803-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210803 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 installerconfig 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=ada0" within installerconfig then the installation shows an error message at the very end and does not proceed with my installerconfig script: "No root partition was found. The root FreeBSD partition must have a mountpoint of '/'." 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 why the installer is complaining that nothing is mounted? I do not want to have to set ZFS_BOOT_DISKS= as the user should be able to set this up themselves interactively. The preamble to my installerconfig is as follows: ############################## export DISTRIBUTIONS="base.txz kernel.txz lib32.txz" export BSDINSTALL_CONFIGCURRENT="yes" export BSDINSTALL_DISTDIR="/usr/freebsd-dist/" export BSDINSTALL_CHROOT="/mnt" export VAR_NONINTERACTIVE="NO" export ZFSBOOT_DISKS="" export ZFSBOOT_DATASETS=" # DATASET OPTIONS (comma or space separated; or both) # Boot Environment [BE] root and default boot dataset /ROOT mountpoint=none /ROOT/default mountpoint=/ # Compress /tmp, allow exec but not setuid /tmp mountpoint=/tmp,exec=on,setuid=off # Don't mount /usr so that 'base' files go to the BEROOT /usr mountpoint=/usr,canmount=off # 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=off # Source tree (compressed) /usr/src # Create /var and friends /var mountpoint=/var,canmount=off /var/audit exec=off,setuid=off /var/crash exec=off,setuid=off /var/log exec=off,setuid=off /var/mail atime=on /var/tmp setuid=off # Create /tredly and friends /tredly mountpoint=/tredly /tredly/downloads mountpoint=/tredly/downloads /tredly/log mountpoint=/tredly/log /tredly/releases mountpoint=/tredly/releases /tredly/ptn mountpoint=/tredly/ptn # set up the releases datasets so that tredly init runs correctly during install /tredly/downloads/10.3-RELEASE mountpoint=/tredly/downloads/10.3-RELEASE /tredly/releases/10.3-RELEASE mountpoint=/tredly/releases/10.3-RELEASE # set up the default partition /tredly/ptn/default mountpoint=/tredly/ptn/default /tredly/ptn/default/cntr mountpoint=/tredly/ptn/default/cntr /tredly/ptn/default/data mountpoint=/tredly/ptn/default/data /tredly/ptn/default/log mountpoint=/tredly/ptn/default/log /tredly/ptn/default/psnt mountpoint=/tredly/ptn/default/psnt /tredly/ptn/default/remotecontainers mountpoint=/tredly/ptn/default/remotecontainers " export ZFSBOOT_BEROOT_NAME=ROOT export ZFSBOOT_BOOTFS_NAME=default export ZFSINTERACTIVE=true bsdinstall keymap bsdinstall hostname bsdinstall zfsboot bsdinstall checksum bsdinstall distextract bsdinstall netconfig bsdinstall config -- You are receiving this mail because: You are the assignee for the bug.home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210803-8>
