On Fri 25 Oct 2024 at 13:30:25 (-0700), pe...@easthope.ca wrote: > From: David Wright <deb...@lionunicorn.co.uk> > Date: Fri, 25 Oct 2024 14:13:50 -0500 > > You took out the tail! > > Appears we're at crossed purposes. You catted /etc/grub.d/40_custom. > I posted /boot/grub/grub.cfg. > > My 40_custom has the "exec tail" line as you posted and produces a > stanza in /boot/grub/grub.cfg appearing OK.
You're right, I should have read more carefully. Anyway, as I said before, you're booting into a /bookworm/ Grub, evidenced by its version number. It has the two top entries as unversioned, which means they're the default entries for the current version that wrote this grub.cfg (bookworm), and the bullseye versions beneath were found by os-prober. That suggests to me that you've got a bookworm system on the disk, which you used at some time, probably when you installed it, that wrote this grub.cfg and, without you realising, pointed the MBR at it. You've then used this (bookworm) menu to boot into bullseye, done what you narrated in your OP, not realising that you were working on a grub.cfg that's never going to be consulted unless and until you install Grub into the MBR /from bullseye/. So you need to boot into your bullseye system, and run # grub-install /dev/sdX where X is probably a, your first disk. Note that although you will then get Void into your menu, you'll probably lose the bookworm system entries because you've stopped running os-prober. I'm not sure why you want to avoid running os-prober: perhaps you don't. I think not running it might have been made the default at some point—or was that reverted? Dunno. I've always let it run. Cheers, David.