#1034072 installation-reports: Preseed with hostname=auto gets stuck during install

#1034072#5
Date:
2023-04-07 22:29:18 UTC
From:
To:
Boot method: CD
Image version: https://cdimage.debian.org/cdimage/bookworm_di_rc1/amd64/iso-
cd/debian-bookworm-DI-rc1-amd64-netinst.iso
Date: 2023-04-07

Machine: PC Engines APU2, BIOS version v4.19.0.1, 3x Ethernet, 2x Wi-Fi
Conenctions: Network connectivity available on first (enp2s0) Ethernet jack
Partitions: n/a


Base System Installation Checklist:
[O] = OK, [E] = Error (please elaborate below), [ ] = didn't try it

Initial boot:           [O]
Detect network card:    [E]
Configure network:      [ ]
Detect media:           [ ]
Load installer modules: [ ]
Clock/timezone setup:   [ ]
User/password setup:    [ ]
Detect hard drives:     [ ]
Partition hard drives:  [ ]
Install base system:    [ ]
Install tasks:          [ ]
Install boot loader:    [ ]
Overall install:        [ ]

Comments/Problems:

Until in Bullseye and Bookworm Alpha 1, passing the arguments ...

/install.amd/vmlinuz auto=true priority=critical vga=off interface=auto
initrd=/install.amd/initrd.gz --- console=ttyS0,115200n8

... boots the installer and progresses on its own up to the point where it
needs to ask about the location of the preseed file ("Download debconf
preconfiguration file").

For Bookworm Alpha 2 and RC1 however, the installer, during the detection of
network link on each interface, once testing the Wi-Fi ones, complains about
the WPA passphrase being invalid:

[!]! Configure the network
Invalid passphrase
The WPA/WPA2 PSK passphrase was either too long (more than 64 characters) or
too short (less than 8 characters).

I can either chose "Continue" (presents the same error message again) or back
(which allows me to store the logs), but there seems to be no way of
progressing with the installation.

Possible workarounds:
 - Remove Wi-Fi cards from machine during installation
 - Specify interface to be used (e.g. interface=enp2s0)

#1034072#10
Date:
2023-04-07 23:15:44 UTC
From:
To:
Adjusting title since I suppose you spotted #1031643 and forgot to
change the title when filing this bug about something else.

Reto Schneider <spam1@reto-schneider.ch> (2023-04-08):

Alpha 2 is the first release with official support for firmware packages,
which is likely the triggering bit here: they show up and are usable now.

I'm not familiar with the netcfg code enough to suggest anything at the
moment (e.g. something that would notice no passphrases have been
specified, meaning one should skip the interface or prompt for a
passphrase?), but I'll add another workaround in passing:

Disable firmware support:
 - https://www.debian.org/releases/bookworm/amd64/ch02s02.en.html


Cheers,