~/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 #cat /etc/apt/sources.list # deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main #deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main deb http://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib deb-src http://deb.debian.org/debian/ bookworm main non-free non-free-firmware contrib deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware # bookworm-updates, to get updates before a point release is made; # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware # This system was installed using small removable media # (e.g. netinst, live or single CD). The matching "deb cdrom" # entries were disabled at the end of the installation process. # For information about how to configure apt package sources, # see the sources.list(5) manual. # Backports for nvidia 470 drivers #deb http://deb.debian.org/debian bullseye-backports main contrib non-free