It is much easier to edit manually on the spot on grub where I want to go in the drive, rather than installing a different partition just to have the right option available.fehlix wrote: Sat May 03, 2025 4:39 pmIt takes the grub.cfg for the 2nd os (which is actually for the 1st os, and assumes the grub.cfg is correct build for the 2nd os).calm-steam wrote: Sat May 03, 2025 4:17 pm On the second run, os-prober generates an entry for the second OS with the root of the first OS. Did you see this? This is clearly not how os-prober should behave, right? If it is "copying" the name right, why is it not copying also the path to root?
I think os-prober is not prepared for the constellation you setup the partitions with luks+lvm with two os on one shared /boot.
I'm not sure I can help you further. The only advice I can give you try separate /boot, which may help.
It is changing 'govinda-mx--linux' to 'govinda-avlinux', or viceversa, under root.
And this only happens on the second consecutive run of update-grub on the same OS.