Holy cow I'm really stupid today.
Of course you meant with a closing } not an opening.
I'll copy
Code: Select all
menuentry 'MX 21.2.1 Wildflower' --class mx --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-7a86bd5b-d3a6-45ae-9a0d-45b813ee884f' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_gpt
insmod btrfs
set root='hd2,gpt3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd2,gpt3 --hint-efi=hd2,gpt3 --hint-baremetal=ahci2,gpt3 7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
else
search --no-floppy --fs-uuid --set=root 7a86bd5b-d3a6-45ae-9a0d-45b813ee884f
fi
echo 'Loading Linux 6.0.0-6mx-amd64 ...'
linux /@/boot/vmlinuz-6.0.0-6mx-amd64 root=UUID=7a86bd5b-d3a6-45ae-9a0d-45b813ee884f ro rootflags=subvol=@ quiet splash
echo 'Loading initial ramdisk ...'
initrd /@/boot/initrd.img-6.0.0-6mx-amd64
}
into the custom.cfg file.
That should be correct now.
FYI, the next part begins with
submenu "advanced options"
followed by
menuentry "MX21 ... Linux 6.0.0 systemd "
These and more are not needed, right. Just the part I copy & pasted here.