Package: grub-common Version: 2.06-13 Severity: normal Dear Maintainer,
I have edited /etc/default/grub on my system to include the following line: GRUB_DISABLE_OS_PROBER=false When installing OS updates, at least through gnome's "Install updates before shutting down" option, possibly even through `apt upgrade`, this line gets commented out (the line start with a # character) and the dual-boot Windows installation no longer shows up in the grub boot menu. Editing the file, removing the # character, and running update-grub makes the Windows entry show up again. I actually expect this file to not be overwritten by an upgrade if it has been edited, like most other files. -- Package-specific info: *********************** BEGIN /proc/mounts /dev/mapper/victoria--vg-root / ext4 rw,relatime,errors=remount-ro 0 0 /dev/nvme0n1p2 /boot ext2 rw,relatime 0 0 /dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/grub.cfg # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### if [ -s $prefix/grubenv ]; then set have_grubenv=true load_env fi if [ "${next_entry}" ] ; then set default="${next_entry}" set next_entry= save_env next_entry set boot_once=true else set default="0" fi if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_gpt insmod lvm insmod ext2 set root='lvmid/7IC92I-9piw-1VMZ-rezW-IwQt-dBvg-01y43w/ShfFzk-rWsb-VjRV-Lhy2-RNEz-V5h1-fP9eYW' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='lvmid/7IC92I-9piw-1VMZ-rezW-IwQt-dBvg-01y43w/ShfFzk-rWsb-VjRV-Lhy2-RNEz-V5h1-fP9eYW' 1558c0ed-75ea-4844-93c2-3a2ee86f0bcc else search --no-floppy --fs-uuid --set=root 1558c0ed-75ea-4844-93c2-3a2ee86f0bcc fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_output gfxterm if [ "${recordfail}" = 1 ] ; then set timeout=30 else if [ x$feature_timeout_style = xy ] ; then set timeout_style=menu set timeout=5 # Fallback normal timeout code in case the timeout_style feature is # unavailable. else set timeout=5 fi fi ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/05_debian_theme ### insmod part_gpt insmod lvm insmod ext2 set root='lvmid/7IC92I-9piw-1VMZ-rezW-IwQt-dBvg-01y43w/ShfFzk-rWsb-VjRV-Lhy2-RNEz-V5h1-fP9eYW' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint='lvmid/7IC92I-9piw-1VMZ-rezW-IwQt-dBvg-01y43w/ShfFzk-rWsb-VjRV-Lhy2-RNEz-V5h1-fP9eYW' 1558c0ed-75ea-4844-93c2-3a2ee86f0bcc else search --no-floppy --fs-uuid --set=root 1558c0ed-75ea-4844-93c2-3a2ee86f0bcc fi insmod png if background_image /usr/share/desktop-base/emerald-theme/grub/grub-16x9.png; then set color_normal=white/black set color_highlight=black/white else set menu_color_normal=cyan/blue set menu_color_highlight=white/blue fi ### END /etc/grub.d/05_debian_theme ### ### BEGIN /etc/grub.d/10_linux ### function gfxmode { set gfxpayload="${1}" } set linux_gfx_mode= export linux_gfx_mode menuentry 'Debian GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root d4ff0e89-93cb-419e-8e91-49ce7b5777d1 echo 'Loading Linux 6.1.0-9-amd64 ...' linux /vmlinuz-6.1.0-9-amd64 root=/dev/mapper/victoria--vg-root ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-6.1.0-9-amd64 } submenu 'Advanced options for Debian GNU/Linux' $menuentry_id_option 'gnulinux-advanced-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { menuentry 'Debian GNU/Linux, with Linux 6.1.0-9-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-9-amd64-advanced-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root d4ff0e89-93cb-419e-8e91-49ce7b5777d1 echo 'Loading Linux 6.1.0-9-amd64 ...' linux /vmlinuz-6.1.0-9-amd64 root=/dev/mapper/victoria--vg-root ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-6.1.0-9-amd64 } menuentry 'Debian GNU/Linux, with Linux 6.1.0-9-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-9-amd64-recovery-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root d4ff0e89-93cb-419e-8e91-49ce7b5777d1 echo 'Loading Linux 6.1.0-9-amd64 ...' linux /vmlinuz-6.1.0-9-amd64 root=/dev/mapper/victoria--vg-root ro single echo 'Loading initial ramdisk ...' initrd /initrd.img-6.1.0-9-amd64 } menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-7-amd64-advanced-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root d4ff0e89-93cb-419e-8e91-49ce7b5777d1 echo 'Loading Linux 6.1.0-7-amd64 ...' linux /vmlinuz-6.1.0-7-amd64 root=/dev/mapper/victoria--vg-root ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-6.1.0-7-amd64 } menuentry 'Debian GNU/Linux, with Linux 6.1.0-7-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-7-amd64-recovery-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root d4ff0e89-93cb-419e-8e91-49ce7b5777d1 echo 'Loading Linux 6.1.0-7-amd64 ...' linux /vmlinuz-6.1.0-7-amd64 root=/dev/mapper/victoria--vg-root ro single echo 'Loading initial ramdisk ...' initrd /initrd.img-6.1.0-7-amd64 } menuentry 'Debian GNU/Linux, with Linux 6.1.0-3-amd64' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-3-amd64-advanced-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root d4ff0e89-93cb-419e-8e91-49ce7b5777d1 echo 'Loading Linux 6.1.0-3-amd64 ...' linux /vmlinuz-6.1.0-3-amd64 root=/dev/mapper/victoria--vg-root ro quiet echo 'Loading initial ramdisk ...' initrd /initrd.img-6.1.0-3-amd64 } menuentry 'Debian GNU/Linux, with Linux 6.1.0-3-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-6.1.0-3-amd64-recovery-1558c0ed-75ea-4844-93c2-3a2ee86f0bcc' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root d4ff0e89-93cb-419e-8e91-49ce7b5777d1 echo 'Loading Linux 6.1.0-3-amd64 ...' linux /vmlinuz-6.1.0-3-amd64 root=/dev/mapper/victoria--vg-root ro single echo 'Loading initial ramdisk ...' initrd /initrd.img-6.1.0-3-amd64 } } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/30_os-prober ### menuentry 'Windows Boot Manager (on /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-efi-34D3-A60F' { insmod part_gpt insmod fat set root='hd1,gpt1' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd1,gpt1 --hint-efi=hd1,gpt1 --hint-baremetal=ahci1,gpt1 34D3-A60F else search --no-floppy --fs-uuid --set=root 34D3-A60F fi chainloader /efi/Microsoft/Boot/bootmgfw.efi } ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/30_uefi-firmware ### menuentry 'UEFI Firmware Settings' $menuentry_id_option 'uefi-firmware' { fwsetup } ### END /etc/grub.d/30_uefi-firmware ### ### BEGIN /etc/grub.d/35_fwupd ### ### END /etc/grub.d/35_fwupd ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg fi ### END /etc/grub.d/41_custom ### *********************** END /boot/grub/grub.cfg *********************** BEGIN /proc/mdstat cat: /proc/mdstat: No such file or directory *********************** END /proc/mdstat *********************** BEGIN LVM --- Volume group --- VG Name victoria-vg System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 2 Max PV 0 Cur PV 1 Act PV 1 VG Size <1.82 TiB PE Size 4.00 MiB Total PE 476681 Alloc PE / Size 476681 / <1.82 TiB Free PE / Size 0 / 0 VG UUID 7IC92I-9piw-1VMZ-rezW-IwQt-dBvg-01y43w --- Physical volume --- PV Name /dev/nvme0n1p3 VG Name victoria-vg PV Size <1.82 TiB / not usable 4.00 MiB Allocatable yes (but full) PE Size 4.00 MiB Total PE 476681 Free PE 0 Allocated PE 476681 PV UUID MDTYhG-7VxF-RE4l-CiD4-zYXz-rA9y-gBMVD8 --- Logical volume --- LV Path /dev/victoria-vg/root LV Name root VG Name victoria-vg LV UUID ShfFzk-rWsb-VjRV-Lhy2-RNEz-V5h1-fP9eYW LV Write Access read/write LV Creation host, time victoria, 2023-02-08 07:51:27 +0100 LV Status available # open 1 LV Size <1.82 TiB Current LE 476437 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:0 --- Logical volume --- LV Path /dev/victoria-vg/swap_1 LV Name swap_1 VG Name victoria-vg LV UUID tuyj3t-wOZ4-rZSp-j4hl-hsID-zufU-Ki4aNN LV Write Access read/write LV Creation host, time victoria, 2023-02-08 07:51:27 +0100 LV Status available # open 2 LV Size 976.00 MiB Current LE 244 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 254:1 *********************** END LVM *********************** BEGIN /dev/disk/by-id total 0 lrwxrwxrwx 1 root root 9 Jun 6 19:14 ata-HL-DT-ST_BD-RE_BH10LS30_K97A6LH0715 -> ../../sr0 lrwxrwxrwx 1 root root 9 Jun 6 19:14 ata-SAMSUNG_SSD_830_Series_S0Y0NEAC600540 -> ../../sdb lrwxrwxrwx 1 root root 10 Jun 6 19:14 ata-SAMSUNG_SSD_830_Series_S0Y0NEAC600540-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 ata-SAMSUNG_SSD_830_Series_S0Y0NEAC600540-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 10 Jun 6 19:14 ata-SAMSUNG_SSD_830_Series_S0Y0NEAC600540-part3 -> ../../sdb3 lrwxrwxrwx 1 root root 10 Jun 6 19:14 ata-SAMSUNG_SSD_830_Series_S0Y0NEAC600540-part4 -> ../../sdb4 lrwxrwxrwx 1 root root 9 Jun 6 19:14 ata-ST2000DM001-1ER164_Z4Z3YGJZ -> ../../sdc lrwxrwxrwx 1 root root 10 Jun 6 19:14 ata-ST2000DM001-1ER164_Z4Z3YGJZ-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 9 Jun 6 19:14 ata-TOSHIBA_HDWD130_78CWMP2AS -> ../../sda lrwxrwxrwx 1 root root 10 Jun 6 19:14 ata-TOSHIBA_HDWD130_78CWMP2AS-part1 -> ../../sda1 lrwxrwxrwx 1 root root 9 Jun 6 19:14 ata-TOSHIBA_MQ01ABB200_84SPP1CRT -> ../../sdd lrwxrwxrwx 1 root root 10 Jun 6 19:14 ata-TOSHIBA_MQ01ABB200_84SPP1CRT-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 dm-name-victoria--vg-root -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jun 6 19:14 dm-name-victoria--vg-swap_1 -> ../../dm-1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 dm-uuid-LVM-7IC92I9piw1VMZrezWIwQtdBvg01y43wShfFzkrWsbVjRVLhy2RNEzV5h1fP9eYW -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jun 6 19:14 dm-uuid-LVM-7IC92I9piw1VMZrezWIwQtdBvg01y43wtuyj3twOZ4rZSpj4hlhsIDzufUKi4aNN -> ../../dm-1 lrwxrwxrwx 1 root root 15 Jun 6 19:14 lvm-pv-uuid-MDTYhG-7VxF-RE4l-CiD4-zYXz-rA9y-gBMVD8 -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 13 Jun 6 19:14 nvme-Samsung_SSD_970_EVO_Plus_2TB_S4J4NJ0N102065N -> ../../nvme0n1 lrwxrwxrwx 1 root root 15 Jun 6 19:14 nvme-Samsung_SSD_970_EVO_Plus_2TB_S4J4NJ0N102065N-part1 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Jun 6 19:14 nvme-Samsung_SSD_970_EVO_Plus_2TB_S4J4NJ0N102065N-part2 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 Jun 6 19:14 nvme-Samsung_SSD_970_EVO_Plus_2TB_S4J4NJ0N102065N-part3 -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 13 Jun 6 19:14 nvme-eui.002538510143d095 -> ../../nvme0n1 lrwxrwxrwx 1 root root 15 Jun 6 19:14 nvme-eui.002538510143d095-part1 -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 15 Jun 6 19:14 nvme-eui.002538510143d095-part2 -> ../../nvme0n1p2 lrwxrwxrwx 1 root root 15 Jun 6 19:14 nvme-eui.002538510143d095-part3 -> ../../nvme0n1p3 lrwxrwxrwx 1 root root 9 Jun 6 19:14 usb-Generic_STORAGE_DEVICE_000000000903-0:0 -> ../../sde lrwxrwxrwx 1 root root 9 Jun 6 19:14 wwn-0x50000395b2d879bf -> ../../sdd lrwxrwxrwx 1 root root 10 Jun 6 19:14 wwn-0x50000395b2d879bf-part1 -> ../../sdd1 lrwxrwxrwx 1 root root 9 Jun 6 19:14 wwn-0x5000039fe6e8bee7 -> ../../sda lrwxrwxrwx 1 root root 10 Jun 6 19:14 wwn-0x5000039fe6e8bee7-part1 -> ../../sda1 lrwxrwxrwx 1 root root 9 Jun 6 19:14 wwn-0x5000c500875c4fbd -> ../../sdc lrwxrwxrwx 1 root root 10 Jun 6 19:14 wwn-0x5000c500875c4fbd-part1 -> ../../sdc1 lrwxrwxrwx 1 root root 9 Jun 6 19:14 wwn-0x5002538043584d30 -> ../../sdb lrwxrwxrwx 1 root root 10 Jun 6 19:14 wwn-0x5002538043584d30-part1 -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 wwn-0x5002538043584d30-part2 -> ../../sdb2 lrwxrwxrwx 1 root root 10 Jun 6 19:14 wwn-0x5002538043584d30-part3 -> ../../sdb3 lrwxrwxrwx 1 root root 10 Jun 6 19:14 wwn-0x5002538043584d30-part4 -> ../../sdb4 *********************** END /dev/disk/by-id *********************** BEGIN /dev/disk/by-uuid total 0 lrwxrwxrwx 1 root root 10 Jun 6 19:14 1558c0ed-75ea-4844-93c2-3a2ee86f0bcc -> ../../dm-0 lrwxrwxrwx 1 root root 10 Jun 6 19:14 34D3-A60F -> ../../sdb1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 5EECD68DECD65EB9 -> ../../sdb3 lrwxrwxrwx 1 root root 15 Jun 6 19:14 6A68-8CEF -> ../../nvme0n1p1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 7A5886485886035D -> ../../sdc1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 886abc6c-ea9c-4a20-a540-5803d970de8b -> ../../sdd1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 A6CEE09BCEE064D1 -> ../../sdb4 lrwxrwxrwx 1 root root 10 Jun 6 19:14 abb82077-37ef-464c-9169-4541cdf0c598 -> ../../dm-1 lrwxrwxrwx 1 root root 10 Jun 6 19:14 af80ad9e-c2e4-45a7-bb9d-24e28ac1dfa1 -> ../../sda1 lrwxrwxrwx 1 root root 15 Jun 6 19:14 d4ff0e89-93cb-419e-8e91-49ce7b5777d1 -> ../../nvme0n1p2 *********************** END /dev/disk/by-uuid -- System Information: Debian Release: 12.0 APT prefers testing-security APT policy: (500, 'testing-security'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 6.1.0-9-amd64 (SMP w/16 CPU threads; PREEMPT) Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages grub-common depends on: ii gettext-base 0.21-12 ii libc6 2.36-9 ii libdevmapper1.02.1 2:1.02.185-2 ii libefiboot1 37-6 ii libefivar1 37-6 ii libfreetype6 2.12.1+dfsg-5 ii libfuse2 2.9.9-6+b1 ii liblzma5 5.4.1-0.2 Versions of packages grub-common recommends: ii os-prober 1.81 Versions of packages grub-common suggests: ii console-setup 1.221 ii desktop-base 12.0.6 pn grub-emu <none> pn mtools <none> pn multiboot-doc <none> pn xorriso <none> -- no debconf information