There are so many varieties of graters available in the market. Use the one you are familiar with. You can also amke small slices of the coconut and pulse it in a mixer grinder until you get the required size gratings.
Buy coconut which is fresh. When you shake the coconut, you should hear the water rolling inside. If you don’t hear any sound, then it is a very old coconut and it will not be good.