Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jun 2022 17:14:41 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 264911] Error using installerconfig and PARTITIONS=DEFAULT on VirtIO Device
Message-ID:  <bug-264911-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264911

            Bug ID: 264911
           Summary: Error using installerconfig and PARTITIONS=3DDEFAULT on
                    VirtIO Device
           Product: Base System
           Version: 13.1-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: rsimmons0@gmail.com

This is for an unattended install on a VM on Proxmox. The manual install
process works just fine and results in a working FreeBSD instance. The sett=
ing
"PARTITIONS=3DDEFAULT" as specified in the bsdinstall(8) manual pages resul=
ts in
an error during the installation process. There is DEBUG output displayed w=
ith
the error. I had encountered this issue with FreeBSD 13.0 and I was able to
work around it by specifying "PARTITIONS=3Dvtbd0". However, even with that
specification in 13.1, the install stops with this error. I have provided
screenshots of the full error, and the first line is:

DEBUG: Running installation step: script /etc/installerconfig

The last line is:

/usr/libexec/bsdinstall/script: 3: Bad file descriptor

Screenshots:
https://i.imgur.com/d4H04ZY.png
https://i.imgur.com/R7NFLLq.png
https://i.imgur.com/80mpNhC.png
https://i.imgur.com/fVIJLh2.png
https://i.imgur.com/qqRzhtq.png
https://i.imgur.com/tzFvcOG.png

If you have Proxmox available for testing, the version I am running is the
current 7.2-4. And the following are the settings for the VM to create (the=
se
are via API).

config =3D {
    'name': 'test',
    'vmid': 100,
    'ostype': 'other',
    'memory': 4096,
    'cores': 4,
    'cdrom': 'local:iso/FreeBSD-13.1-RELEASE-auto.iso',
    'scsihw': 'virtio-scsi-pci',
    'virtio0': 'local-zfs:100,backup=3D0,format=3Dqcow2',
    'boot': 'order=3Dvirtio0;ide2',
    'net0': 'model=3De1000,bridge=3Dvmbr1'
}

The FreeBSD ISO is edited to just add /etc/installerconfig.

Everything above works flawlessly with 13.0 and PARTITIONS=3Dvtbd0

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



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