I clamp the disc to the sprocket and drill the six holes, I have a drill press.
I also bought a couple of 40 T that had the holes pre-drilled and they fit perfectly.
As GW said you need longer 5 mm bolts, get the best ones you can find as these six little bolts hold the show together.