Hello,
I’ve recently deleted my windows drive. However, the boot entry is still in grub.
I’ve also deleted /boot/efi/EFI/Microsoft, but windows is still shown even after doing rpm-ostree upgrade (which I think updates grub to change the kinoite entry to the new version).
What can I do to remove this ?
I’ve already tried sudo grub2-mkconfig -o /boot/grub2/grub.cfg but it doesn’t seem to works on immutable systems.
/usr/bin/grub2-probe : erreur : impossible d'obtenir le chemin canonique de « composefs ».
I’m assuming you have a “normal” install on an EFI system? Do you have /boot and /boot/efi partitions (check your /etc/fstab)?
If so, the command is $ sudo grub2-mkconfig -o /etc/grub2-efi.cfg
Edit:
Nevermind then.
Double edit:
I think the OP was supposed to edit the plain text file, not generate it using grub2-mkconfig. I’m afraid the generated file might now be gobbledygook.
These 2 commands are identical since /etc/grub2-efi.cfg is a link to /boot/grub2/grub.cfg.
The only difference I can tell may be related to using an atomic system (kinoite) and as already noted the grub2-mkconfig command is not used on atomic systems.