#1037550 installation-reports: Command /usr/sbin/bootloader-config failed to finish in 600 seconds.

#1037550#5
Date:
2023-06-14 01:20:11 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: https://cdimage.debian.org/debian-cd/current/amd64/iso-dvd/debian-12.0.0-amd64-DVD-1.iso
Date: Mon Jun 12 10:36:38 2023

Machine: Dell Inspiron 5770 Laptop
Partitions: <df -Tl will do; the raw partition table is preferred>

Filesystem     Type      1K-blocks      Used  Available Use% Mounted on
udev           devtmpfs    8088576         0    8088576   0% /dev
tmpfs          tmpfs       1627092      2084    1625008   1% /run
/dev/sda13     ext4       29754436  11586460   16631160  42% /
tmpfs          tmpfs       8135448         0    8135448   0% /dev/shm
tmpfs          tmpfs          5120         8       5112   1% /run/lock
/dev/sda1      vfat        1045784    518720     527064  50% /boot/efi
tmpfs          tmpfs       1627088        96    1626992   1% /run/user/1000
/dev/sdc9      ext4       20466388  13429736    5971692  70% /media/chris/MJRO-KDE-WD
/dev/sdc6      ext4       20466388        24   19401404   1% /media/chris/DistroReady1
/dev/sdc8      ext4       20466388        24   19401404   1% /media/chris/DistroReady
/dev/sdc48     ext4       19548884        44   18483884   1% /media/chris/Photorec
/dev/sdc5      ext4       20466388  13859192    5542236  72% /media/chris/MJRO18.4-Xfce-WD
/dev/sdc44     ext4      360126524 333381292    8378772  98% /media/chris/FutureLinux-WD
/dev/sdc45     ext4      566548024 493761944   43933856  92% /media/chris/TS-HDD2-dev-sda
/dev/sdc7      ext4       20335316  15417904    3852460  81% /media/chris/2wayAdataDocs
/dev/sdc42     ext4       40973776   8434044   30426196  22% /media/chris/TSNitruxOriginal
/dev/sdc47     ext4      102101944  31031296   65811388  33% /media/chris/VeraMATE4VMs-WD
/dev/sdc41     ext4      102626052  32503136   64863664  34% /media/chris/Voyager4VMs-WD
/dev/sdc43     ext4      103023292  90935052    6828728  94% /media/chris/Ex-Adata-1
/dev/sdc46     ext4      145451076 132922788    5067068  97% /media/chris/TS-SSD2-dev-sdb
/dev/sdc49     ext4     1452125100        28 1378288068   1% /media/chris/DistroReady35GiB
/dev/sdc40     ext4       20466388         8   19401420   1% /media/chris/DistroReady2
/dev/sdc38     ext4       30787492  11722248   17475996  41% /media/chris/Mageia9Alpha-Fix
/dev/sdc37     ext4       20466388        24   19401404   1% /media/chris/DistroReady3
/dev/sdc32     ext4       20466256  12036940    7364356  63% /media/chris/LubuntuKudu-WD
/dev/sdc33     ext4       20466256  14898680    4502616  77% /media/chris/LinuxLite6.0-WD
/dev/sdc30     ext4       30787668        24   29198396   1% /media/chris/Leave4PhotoRec
/dev/sdc36     ext4       20466388        56   19401372   1% /media/chris/TestingTimeshift
/dev/sdc3      ext4       20466388        24   19401404   1% /media/chris/DistroReady5
/dev/sdc28     ext4       30787668   7192480   22005940  25% /media/chris/SpiralCinn-WD
/dev/sdc39     ext4       25627028  15380560    8919364  64% /media/chris/UlyanaCinn-WD
/dev/sdc31     ext4       20466256  11794924    7606372  61% /media/chris/XubuntuJammy-WD
/dev/sdc34     ext4       20466256   8774700   10626596  46% /media/chris/BunsenlabsHelium
/dev/sdc35     ext4       20466256  12948736    6452560  67% /media/chris/Jammy-GNOME-WD
/dev/sdc27     ext4       20466388        24   19401404   1% /media/chris/DistroReady6
/dev/sdc24     ext4       20466388        24   19401404   1% /media/chris/DistroReady7
/dev/sdc25     ext4       40973776  12348412   26511828  32% /media/chris/Swagarch
/dev/sdc4      ext4       20466388        24   19401404   1% /media/chris/DistroReady4
/dev/sdc26     ext4       20466388   9376144   10025284  49% /media/chris/Peppermint10-WD
/dev/sdc23     ext4       20466256   8955384   10445912  47% /media/chris/TrisquelMATE-WD
/dev/sdc29     btrfs      62914560  24299884   35962196  41% /media/chris/Garuda-Cinn-WD
/dev/sdc20     ext4       20466256   6770404   12630892  35% /media/chris/Gecko-Xfce-WD
/dev/sdc22     ext4       20466256  12302416    7098880  64% /media/chris/EmmabuntusXfceWD
/dev/sdc21     ext4       40973536  12503260   26356740  33% /media/chris/VanessaCinn-WD
/dev/sdc17     ext4       20466388        24   19401404   1% /media/chris/DistroReady8
/dev/sdc18     ext4       35942016  20946392   13144232  62% /media/chris/CLDC-22.0.1
/dev/sdc12     ext4       20466256   9210872   10190424  48% /media/chris/ParrotHOME-WD
/dev/sdc13     ext4       20466388        24   19401404   1% /media/chris/DistroReady9
/dev/sdc15     ext4       40973776        24   38860216   1% /media/chris/DistroReady40GiB
/dev/sdc1      ext4       20466388        24   19401404   1% /media/chris/DistroReady11
/dev/sdc10     ext4       20466388  12614432    6786996  66% /media/chris/MJRO-Cinn-WD
/dev/sdc11     ext4       20466388        24   19401404   1% /media/chris/DistroReady10
/dev/sdc14     ext4       20466388  10672596    8728832  56% /media/chris/ArcolinuxCinn-WD
/dev/sdc19     ext4        4996768    990380    3727860  21% /media/chris/5GB-DataStorage
/dev/sdc16     ext4       20466256  13598580    5802716  71% /media/chris/KubuntuJammy-WD
/dev/sda23     ext4       20466388  14400716    5000712  75% /media/chris/BullseyeCinn-HDD
/dev/sda22     ext4       20466388  15236356    4165072  79% /media/chris/BullseyeKDE-HDD
/dev/sda24     ext4       20466388  12746172    6655256  66% /media/chris/BullseyeXfce-HDD


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

Initial boot:           [O]
Detect network card:    [O]
Configure network:      [O]
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:    [O]
Install tasks:          [O]
Install boot loader:    [E]
Overall install:        [E]

Comments/Problems:

<Description of the install, in prose, and any thoughts, comments
      and ideas you had during the initial install.>

Install went fine to 68% then Error Installation Failed - Command /usr/sbin/bootloader-config failed to finish in 600 seconds

SUGGESTION - extend timeout for bootloader-config from 10 minutes to 60 minutes

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.

Not created because installer failed

#1037550#10
Date:
2023-06-14 01:45:42 UTC
From:
To:
Hi,

wizardfromoz <christurner1957@gmail.com> (2023-06-14):

Are you sure about the image you're using?

As far as I can see, bootloader-config is a calamares-specific command,
so is shipped on live images, and not on the installer images. The one
you linked to is about the latter.

Cc-ing debian-live@ as a heads-up.


Cheers,

#1037550#15
Date:
2023-06-14 02:50:40 UTC
From:
To:
Chris Turner <christurner1957@gmail.com> (2023-06-14):

That looks much more plausible, yes. :)

As you can see in that directory, live images exist in several variants,
and it's always best to know exactly which image one is reporting issues
against (sometimes it doesn't matter which desktop environment is used,
sometimes this means huge differences at run-time).

Putting back the bug report and the live team in the loop (for further
reference, using reply-all is best).


Cheers,

#1037550#20
Date:
2023-06-14 04:30:08 UTC
From:
To:
Thank you for the clarification.
#1037550#25
Date:
2024-10-07 15:40:08 UTC
From:
To:
I had this happen with a Bookworm 12.7 MATE live ISO:

https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/debian-live-12.7.0-amd64-mate.iso

In my case, it was due to bootloader-config needing to install some packages, and trying to reach out to a debian server without an internet connection. The process hangs at or about  "Need to get 4,631 kB of archives".

I created two LUKS encrypted partitions for / and /boot (ie. selected ext4 and checked [] encrypt).

In my case, I had a hardwired ethernet connection to a small embedded board (similar to a beaglebone black), and had not established a wifi connection within the live session. The ethernet connection defaults to being the default route, unless the connection is edited and "Only use this connection for resources on it's network" is selected (which of course doesn't happen in the installer).

I opened a MATE Terminal window and ran sudo bootloader-config --help, an option that bootloader config doesn't recognize. Instead, the program ran immediately.

That invocation of bootloader-config hung, Once I created a WiFi connection, the process immediately continued and successfully completed.

The strange thing is that it doesn't look like any remote packages were downloaded at all - bootloader-config just needed to get past the point where it insisted on talking to a debian server.

It's not clear whether this would have happened if I didn't have the ethernet connection that was not a gateway ...

root@debian:~# bootloader-config --help
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cryptsetup-initramfs is already the newest version (2:2.6.1-4~deb12u2).
cryptsetup is already the newest version (2:2.6.1-4~deb12u2).
keyutils is already the newest version (1.6.3-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Running bootloader-config...
 * Installing grub-efi (uefi)...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  efibootmgr grub-efi-amd64-bin grub-efi-amd64-signed grub2-common mokutil
  shim-helpers-amd64-signed shim-signed shim-signed-common shim-unsigned
The following NEW packages will be installed:
  efibootmgr grub-efi-amd64 grub-efi-amd64-bin grub-efi-amd64-signed
  grub2-common mokutil shim-helpers-amd64-signed shim-signed
  shim-signed-common shim-unsigned
0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,631 kB of archives.
After this operation, 40.1 MB of additional disk space will be used.
Ign:1 http://deb.debian.org/debian bookworm/main amd64 efibootmgr amd64 17-2
Ign:2 http://deb.debian.org/debian bookworm/main amd64 grub2-common amd64 2.06-13+deb12u1
Ign:3 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-bin amd64 2.06-13+deb12u1
Ign:4 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64 amd64 2.06-13+deb12u1
Ign:5 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-signed amd64 1+2.06+13+deb12u1
Ign:6 http://deb.debian.org/debian bookworm/main amd64 mokutil amd64 0.6.0-2
Ign:7 http://deb.debian.org/debian bookworm/main amd64 shim-unsigned amd64 15.8-1~deb12u1
Ign:8 http://deb.debian.org/debian bookworm/main amd64 shim-helpers-amd64-signed amd64 1+15.8+1~deb12u1
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shim-signed-common all 1.44~1+deb12u1+15.8-1~deb12u1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 shim-signed amd64 1.44~1+deb12u1+15.8-1~deb12u1
Ign:1 http://deb.debian.org/debian bookworm/main amd64 efibootmgr amd64 17-2
Ign:2 http://deb.debian.org/debian bookworm/main amd64 grub2-common amd64 2.06-13+deb12u1
Ign:3 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-bin amd64 2.06-13+deb12u1
Ign:4 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64 amd64 2.06-13+deb12u1
Ign:5 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-signed amd64 1+2.06+13+deb12u1
Ign:6 http://deb.debian.org/debian bookworm/main amd64 mokutil amd64 0.6.0-2
Ign:7 http://deb.debian.org/debian bookworm/main amd64 shim-unsigned amd64 15.8-1~deb12u1
Ign:8 http://deb.debian.org/debian bookworm/main amd64 shim-helpers-amd64-signed amd64 1+15.8+1~deb12u1
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shim-signed-common all 1.44~1+deb12u1+15.8-1~deb12u1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 shim-signed amd64 1.44~1+deb12u1+15.8-1~deb12u1
Ign:1 http://deb.debian.org/debian bookworm/main amd64 efibootmgr amd64 17-2
Ign:2 http://deb.debian.org/debian bookworm/main amd64 grub2-common amd64 2.06-13+deb12u1
Ign:3 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-bin amd64 2.06-13+deb12u1
Ign:4 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64 amd64 2.06-13+deb12u1
Ign:5 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-signed amd64 1+2.06+13+deb12u1
Ign:6 http://deb.debian.org/debian bookworm/main amd64 mokutil amd64 0.6.0-2
Ign:7 http://deb.debian.org/debian bookworm/main amd64 shim-unsigned amd64 15.8-1~deb12u1
Ign:8 http://deb.debian.org/debian bookworm/main amd64 shim-helpers-amd64-signed amd64 1+15.8+1~deb12u1
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shim-signed-common all 1.44~1+deb12u1+15.8-1~deb12u1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 shim-signed amd64 1.44~1+deb12u1+15.8-1~deb12u1
Ign:1 http://deb.debian.org/debian bookworm/main amd64 efibootmgr amd64 17-2
Ign:2 http://deb.debian.org/debian bookworm/main amd64 grub2-common amd64 2.06-13+deb12u1
Ign:3 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-bin amd64 2.06-13+deb12u1
Ign:4 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64 amd64 2.06-13+deb12u1
Ign:5 http://deb.debian.org/debian bookworm/main amd64 grub-efi-amd64-signed amd64 1+2.06+13+deb12u1
Ign:6 http://deb.debian.org/debian bookworm/main amd64 mokutil amd64 0.6.0-2
Ign:7 http://deb.debian.org/debian bookworm/main amd64 shim-unsigned amd64 15.8-1~deb12u1
Get:1 file:/run/live/medium bookworm/main amd64 efibootmgr amd64 17-2 [27.6 kB]
Ign:8 http://deb.debian.org/debian bookworm/main amd64 shim-helpers-amd64-signed amd64 1+15.8+1~deb12u1
Ign:9 http://deb.debian.org/debian bookworm/main amd64 shim-signed-common all 1.44~1+deb12u1+15.8-1~deb12u1
Ign:10 http://deb.debian.org/debian bookworm/main amd64 shim-signed amd64 1.44~1+deb12u1+15.8-1~deb12u1
Get:2 file:/run/live/medium bookworm/main amd64 grub2-common amd64 2.06-13+deb12u1 [614 kB]
Get:3 file:/run/live/medium bookworm/main amd64 grub-efi-amd64-bin amd64 2.06-13+deb12u1 [1,574 kB]
Get:4 file:/run/live/medium bookworm/main amd64 grub-efi-amd64 amd64 2.06-13+deb12u1 [45.7 kB]
Get:5 file:/run/live/medium bookworm/main amd64 grub-efi-amd64-signed amd64 1+2.06+13+deb12u1 [1,259 kB]
Get:6 file:/run/live/medium bookworm/main amd64 mokutil amd64 0.6.0-2 [26.9 kB]
Get:7 file:/run/live/medium bookworm/main amd64 shim-unsigned amd64 15.8-1~deb12u1 [440 kB]
Get:8 file:/run/live/medium bookworm/main amd64 shim-helpers-amd64-signed amd64 1+15.8+1~deb12u1 [301 kB]
Get:9 file:/run/live/medium bookworm/main amd64 shim-signed-common all 1.44~1+deb12u1+15.8-1~deb12u1 [13.6 kB]
Get:10 file:/run/live/medium bookworm/main amd64 shim-signed amd64 1.44~1+deb12u1+15.8-1~deb12u1 [329 kB]
Preconfiguring packages ...
E: Can not write log (Is /dev/pts mounted?) - posix_openpt (19: No such device)
Selecting previously unselected package efibootmgr.
(Reading database ... 292775 files and directories currently installed.)
Preparing to unpack .../0-efibootmgr_17-2_amd64.deb ...
Unpacking efibootmgr (17-2) ...
Selecting previously unselected package grub2-common.
Preparing to unpack .../1-grub2-common_2.06-13+deb12u1_amd64.deb ...
Unpacking grub2-common (2.06-13+deb12u1) ...
Selecting previously unselected package grub-efi-amd64-bin.
Preparing to unpack .../2-grub-efi-amd64-bin_2.06-13+deb12u1_amd64.deb ...
Unpacking grub-efi-amd64-bin (2.06-13+deb12u1) ...
Selecting previously unselected package grub-efi-amd64.
Preparing to unpack .../3-grub-efi-amd64_2.06-13+deb12u1_amd64.deb ...
Unpacking grub-efi-amd64 (2.06-13+deb12u1) ...
Selecting previously unselected package grub-efi-amd64-signed.
Preparing to unpack .../4-grub-efi-amd64-signed_1+2.06+13+deb12u1_amd64.deb ...
Unpacking grub-efi-amd64-signed (1+2.06+13+deb12u1) ...
Selecting previously unselected package mokutil.
Preparing to unpack .../5-mokutil_0.6.0-2_amd64.deb ...
Unpacking mokutil (0.6.0-2) ...
Selecting previously unselected package shim-unsigned:amd64.
Preparing to unpack .../6-shim-unsigned_15.8-1~deb12u1_amd64.deb ...
Unpacking shim-unsigned:amd64 (15.8-1~deb12u1) ...
Selecting previously unselected package shim-helpers-amd64-signed.
Preparing to unpack .../7-shim-helpers-amd64-signed_1+15.8+1~deb12u1_amd64.deb ...
Unpacking shim-helpers-amd64-signed (1+15.8+1~deb12u1) ...
Selecting previously unselected package shim-signed-common.
Preparing to unpack .../8-shim-signed-common_1.44~1+deb12u1+15.8-1~deb12u1_all.deb ...
Unpacking shim-signed-common (1.44~1+deb12u1+15.8-1~deb12u1) ...
Selecting previously unselected package shim-signed:amd64.
Preparing to unpack .../9-shim-signed_1.44~1+deb12u1+15.8-1~deb12u1_amd64.deb ...
Unpacking shim-signed:amd64 (1.44~1+deb12u1+15.8-1~deb12u1) ...
Setting up efibootmgr (17-2) ...
Setting up mokutil (0.6.0-2) ...
Setting up grub-efi-amd64-signed (1+2.06+13+deb12u1) ...
Setting up grub2-common (2.06-13+deb12u1) ...
Setting up shim-signed-common (1.44~1+deb12u1+15.8-1~deb12u1) ...
No DKMS packages installed: not changing Secure Boot validation state.
Setting up grub-efi-amd64-bin (2.06-13+deb12u1) ...
Setting up shim-unsigned:amd64 (15.8-1~deb12u1) ...
Setting up grub-efi-amd64 (2.06-13+deb12u1) ...

Creating config file /etc/default/grub with new version
Installing for x86_64-efi platform.
grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.
Failed: grub-install --target=x86_64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up shim-helpers-amd64-signed (1+15.8+1~deb12u1) ...
Installing for x86_64-efi platform.
grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.
Failed: grub-install --target=x86_64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
Setting up shim-signed:amd64 (1.44~1+deb12u1+15.8-1~deb12u1) ...
Installing for x86_64-efi platform.
grub-install: error: attempt to install to encrypted disk without cryptodisk enabled. Set `GRUB_ENABLE_CRYPTODISK=y' in file `/etc/default/grub'.
Failed: grub-install --target=x86_64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
No DKMS packages installed: not changing Secure Boot validation state.
Processing triggers for man-db (2.11.2-2) ...
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.1.0-25-amd64
Found initrd image: /boot/initrd.img-6.1.0-25-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
done