Am 17.09.25 um 00:18 schrieb Pascal Hambourg:

It looks like /dev/sdb2 has the wrong /boot/grub/grub.cfg which has menu entries for /dev/sdb1 ('Debian GNU/Linux 11 SSD', 'Linux 5.10.0-35-amd64').

Why the OS-prober is searching in grub.cfg to find out how to address the partition?
The name or UUID of the partition of the OS is clear when accessing it.

That's the bad solution to get the right information.
When this works for most of the installations it's fine, but it is not a good solution.

This is why linux-boot-prober cannot match the menu entries in this file with the 6.1.0-39 kernel image in the partition. It also looks like /vmlinuz and /initrg.img are real files instead of the usual symlinks pointing to the files in /boot.

That's what you find in / on /dev/sdb2

lrwxrwxrwx   1 root root   27  7. Sep 17:32 vmlinuz-> boot/vmlinuz-6.1.0-39-amd64 lrwxrwxrwx   1 root root   27  7. Sep 17:36 vmlinuz.old-> boot/vmlinuz-6.1.0-39-amd64

Try to boot into bookworm on /dev/sdb2, run update-grub, then reboot on trixie and run update-grub.

Before everything was booted with the grub from /dev/sdb2 and it did work.

Reply via email to