Unfortunately, this is not, in fact, one of the best ways to get rid of grub worms. Because grubs live in the soil, setting a trap like this may not be able to catch them. Additionally ...
Linux distros handle most GRUB installations automatically. GRUB is easy to configure when necessary. Excellent documentation, both from the GRUB project and various Linux distribution projects ...