Bug#1114894: OS-Prober generates not running entries for Debian 12

Pascal Hambourg pascal at plouf.fr.eu.org
Thu Sep 11 12:38:06 BST 2025


On 11/09/2025 at 11:50, Debian wrote:
> 
> this entry is generated, that ends somehow in a shell without starting 
> the graphical interface

What kind of shell ? grub shell, initramfs shell, emergency shell, login 
prompt ?

>          linux /vmlinuz root=/dev/sda2
>          initrd /initrd.img

Is it the exact generated entry ?
What is the output of linux-boot-prober /dev/sda2 (or whatever the 
correct partition is) ?

Incomplete entries with root=/dev/sd* instead of root=UUID can be 
generated if /boot/grub/grub.cfg is missing in the foreign system. But 
/vmlinuz is usually a symlink and linux-boot-prober fallback script 
should ignore symlinks.

> The grub.cfg has been edited manually now and then it works for all 
> different OS-versions.

Is this the edited menu entry ?

>      linux /boot/vmlinuz-6.1.0-39-amd64 root=/dev/sdb2
>      initrd /boot/initrd.img-6.1.0-39-amd64



More information about the Pkg-grub-devel mailing list