Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 Nov 2025 20:25:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        sysinstall@FreeBSD.org
Subject:   [Bug 290901] bsdinstall: pciconf: /dev/pci: No such file or directory during install fwget
Message-ID:  <bug-290901-8135-iZhhw4lADK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-290901-8135@https.bugs.freebsd.org/bugzilla/>
References:  <bug-290901-8135@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290901

--- Comment #2 from Peter <freebsd@peterk.org> ---
Did some more testing today.        

During the 'partition' part of the bsdinstall,

If I do
  "Auto (ZFS)": 'devfs' is mounted on /mnt/dev on alt+F4 
  this was done in a VM because it uses the whole disk.

  I always choose "Shell" because I don't use the whole disk for "zroot", but a
smaller [gpt] partition.
  [ 15.0 BETA5 is p7, p2 is shared swap, p3 is 14-STABLE, p4 is 15.0 BETA1, p6
is data, etc, or on VMs I use separate disk for OS and only time I use auto
partitions ]

  It just occurred to me that "partition by hand" option also expects me to
mount devfs on /mnt/dev.

using the "Shell" option for partitioning on baremetal laptop:

So with 15.0-BETA5 on baremetal.
try 1:
  Did manual partitions, mounted them under /mnt:
  bsdinstall did the install
  no firmware and no /dev/pci

try 2:
  Did manual partitions, mounted them under /mnt
  mounted devfs under /mnt/dev
  bsdinstall did the install
  bsdinstall found the wifi and gpu firmware I needed.

So issue is my assumption that "Shell" only cared about manual
partitions/mounts, not me mounting devfs which I though bsdinstaller did after
partitions are done.

My shell script to for creating partitions and mounts was built from looking at
/var/log/bsdinstall_log.
That log file has nothing on devfs [14.x was when I was building my partition
scripts],
  and looking at my fstab right now running X/i3/shell/firefox I don't have
devfs in /etc/fstab, but it's mounted:

freeburg:$ grep devfs /etc/fstab
freeburg:$ mount | grep devfs
devfs on /dev (devfs)
freeburg:$ uname -a 
FreeBSD freeburg.ru.kupaet.com 15.0-BETA1 FreeBSD 15.0-BETA1
releng/15.0-n280655-36a923a476dc GENERIC amd64
freeburg:$

I guess I need to add devfs to my /etc/fstab, and add it to my partition script
[as /boot/efi was not in /var/log/bsdinstall_log either as i remember].

I say partition step should only care about partitions, and if devfs is not
mounted, mount it after partitions are setup.
  Also log that devfs is mounted.

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

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-290901-8135-iZhhw4lADK>