🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.bugs
Article #230

[Bug 300044] bsdinstall(8) non interactive mode broken

#230
From: bugzilla-noreply
Date: Sun, 25 Oct 2026 14:44
77 lines
3891 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300044

            Bug ID: 300044
           Summary: bsdinstall(8) non interactive mode broken
           Product: Base System
           Version: 15.1-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: vermaden@interia.pl

Hi,

I try to install FreeBSD in non interactive scripted way like that:

FreeBSD 15.1 ISO # cat /tmp/test

export nonInteractive="YES"
export ZFSBOOT_DISKS="nda0"
export ZFSBOOT_VDEV_TYPE=stripe
export ZFSBOOT_SWAP_SIZE=1g
export ZFSBOOT_BOOT_TYPE=BIOS+UEFI
export ZFSBOOT_POOL_NAME=sys
export ZFSBOOT_POOL_CREATE_OPTIONS="-O compression=on -O atime=off"
export ZFSBOOT_PARTITION_SCHEME=GPT
export ZFSBOOT_SWAP_ENCRYPTION=1
export BSDINSTALL_CHROOT=/mnt
export BSDINSTALL_PKG_REPOS_DIR="/usr/freebsd-packages/repos"
export COMPONENTS="base lib32"
#!/bin/sh
sysrc ifconfig_DEFAULT=DHCP
sysrc sshd_enable=YES

FreeBSD 15.1 ISO # bsdinstall script /tmp/test

... and I get this error:

"No disk(s) present to configure"

But 'nda0' disk is there and working:

FreeBSD 15.1 ISO # geom disk list
Geom name: nda0
Providers:
1. Name: nda0
   Mediasize: 21474836480 (20G)
   Sectorsize: 512
   Mode: r1w1e3
   descr: bhyve-NVMe
   lunid: 589cfc2012350001
   ident: NVME-4-0
   rotationrate: 0
   fwsectors: 0
   fwheads: 0

... and I am able to install FreeBSD perfectly fine on if in interactive way.

I suspect that 'f_device_find()' function /usr/share/bsdconfig/device.subr for
some reason does not add this 'nda0' disk to '$disks'.

Regards,
vermaden

-- 
You are receiving this mail because:
You are the assignee for the bug.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-300044-227@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.space.net!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.bugs
Subject: [Bug 300044] bsdinstall(8) non interactive mode broken
Date: Sun, 25 Oct 2026 14:44:31 +0000
Organization: Newsgate at muc.de e.V.
Sender: owner-freebsd-bugs@FreeBSD.org
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300044-227@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="33240"; mail-complaints-to="news-admin@muc.de"
X-Original-To: bugs@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1792939471;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=r9jJVPC6HZdwlr1OUs6LpsbN7R7U7gW+azD03I8Hc/I=;
	b=yWWoKssbt+BBR6JYCPx0kdwM3OmuSYUdRQmJa2ldjZnhLzuE7iQnlD4T1urtWxrRHO7npX
	4nsACfKB8v5Bf/rMdl/tQe8vc1BKCkDagnXajPt38E/z+JTANfXSAuUjzSaX6bTPg4wz19
	L63j8bX2rTZgXdAI4UxsseFFQOgZdHq1vEkfpitBZ6CRbaDmNdTrab8jQfOwU7CyvEjZJV
	jJqJP0MezGZiIiUIgamNQGE5Bvqaxy42bPcYVgRoaNZusPJQ4VhLgvApHtvENUfvvBGpWv
	5VIRU7P5f7q7YIEnTnm4yPR+XVZlkfSbysN58ILFXp67biX+84MIhCqkSADHhw==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes