~/debian-upgrade-to-12# apt-get -o DPkg::Options::="--force-confnew" --reinstall install grub-efi-amd64 Reading package lists... Done Building dependency tree... Done Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded. Need to get 0 B/45.7 kB of archives. After this operation, 0 B of additional disk space will be used. Preconfiguring packages ... (Reading database ... 327719 files and directories currently installed.) Preparing to unpack .../grub-efi-amd64_2.06-13+deb12u1_amd64.deb ... Unpacking grub-efi-amd64 (2.06-13+deb12u1) over (2.06-13+deb12u1) ... Setting up grub-efi-amd64 (2.06-13+deb12u1) ... Installing for x86_64-efi platform. Installation finished. No error reported. Generating grub configuration file ... Found theme: /boot/grub/themes/minegrub/theme.txt Found background image: .background_cache.png Found linux image: /boot/vmlinuz-6.1.0-18-amd64 Found initrd image: /boot/initrd.img-6.1.0-18-amd64 Found linux image: /boot/vmlinuz-5.10.0-28-amd64 Found initrd image: /boot/initrd.img-5.10.0-28-amd64 Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Adding boot menu entry for UEFI Firmware Settings ... done Processing triggers for shim-signed:amd64 (1.39+15.7-1) ... ~/debian-upgrade-to-12# dpkg-reconfigure grub-efi-amd64 Installing for x86_64-efi platform. Installation finished. No error reported. Generating grub configuration file ... Found theme: /boot/grub/themes/minegrub/theme.txt Found background image: .background_cache.png Found linux image: /boot/vmlinuz-6.1.0-18-amd64 Found initrd image: /boot/initrd.img-6.1.0-18-amd64 Found linux image: /boot/vmlinuz-5.10.0-28-amd64 Found initrd image: /boot/initrd.img-5.10.0-28-amd64 Warning: os-prober will not be executed to detect other bootable partitions. Systems on them will not be added to the GRUB boot configuration. Check GRUB_DISABLE_OS_PROBER documentation entry. Adding boot menu entry for UEFI Firmware Settings ... done Processing triggers for shim-signed:amd64 (1.39+15.7-1) ... ~/debian-upgrade-to-12# update-grub Generating grub configuration file ... Found theme: /boot/grub/themes/minegrub/theme.txt Found background image: .background_cache.png Found linux image: /boot/vmlinuz-6.1.0-18-amd64 Found initrd image: /boot/initrd.img-6.1.0-18-amd64 Found linux image: /boot/vmlinuz-5.10.0-28-amd64 Found initrd image: /boot/initrd.img-5.10.0-28-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/nvme1n1p1@/EFI/Microsoft/Boot/bootmgfw.efi Adding boot menu entry for UEFI Firmware Settings ... done