Looking at the repos, the packages available and the man-pages - I think the older legacy version of grub is still available - as the grub-legacy package.
The default version of grub has been grub2 for a long time now.
Previously there were separate packages for all of the tools for grub and grub2.
All of the tools for grub V1 (grub legacy) used the
grub
prefix and the grub2 tools used the
grub2
prefix.
Now all of the grub related tools that used to use the
grub2
prefix e..g
grub2-mkrescue
appear to just use the
grub
prefix.
So the version of
grub-mkrescue
that you have installed IS the version for grub2. And I think it's been modified to work with grub-legacy, if grub-legacy is installed.
Which would mean that the tutorial you're following is perhaps a little out of date.
So I think that the actual solution to your problem is to either edit the makefile to use
grub-mkrescue
instead of
grub2-mkrescue
.
Or you could just create a symbolic link to
grub-mkrescue
called
grub2-mkrescue
.
e.g.
Bash:
sudo ln -sT /usr/bin/grub-mkrescue /usr/bin/grub2-mkrescue
That way any older makefiles that you have that use
grub2-mkrescue
will end up using
grub-mkrescue
via the sym-link.
Those are your options as I see it.
Additionally - it's worth noting that
grub-mkrescue
will silently fail if any of its optional dependencies are missing.
So for example, if you are trying to create a .iso rescue image - it will silently fail if you don't have GNU
xorriso
installed.
Also UEFI related operations will silently fail if the optional
mtools
package is not installed.
So I'd consider installing
mtools
and
xorriso
, if you don't already have them installed.