Now I get the following message when trying to start OS:
error:sparse file not allowed.
What changes are you trying to make compared to the original grub package?
upd: find GRUB error: sparse file not allowed - #6 by linux-aarhus
don’t pay attention.