Bug#1114894: OS-Prober generates not running entries for Debian 12
Debian
debian at decotrain.de
Thu Sep 11 10:50:42 BST 2025
Package: grub2-common
Version: 2.12-9
Severity: important
Hello,
the OS-Prober does generate not running entries for Debian 12.
(Debian 8, 11 and 13 is working on other partitions.)
Instead of
linux /boot/vmlinuz-6.1.0-39-amd64
root=UUID=699e8929-8bdf-4b9f-9191-cf922ef52df3 ro quiet
initrd /boot/initrd.img-6.1.0-39-amd64
this entry is generated, that ends somehow in a shell without starting
the graphical interface
linux /vmlinuz root=/dev/sda2
initrd /initrd.img
The grub.cfg has been edited manually now and then it works for all
different OS-versions.
Best regards
karsten
-- Package-specific info:
*********************** BEGIN /proc/mounts
/dev/sdb5 / ext4 rw,noatime,discard,errors=remount-ro 0 0
/dev/sda6 /win ext4 rw,relatime 0 0
/dev/sda7 /srv ext4 rw,relatime 0 0
*********************** END /proc/mounts
*********************** BEGIN /boot/grub/grub.cfg
...
menuentry 'Debian GNU/Linux 13 (trixie) on SSD' --class debian --class
gnu-linux --class gnu --class os $menuentry_id_option
'gnulinux-simple-d3638439-6781-49a7-a8d7-4aa8d8b92b3a' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos5
--hint-efi=hd0,msdos5 --hint-baremetal=ahci0,msdos5
d3638439-6781-49a7-a8d7-4aa8d8b92b3a
else
search --no-floppy --fs-uuid --set=root
d3638439-6781-49a7-a8d7-4aa8d8b92b3a
fi
echo 'Loading Linux 6.12.43+deb13-amd64 ...'
linux /boot/vmlinuz-6.12.43+deb13-amd64
root=UUID=d3638439-6781-49a7-a8d7-4aa8d8b92b3a ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-6.12.43+deb13-amd64
}
...
menuentry 'Debian GNU/Linux 12 (bookworm) (on /dev/sdb2)' --class debian
--class gnu-linux --class gnu --class os $menuentry_id_option
'osprober-gnulinux-simple-699e8929-8bdf-4b9f-9191-cf922fe52df3' {
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos2
--hint-efi=hd1,msdos2 --hint-baremetal=ahci1,msdos2
699e8929-8bdf-4b9f-9191-cf922fe52df3
else
search --no-floppy --fs-uuid --set=root
699e8929-8bdf-4b9f-9191-cf922fe52df3
fi
linux /boot/vmlinuz-6.1.0-39-amd64 root=/dev/sdb2
initrd /boot/initrd.img-6.1.0-39-amd64
}
submenu 'Advanced options for Debian GNU/Linux 12 (bookworm) (on
/dev/sdb2)' $menuentry_id_option
'osprober-gnulinux-advanced-699e8929-8bdf-4b9f-9191-cf922fe52df3' {
menuentry 'Debian GNU/Linux 12 (bookworm) (on /dev/sdb2)' --class
gnu-linux --class gnu --class os $menuentry_id_option
'osprober-gnulinux-/boot/vmlinuz-6.1.0-39-amd64--699e8929-8bdf-4b9f-9191-cf922ef52df3'
{
insmod part_msdos
insmod ext2
set root='hd1,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint-bios=hd1,msdos2 --hint-efi=hd1,msdos2
--hint-baremetal=ahci1,msdos2 699e8929-8bdf-4b9f-9191-cf922ef52df3
else
search --no-floppy --fs-uuid --set=root
699e8929-8bdf-4b9f-9191-cf922ef52df3
fi
linux /boot/vmlinuz-6.1.0-39-amd64 root=/dev/sdb2
initrd /boot/initrd.img-6.1.0-39-amd64
}
}
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/30_uefi-firmware ###
if [ "$grub_platform" = "efi" ]; then
fwsetup --is-supported
if [ "$?" = 0 ]; then
menuentry 'UEFI Firmware Settings' $menuentry_id_option
'uefi-firmware' {
fwsetup
}
fi
fi
### END /etc/grub.d/30_uefi-firmware ###
### 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 /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root 9 Sep 11 11:24 ata -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 11 11:24 ata-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 11 11:24 ata-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 11 11:24 ata-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 11 11:24 ata-part4 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Sep 11 11:24 ata-part5 -> ../../sdb5
lrwxrwxrwx 1 root root 10 Sep 11 11:24 ata-part6 -> ../../sdb6
...
*********************** END /dev/disk/by-id
-- System Information:
Debian Release: 13.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.43+deb13-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE
not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages grub2-common depends on:
ii dpkg 1.22.21
ii grub-common 2.12-9
ii libc6 2.41-12
ii libdevmapper1.02.1 2:1.02.205-2
ii libefiboot1t64 38-3.1+b1
ii libefivar1t64 38-3.1+b1
ii liblzma5 5.8.1-1
grub2-common recommends no packages.
grub2-common suggests no packages.
-- no debconf information
More information about the Pkg-grub-devel
mailing list