#1034750 installation-reports: Automated install worked, but installed full desktop environment

#1034750#5
Date:
2023-04-23 10:49:44 UTC
From:
To:
(Please provide enough information to help the Debian
maintainers evaluate the report efficiently - e.g., by filling
in the sections below.)

Boot method: USB
Image version: debian-bookworm-DI-rc1-amd64-netinst.iso + custom grub.cfg
Date: 2023-04-23

Machine: Beelink U59 Pro
Partitions: <df -Tl will do; the raw partition table is preferred>

Filesystem     Type     1K-blocks    Used Available Use% Mounted on
udev           devtmpfs   8038444       0   8038444   0% /dev
tmpfs          tmpfs      1614724    1604   1613120   1% /run
/dev/sda2      ext4     489634808 4980640 459708660   2% /
tmpfs          tmpfs      8073612       0   8073612   0% /dev/shm
tmpfs          tmpfs         5120      12      5108   1% /run/lock
/dev/sda1      vfat        523244    5948    517296   2% /boot/efi
tmpfs          tmpfs      1614720      64   1614656   1% /run/user/113
tmpfs          tmpfs      1614720      52   1614668   1% /run/user/1000

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

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

Comments/Problems:
The installer says it tries to automatically select the network card with an active link, but I am not sure this worked correctly.
The machine has 2 Ethernet ports plus wifi, all were detected correctly but the installer selected the wireless interface as the default.

(and d-i netcfg/choose_interface select auto didn't seem to work).

A full desktop environment was installed without prompting but I think this is a side effect
of using priority=critical as a boot parameter.


Please make sure that any installation logs that you think would
be useful are attached to this report. (You can find them in the
installer system in /var/log/ and later on the installed system
under /var/log/installer.) Please compress large files using gzip.

#1034750#10
Date:
2023-04-23 12:09:59 UTC
From:
To:
I know this is the wrong way to do it, but d-i pkgsel/run_tasksel boolean false in my preseed.cfg was the easiest way for me to fix it.

Just the d-i netcfg/choose_interface select auto problem to go now.

This is possibly the wrong thread for it, IMO there needs to be a simple way to copy the SSH key/s provided by d-i network-console/authorized_keys_url to any/all created user accounts during installation, especially if I have d-i passwd/root-login boolean false set.

#1034750#15
Date:
2023-04-23 12:44:53 UTC
From:
To:
Am 23. April 2023 14:09:59 MESZ schrieb Adam Baxter <debian@voltagex.org>:

You should provide your preseed file and of course the
syslog from the Installation (compressed), to allow debugging.


Holger

#1034750#20
Date:
2023-04-24 02:08:28 UTC
From:
To:
Attached.

d-i anna/choose_modules string network-console
d-i preseed/early_command string anna-install network-console

d-i network-console/password-disabled boolean true
d-i network-console/authorized_keys_url string [removed]

d-i passwd/root-login boolean false
d-i passwd/user-fullname string voltagex
d-i passwd/username string voltagex

d-i passwd/user-password password [removed]
d-i passwd/user-password-again password [removed]

#Partitioner asks if we want to use UEFI mode - detecting CSM?
d-i partman-efi/non_efi_system boolean true

d-i apt-setup/contrib boolean true
d-i apt-setup/non-free boolean true
d-i mirror/http/mirror select deb.debian.org

d-i netcfg/choose_interface select auto

#The original didn't have this, but this stops the desktop environment being installed.
d-i pkgsel/run_tasksel boolean false

#1034750#25
Date:
2023-05-07 10:20:26 UTC
From:
To:
Hi,

"Adam Baxter" <debian@voltagex.org> wrote:

Yes, that's correct.
Using priority=critical leads to questions not being asked, if they have a
reasonable default value; and the default value for the "tasksel tasksel/first"
question is "Installing gnome desktop environment".
So you get Gnome, if you bypass that question :-)


"Adam Baxter" <debian@voltagex.org> wrote:

Setting
	tasksel tasksel/first multiselect standard
in your preseed file would also work (installing all "standard" packages,
and that's it; would lead to what's often called a "minimal Debian system").


Holger